Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 319199

Summary: x11-drivers/xf86-video-intel: hung gpu
Product: Gentoo Linux Reporter: Krzysztof Pawlik (RETIRED) <nelchael>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED NEEDINFO    
Severity: normal CC: guillaume, mirimiri66
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.freedesktop.org/show_bug.cgi?id=28311
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: xorg.conf
x-hang-1
x-hang-2

Description Krzysztof Pawlik (RETIRED) gentoo-dev 2010-05-10 19:35:13 UTC
I started to get X server hangs lately:

[ 13911.806] [mi] EQ overflowing. The server is probably stuck in an infinite loop.
[ 13911.806] 
Backtrace:
[ 13912.181] 0: /usr/bin/X (xorg_backtrace+0x28) [0x45e058]
[ 13912.181] 1: /usr/bin/X (mieqEnqueue+0x1eb) [0x459e5b]
[ 13912.182] 2: /usr/bin/X (xf86PostMotionEventP+0xc8) [0x47ed98]
[ 13912.182] 3: /usr/bin/X (xf86PostMotionEvent+0xa9) [0x47ef59]
[ 13912.182] 4: /usr/lib/xorg/modules/input/synaptics_drv.so (0x7f2884f8d000+0x3a18) [0x7f2884f90a18]
[ 13912.182] 5: /usr/lib/xorg/modules/input/synaptics_drv.so (0x7f2884f8d000+0x5dc8) [0x7f2884f92dc8]
[ 13912.182] 6: /usr/bin/X (0x400000+0x7d447) [0x47d447]
[ 13912.182] 7: /usr/bin/X (0x400000+0x10cd59) [0x50cd59]
[ 13912.182] 8: /lib/libpthread.so.0 (0x7f2886d04000+0xf120) [0x7f2886d13120]
[ 13912.182] 9: /lib/libc.so.6 (ioctl+0x7) [0x7f288547a6a7]
[ 13912.182] 10: /usr/lib/libdrm_intel.so.1 (0x7f2883c8b000+0x55ed) [0x7f2883c905ed]
[ 13912.182] 11: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f2883e96000+0x12f08) [0x7f2883ea8f08]
[ 13912.182] 12: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f2883e96000+0x14927) [0x7f2883eaa927]
[ 13912.182] 13: /usr/bin/X (0x400000+0x12b729) [0x52b729]
[ 13912.182] 14: /usr/bin/X (0x400000+0x124270) [0x524270]
[ 13912.182] 15: /usr/bin/X (BlockHandler+0x4b) [0x42522b]
[ 13912.182] 16: /usr/bin/X (WaitForSomething+0x141) [0x462cf1]
[ 13912.182] 17: /usr/bin/X (0x400000+0x40cc2) [0x440cc2]
[ 13912.182] 18: /usr/bin/X (0x400000+0x24db5) [0x424db5]
[ 13912.182] 19: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f28853cfbbd]
[ 13912.182] 20: /usr/bin/X (0x400000+0x24969) [0x424969]

This is from today - usually happens once per week, sometimes more often (not more than once per day). I have following packages installed:

 - x11-base/xorg-server-1.8.0
 - x11-drivers/xf86-video-intel-2.11.0
 - sys-kernel/vanilla-sources-2.6.34_rc6 (currently running)

As suggested by Rémi in bug #263057 I'll try downgrading intel driver to <2.11.0 and run for awhile.

If it would be of any help I can attach two full Xorg.0.log (from two separate crashes).
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2010-05-12 06:48:40 UTC
Please attach your xorg.conf, Xorg.0.log and dmesg output _after_ the lockup.

Thanks
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-05-12 17:19:45 UTC
Created attachment 231249 [details]
xorg.conf

My /etc/X11/xorg.conf
Comment 3 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-05-12 17:20:23 UTC
Created attachment 231251 [details]
x-hang-1

Xorg.0.log showing first hang.
Comment 4 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-05-12 17:20:41 UTC
Created attachment 231253 [details]
x-hang-2

