Created attachment 128819 [details]
error state batch buffer
For half a year I have been experiencing regular GPU hangs in my arch linux KDE4/Plasma installation on a Lenovo Thinkpad X1 Carbon 4th generation (2016).
It *only* happens when I am using libreoffice word processing software: While typing text, the computer would spontaneously freeze for 10-20 secs, input is interrupted but I can move the mouse, then a notification appears in the system tray reading
"KWin Window Manager
Desktop effects were restarted due to graphics reset.",
and then I can continue working.
(The notification is similar to this message: https://i.imgur.com/DSgAQBZ.png )
The hang occurs regularly every 2-5 minutes but only while using libreoffice.
Sometimes, about 1 in 10 cases, the mouse pointer freezes as well and the X-Server would crash after 10-20 seconds instead of recovering.
The bug has been persistent through diverse system updates I did during the last half year.
File with GPU error state attached.
Do you need additional information?
Thanks a lot.
Thank you for reporting this.
Some GPU Hangs in Xorg have been confirmed to be fixed by recent changes to xf86-video-intel. Can you please attempt to reproduce this using modesetting?
Thanks for this recommendation. I was indeed only using DRI2.
After installing xf86-video-intel, DRI3 was activated and I could not reproduce the hang.
So I consider the problem resolved! Thant's extremely cool, thanks!
(BTW: I don't really no what modesetting is and if activating DRI3 is already equivalent to "using modesetting" as you were writing. If I do
# cat /sys/module/i915/parameters/modeset
I still get -1. Dunno if this means anything ...)
Modesetting is an alternative to SNA, which causes the gpu hang that you experienced. Rather than updating xf86-video-intel, you could avoid using it by adding this X11 config file:
Identifier "Intel Graphics"
Option "AccelMethod" "glamor"
Option "DRI" "3"
*** This bug has been marked as a duplicate of bug 98999 ***
Not the same bug, this is in mesa.
Chris, please help me understand how this is a mesa bug if the originator fixed it by compiling latest xf86-video-intel.
Rainbert, can you please provide more information about your configuration? What version of xf86-video-intel is working for you?
If you switch to modesetting, does the bug reappear? Can you attach your xorg log from a session where the GPU hang occured?
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1560.