Page 1 of 1

[raiguard] [2.0.9] Crash when monitor resolution changes on Wayland (Wayland_GLES_SwapWindow)

Posted: Wed Oct 23, 2024 1:41 pm
by madkous
The game crashes for me consistently when I change my monitors PnP mode; the effect is to change the resolution for the machine running factorio between 5120x1440 and 2560x1440. The crash occurs regardless of the direction of the change and whether the game is full screen or not.

I'm running through sway 1.9-r1 and linux kernel 6.6.30.
Graphics card is AMD ATI Radeon RX 6850 XT.
Monitor is Samsung Odyssey Neo G9.

Follows is a representative log. The stack trace is consistent between crashes.

Code: Select all

/tmp/factorio-build-2f7ZlQ/libraries/SDL2/src/video/wayland/SDL_waylandopengles.c (129): Wayland_GLES_SwapWindow
/tmp/factorio-build-2f7ZlQ/src/Graphics/OpenGL/GraphicsInterfaceOpenGL.cpp (275): GraphicsInterfaceOpenGL::swapBuffers()
/tmp/factorio-build-2f7ZlQ/src/Graphics/SDLWindow.cpp (382): SDLWindow::swap() const
factorio-current.log
(12.69 KiB) Downloaded 19 times
I'm happy to try to collect any more information that might be useful.

EDIT: I'm bad at searching. Pretty sure this is the same issue: viewtopic.php?f=182&t=116271

Re: [raiguard] [2.0.9] Crash when monitor resolution changes on Wayland (Wayland_GLES_SwapWindow)

Posted: Thu Jan 23, 2025 8:03 pm
by raiguard
Does this still occur? I cannot reproduce it.