Xorg.0.log showing second hang.
Comment 5 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-05-12 17:22:00 UTC
In both cases dmesg was clean. FYI: after downgrading to x11-drivers/xf86-video-intel-2.10.0-r1 the hang didn't happen yet (I've downgraded 2 days ago).
Comment 6 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-05-16 22:15:39 UTC
So far, so good - a week on x11-drivers/xf86-video-intel-2.10.0-r1 without a hang. I'm quite positive that it's driver issue with 2.11.0.
Comment 7 Guillaume Ayoub 2010-05-23 18:14:35 UTC
Same error here, X freezes about once or twice a day with 2.11.

2.10-r1 does not suffer that bug. I’m trying to find something about this bug on various websites…
Comment 8 Guillaume Ayoub 2010-05-26 12:23:03 UTC
After spending some time on different forums, I didn’t find anything related to this bug.

No such problem seems to be reported on the freedesktop bugzilla, do I need to report it?
Comment 9 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-05-26 18:07:21 UTC
Guillaume: I didn't find any specific reports either. If you can reliably reproduce it or have any more information then opening upstream bug sounds like a good idea. The errors that we have in Xorg log are a quite generic sign of driver issues - we're still missing at least a tip about what's happening.
Comment 10 Rémi Cardona (RETIRED) gentoo-dev 2010-05-26 18:49:28 UTC
(In reply to comment #9)
> Guillaume: I didn't find any specific reports either. If you can reliably
> reproduce it or have any more information then opening upstream bug sounds like
> a good idea. The errors that we have in Xorg log are a quite generic sign of
> driver issues - we're still missing at least a tip about what's happening.

Sorry for letting this fall through the cracks.

Please do file bugs upstream [1] and paste the URL here so I can track the issue. It's the only way to get it fixed properly.

Thanks and sorry again for the long-awaited reply.

[1] http://intellinuxgraphics.org/how_to_report_bug.html
Comment 11 Guillaume Ayoub 2010-05-26 19:53:08 UTC
I’ll report it as soon as I have the bug (it happend once today, trying to make it happen once again).

I’m trying to reproduce it, but each time there’s no hint about the cause. Creating a lot of windows, for example, doesn’t help. The frequency seems to be random: I sometimes can use X for 2 or 3 days without relaunching it, but I sometimes get it just 30 minutes after a cold boot.

I tried twice to get the log, but there was no trace about it in Xorg.log (no backtrace, no weird error reported). I’ll give a look to dmesg and Xorg.log next time.

Just to be sure we talk about the same bug, here is some information:
- Happens with kernel 2.6.34-rc* and final. Didn’t try with 2.6.33.
- Happens with xorg-server 1.8.0 and 1.8.1.
- Happens with xf86-video-intel 2.11, but does not happen with 2.10.
- After the bug, the whole system freezes. No way to switch to a VT, no way to trigger caps lock, no way to move the mouse cursor. Hardware reboot is needed.

This bug is not related to bug 320055 (X segfaults and reboots, does not freeze the system, only with xorg-server 1.8.1). It is not related to any bug reported on the freedesktop bugzilla, AFAIK.

Rémy: No problem with your late answer, I can give any information needed.

Krzysztof: I hope that we suffer the same bug, even if my logs are different. Can you confirm that your whole system freezes too?
Comment 12 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-05-26 20:00:35 UTC
Guillaume: Yes, I agree - it looks like exactly the same bug, I get exactly the same symptoms.
Comment 13 Guillaume Ayoub 2010-05-29 12:59:26 UTC
I *finally* managed to reproduce the bug. Unfortunately, no trace in Xorg.log nor dmesg.

I created a bug on the freedesktop bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=28311 . The status of the gentoo bug may be changed.

The bug appeared this time when hibernating the laptop. After a good time dealing with this bug, I think that it happens quite often (about half of the time) just before the screensaver appears (and when hibernating too, as for me it locks the screen and launches the screensaver). Of course, I then tried to launch the screensaver about 100 times in a row, with no success reproducing the bug.

Krzysztof: if you have some traces of the bug in dmesg, could you give them upstream please? I’m sorry, but I definetely don’t manage to get any single interesting log for this bug. Thank you!
Comment 14 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-05-29 13:43:42 UTC
Guillaume: Awesome! Thank you for your help with this. I don't have any useful logs either unfortunately (apart from Xorg log).