Window often doesn't update after first frame unless the window is resized #14810
Unanswered
jcarvajal288
asked this question in
Q&A
Replies: 2 comments 2 replies
-
It seems to have something to do with Wayland. I haven't seen the problem yet on X11. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am having the same issue (am also on wayland, though not sure if that is the reason). It only happens on my laptop though, on my PC it works fine everytime (I have arch on both with pretty much identical configs). Only difference is my laptop is using NVIDEA GPU and intel CPU (also laptop is just worse in terms of performance). @jcarvajal288 did you figure out why this is happening? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A recurring problem I'm having is that when I run the game I'm making, it often (but not always) only shows the first frame. The game progresses while it's frozen like this, but it doesn't show any update until I resize the window, after which it catches up to where the game should be at that point.
I'm unsure what part of my code is responsible for this, but it happened more frequently after I added another Update system on top of my FixedUpdate system. Here's my main function if it helps:
And here's a link to the full code: https://github.com/jcarvajal288/snake
Any idea what the problem could be?
Beta Was this translation helpful? Give feedback.
All reactions