SimonN / LixD

Lix: Lemmings-like game with puzzles, editor, multiplayer
https://www.lixgame.com
132 stars 16 forks source link

Laptop sleep may affect VRAM drawing #416

Open SimonN opened 3 years ago

SimonN commented 3 years ago

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 commented 3 years ago

Flopsy's laptop runs Windows 10 with Intel graphics.