Git Product home page Git Product logo

Comments (6)

Von-Cheam avatar Von-Cheam commented on September 13, 2024 1

I found it pretty strange, too! Yeah; if I had to guess, my first guess would be something in SDL2 not playing nicely with Nvidia Linux drivers. (My drivers are pretty recent, I think, but, er, that doesn't exactly mean much, with Nvidia..)

Thanks for the tip - don't think the main loop is slowing down, as text-rendering doesn't seem to be affected, just textures, graphics primitives, etc.

Will let you know if I figure anything out - and in the mean time I'll stick to Intel graphics!

from nimgame2.

Vladar4 avatar Vladar4 commented on September 13, 2024

And I assume the source code wasn't modified in any way?
This is odd behavior indeed, never encountered such occurrence before. The data on your system might help though it would be pretty had to debug if I couldn't recreate this myself.

from nimgame2.

Von-Cheam avatar Von-Cheam commented on September 13, 2024

Yeah, the source wasn't touched at all - I just installed via Nimble (tried both devel and head branches.)

I'm uploading some system info - if there's any other system data that might help, I'd be happy to let you know.

system_info.txt

from nimgame2.

Von-Cheam avatar Von-Cheam commented on September 13, 2024

Well, er, this is embarrassing! Have been trying to progressively change/disable things, to try and figure out what's going on; changing from the Nvidia video card to onboard Intel graphics fixed the problem. Why that should be the case, I have no idea, but I think we could probably close this now, unless you want me to investigate further or anything?

from nimgame2.

Vladar4 avatar Vladar4 commented on September 13, 2024

Thanks for the info!

Honestly, right now I have no idea of what could have cause this bizarre behavior, especially considering that I've been developing the engine on nvidia-powered machine for a long time, before switching to AMD last year. Do you think it could be a driver-related issue?

In any case, please let me know if you figure it out in the future.
One of the points of testing might be the update call in main loop: https://github.com/Vladar4/nimgame2/blob/master/nimgame2/nimgame.nim#L433 , e.g. is it slows down as well, or the issue is purely render-related.

from nimgame2.

Vladar4 avatar Vladar4 commented on September 13, 2024

Thanks!

from nimgame2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.