If I don't launch Factorio with optirun or primusrun and just use the integrated graphics, it works fine, if slowly. Trying to run on the dedicated GPU, Factorio doesn't open a window. It immediately segfaults. I get no logs of any kind, no messages, nothing but two lines in dmesg:
Code: Select all
[ 5875.898529] factorio[32871]: segfault at 0 ip 0000000001ee04c0 sp 00007ffdb1f49258 error 6 in factorio[400000+2335000] likely on CPU 3 (core 1, socket 0)
[ 5875.898558] 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
This has been happening to me for at least six months or so. I've tried to debug it off and on, but always gave up because I couldn't find any logs. Somehow I didn't think to check dmesg until now. However, it did work before I installed Manjaro. Odd thing is, I was using another Arch distro before, either KDE Neon or Garuda. Both times the drivers were set up by mhwd.
I think this is more related to my specific system than Factorio, but I have no clue where to look next. Any hints would be much appreciated.
The only thing I could find was an offhand mention of adding PRIMUS_UPLOAD=1 to my command line invocation, but that gave absolutely no change.