[Nouveau] Factorio (427520) - Segfault on startup.
System information
- OS: Guix System
- GPU: GeForce GTX 1660 Ti
- Kernel version: Faith Ekstrand's nvk branch @ b45193b
- Mesa version: On main branch (b6d3f666), but first bad commit noted below
- Desktop manager and compositor: KDE Plasma 6; kwin
Describe the issue
On affected mesa versions, attempting to launch Factorio on Steam always fails and the game exits before any window displays.
Other native Linux OpenGL games in my library seem to work fine; this is the only game I can reproduce the issue with.
Two messages (like the following) show up in dmesg
whenever this crash occurs:
[ 970.229690] factorio[5534]: segfault at 0 ip 0000000001ee04c0 sp 00007ffece7da318 error 6 in factorio[400000+2335000] likely on CPU 2 (core 2, socket 0)
[ 970.229700] Code: 00 00 00 48 89 e6 e8 2f c5 52 fe 48 69 04 24 00 ca 9a 3b 48 03 44 24 08 48 83 c4 18 c3 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 <49> 89 10 b8 03 00 00 00 c3 0f 1f 80 00 00 00 00 31 c0 c3 66 66 66
Regression
A git bisect has led to commit 50fc7cc2 as the culprit.