Page 1 of 1

[1.0.0] Linux demo hangs on startup

Posted: Tue Aug 25, 2020 2:10 pm
by xarieque
I downloaded the 1.0 demo from the main page. This is on Arch, NVidia GTX 770 2GB VRAM, binary drivers. Starting the game produces console output ending with "Factorio initialized", after which nothing happens. I can hear the audio playing, but there is no UI. Breaking in from gdb shows the process waiting in poll <- glXSwapBuffers <- X11_GL_SwapWindow (gdb hangs at this point). The only suspicious thing in the log is "PA_CONTEXT_FAILED" immediately after OpenGL context initialization; that however seems to be related to the audio because it is not present when I launch with --disable-audio.

Re: [1.0.0] Linux demo hangs on startup

Posted: Tue Aug 25, 2020 8:23 pm
by xarieque
After more testing I found that the problem does not occur when running under the Cinnamon WM. I normally run ratpoison WM. Now, I can't just switch to Cinnamon, as I have not been able to make it behave the way I want (run all apps fullscreen, no titlebars, etc.), so I'd really like to know what factorio is doing that requires it and whether there is some workaround to be had. The one difference that comes to mind is that Cinnamon is a compositing WM, while ratpoison is not.

Re: [1.0.0] Linux demo hangs on startup

Posted: Wed Aug 26, 2020 4:31 pm
by xarieque
Ok, final update. It also runs under the i3 WM, which can be configured to work like ratpoison and is actually still maintained. So I've switched to i3, and this problem can be considered resolved.