XServer frequently freezes for a few seconds
Submitted by Alexander Richardson
Assigned to Default DRI bug account
The XServer randomly freezes for a few seconds or sometimes even 1-2 minutes. I cannot move the mouse, and the screen does not update.
I have a HD4850 card running on a 3.12.6-1.g080d0df-desktop SMP PREEMPT x86_64 kernel with Mesa 10.0.1 (both from openSuSE packages). These freezes also happen with the default 3.11 kernel, I upgraded in the hope of it being fixed, but the issue is still present.
These issues started after the upgrade to openSuSE 13.1 which has a 3.11 kernel instead of the previous 3.7 kernel. The Mesa version did not change, I was always running the latest released version. My guess is it has something to do with the r600 kernel changes in 3.8+.
During these freeze periods I can ssh into my system and top shows no CPU usage, so the XServer seems to be sleeping instead of being in a busy loop. dmesg gives me no messages and /var/log/XOrg.0.log is also empty.
I don't know how to get any more detailed logging output. If you provide me with the necessary environment variables/kernel parameters I will give you these logs.
Not sure if this helps, but most of the time the freeze happens when I open a new tab in firefox or switch to a different one. However it also happens at random intervals using other programs. It can sometimes take quite a long time until this freeze happens, however once it has occured once, it usually happens again after a short timespan (1-2 minutes or even less).
Is it possible to debug the XServer just like a normal program using gdb? If yes I will try to provide a useful backtrace once the next longer freeze happens