Fixing stutters in Papers Please on Linux
blog.jhm.dev
Fixing stutters in Papers Please on Linux
1–10 of 202 posts
Re: Fixing stutters in Papers Please on Linux
#2https://github.com/spurious/SDL-mirror/commit/59728f9802c786...
Re: Fixing stutters in Papers Please on Linux
#3https://steamcommunity.com/app/333300/discussions/0/26463606...
Re: Fixing stutters in Papers Please on Linux
#4From the description of the problem (a freeze every 3 seconds) I knew exactly what it was. You can fix it by simply upgrading SDL as they fixed this bug 2 years ago. https://github.com/spurious/SDL-mirror/commit/59728f9802c786...
Are there more distros that allow you to do this?
Re: Fixing stutters in Papers Please on Linux
#5From the description of the problem (a freeze every 3 seconds) I knew exactly what it was. You can fix it by simply upgrading SDL as they fixed this bug 2 years ago. https://github.com/spurious/SDL-mirror/commit/59728f9802c786...
Re: Fixing stutters in Papers Please on Linux
#6From the description of the problem (a freeze every 3 seconds) I knew exactly what it was. You can fix it by simply upgrading SDL as they fixed this bug 2 years ago. https://github.com/spurious/SDL-mirror/commit/59728f9802c786...
Why is it even doing this on the main thread at all? The obvious thing would be to have a background thread polling for changes and then sending messages asynchronously to the main thread if a change actually occurred...
Re: Fixing stutters in Papers Please on Linux
#7Re: Fixing stutters in Papers Please on Linux
#8Re: Fixing stutters in Papers Please on Linux
#9From the description of the problem (a freeze every 3 seconds) I knew exactly what it was. You can fix it by simply upgrading SDL as they fixed this bug 2 years ago. https://github.com/spurious/SDL-mirror/commit/59728f9802c786...
Why is it even doing this on the main thread at all? The obvious thing would be to have a background thread polling for changes and then sending messages asynchronously to the main thread if a change actually occurred...
What should not be on your main thread is any long blocking compute, which is why rendering/game logic often goes to another thread - although simple games could easily be single-threaded.
Re: Fixing stutters in Papers Please on Linux
#10Why is the engine even checking input devices so often? Shouldn't the input device be registered via settings and then assumed to exist when the game runs? It seems wasteful to check all input devices every few seconds.