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

Laptop sleep may affect VRAM drawing #416

Open
SimonN opened this issue Feb 28, 2021 · 1 comment
Open

Laptop sleep may affect VRAM drawing #416

SimonN opened this issue Feb 28, 2021 · 1 comment

Comments

@SimonN
Copy link
Owner

SimonN commented Feb 28, 2021

Lix 0.9.36 on Windows.

Flopsy played a multiplayer session with me. He is red. Whe he was platforming over the porcupine, he accidentally hit F1 on his Windows laptop, which sends the laptop to sleep mode. Flopsy immediately exited sleep mode, and saw the game again. All this this happened within 2 seconds.

For the rest of the game, Flopsy saw wrong graphics, but had correct physics, i.e., physics did not desync. In the wrong graphics, over the porcupine where the cursor is, there is a hole in the red bridge. This hole is exactly one platformer brick wide. In the correct physics, there is no hole here, the platform is continuous.

Graphics are in VRAM. It's possible that the VRAM write failed without feedback while the Windows laptop was sleeping, or while the laptop went to sleep mode.

Wrong graphics, correct physics: https://imgur.com/R87KBWY
Correct graphics, correct physics: http://www.lixgame.com/etc/no-hole-in-red-bridge.png

My replay of that round: 2021-02-27-191558-Simon-5p.txt

@SimonN
Copy link
Owner Author

SimonN commented Feb 28, 2021

Flopsy's laptop runs Windows 10 with Intel graphics.

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

1 participant