Comments (6)
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.
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.
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.
from nimgame2.
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.
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.
Thanks!
from nimgame2.
Related Issues (20)
- Should we include a zip with all of the dynamic libraries? HOT 1
- What is the mosaic module? HOT 1
- Bounce game not compiling HOT 11
- How about using `system.deepcopy` instead of `entity.copy` HOT 1
- input.nim error when compiling any demo HOT 2
- Question about the structure of initialization HOT 2
- Type error after upgraded to nim v0.20.0 HOT 4
- Deprecation warning while compiling bounce tutorial game HOT 3
- GuiWidget actions doesn't respond to mouse clicks HOT 5
- Question: tilemap multiple layers HOT 1
- [QUESTION] is there any way to use shaders? HOT 2
- Compile error in devel branch HOT 2
- How does ng2 handles sprite batching? HOT 3
- nim CI failure: nimgame2\utils.nim(169, 31) Error: type mismatch: got <ptr RWops, ptr char, csize, int literal(1000)> HOT 4
- [question] Possible project that might rely on nimgame2 HOT 1
- [question] I am toying with the idea of making a Spry integration HOT 1
- nimble file should avoid @#head versions HOT 4
- Demo compilation error HOT 3
- Nimsuggest does not work HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nimgame2.