Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Noticable update event slow down, when laptop is disconnected from power #1389

Open
BeldrothTheGold opened this issue Dec 20, 2022 · 3 comments

Comments

@BeldrothTheGold
Copy link

Hello,

I noticed today when I disconnected my development laptop from power, game updates in my, very simple, Tetris clone slow down noticeably.

To confirm the issue is not with my game code, I tested this on the piston getting started tutorial code and see the same slowdown occurs there. Attached a GIF of what I am seeing. You can clearly see the slowdown when the laptop is disconnected from power, and then speeds up when reconnected shortly after.

Update Slowdown

This seems like it shouldn't be normal behavior, right?

@BeldrothTheGold
Copy link
Author

A similar example made using using Bevy engine, becomes noticeably less smooth when the laptop is disconnected from power, but it does not slow down.

V/R
Scott

@bvssvni
Copy link
Member

bvssvni commented Dec 22, 2022

Could it be a bug in the OpenGL driver?

@BeldrothTheGold
Copy link
Author

BeldrothTheGold commented Dec 22, 2022

To be clear the black artifacts seen in the gif are not present on my PC. What I'm seeing looks like a consistent decrease in the number of update events the game code is receiving from Piston when I unplug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants