sysrq
Terrarian
Hey guys. I found a fix for a crash which happens periodically on Linux if you're using an Intel integrated graphics card.
You'll know if you're crashing because of this if your logs contain something like this:
Turns out it's a well known bug: https://github.com/OpenRA/OpenRA/issues/7277, https://github.com/mpv-player/mpv/issues/1177, https://bugs.freedesktop.org/show_bug.cgi?id=84372.
For me, the fix involved changing from the SNA driver (the default on ArchLinux) to the UXA driver, by adding this to /etc/X11/xorg.conf.d/20-intel.conf:
For some people changing from UXA -> SNA works (put "sna" instead), but one or the other will be buggy on your chipset it seems.
Not sure how common this is, but since I managed to find a solution (for now), it seemed worthwhile to post it here.
You'll know if you're crashing because of this if your logs contain something like this:
Code:
Failed to open BO for returned DRI2 buffer (1600x900, dri2 back buffer, named 9).
This is likely a bug in the X Server that will lead to a crash soon.
Turns out it's a well known bug: https://github.com/OpenRA/OpenRA/issues/7277, https://github.com/mpv-player/mpv/issues/1177, https://bugs.freedesktop.org/show_bug.cgi?id=84372.
For me, the fix involved changing from the SNA driver (the default on ArchLinux) to the UXA driver, by adding this to /etc/X11/xorg.conf.d/20-intel.conf:
Code:
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "uxa"
EndSection
For some people changing from UXA -> SNA works (put "sna" instead), but one or the other will be buggy on your chipset it seems.
Not sure how common this is, but since I managed to find a solution (for now), it seemed worthwhile to post it here.