Bug 17701

Summary: [945GM] X server lockup on resume
Product: xorg Reporter: Priit Laes (irc: plaes) <plaes>
Component: Driver/intelAssignee: Jesse Barnes <jbarnes>
Status: RESOLVED WONTFIX QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: undersys
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 18858    
Attachments:
Description Flags
Xorg.0.log none

Description Priit Laes (irc: plaes) 2008-09-21 14:50:33 UTC
amd64
Mesa 7.2
Xorg-server-1.5.0
xf86-video-intel-2.4.2

Getting following lockup on resume:

[snip]
(II) AIGLX: Loaded and initialized /usr/lib64/dri/i915_dri.so
(II) GLX: Initialized DRI GL provider for screen 0
(II) intel(0): Setting screen physical size to 246 x 185
Error in I830WaitLpRing(), timeout for 2 seconds
pgetbl_ctl: 0x3ffc0001 getbl_err: 0x00000000
ipeir: 0x00000000 iphdr: 0x0a216465
LP ring tail: 0x0001fff0 head: 0x00000000 len: 0x0001f001 start 0x00000000
eir: 0x0000 esr: 0x0000 emr: 0xffff
instdone: 0xffc1 instpm: 0x0000
memmode: 0x0000010f instps: 0x002014ca
hwstam: 0xfffe ier: 0x0002 imr: 0x0000 iir: 0x00a0
Ring at virtual 0x7faaec591000 head 0x0 tail 0x1fff0 count 32764
Ring at virtual 0x7faaec591000 head 0x0 tail 0x1fff0 count 32764
Ring at virtual 0x7faaec591000 head 0x0 tail 0x1fff0 count 32764
Ring at virtual 0x7faaec591000 head 0x0 tail 0x1fff0 count 32764
Ring at virtual 0x7faaec591000 head 0x0 tail 0x1fff0 count 32764
        0001ff0c: 00c00000      Reserved 01                              1
        0001ff10: 54f00006      XY_SRC_COPY_BLT                          8
        0001ff14: 03cc1000
... skipping ...
        0001ffe8: 00000010
        0001ffec: 00c00000
        0001fff0: 00000000      MI_NOOP                                  1
        0001fff4: 00000000      MI_NOOP                                  1
        0001fff8: 00000000      MI_NOOP                                  1
        0001fffc: 00000000      MI_NOOP                                  1
Ring end
space: 8 wanted 32
(II) intel(0): [drm] removed 1 reserved context for kernel
(II) intel(0): [drm] unmapping 8192 bytes of SAREA 0x1efff000 at 0x7fab006a5000
(II) intel(0): [drm] Closed DRM master.

Fatal server error:
lockup

(II) AIGLX: Suspending AIGLX clients for VT switch

Backtrace:
0: /usr/bin/X(xf86SigHandler+0x65) [0x482615]
1: /lib/libc.so.6 [0x7faafe4442c0]
2: /usr/lib64/xorg/modules/extensions//libdri.so(DRILock+0xab) [0x7faafd4d5c6b]
3: /usr/lib64/xorg/modules/drivers//intel_drv.so [0x7faafd064357]
4: /usr/bin/X(AbortDDX+0x89) [0x468809]
5: /usr/bin/X(AbortServer+0x18) [0x4f6538]
6: /usr/bin/X(FatalError+0xd5) [0x4f6ba5]
7: /usr/lib64/xorg/modules/drivers//intel_drv.so(I830WaitLpRing+0x1f1) [0x7faafd056b61]
8: /usr/lib64/xorg/modules/drivers//intel_drv.so [0x7faafd07d83f]
9: /usr/lib64/xorg/modules//libexa.so(exaFillRegionTiled+0x3a5) [0x7faafc5987f5]
10: /usr/lib64/xorg/modules//libexa.so [0x7faafc598d3f]
11: /usr/bin/X [0x52d826]
12: /usr/bin/X(miPaintWindow+0x1fd) [0x4cd27d]
13: /usr/bin/X(miWindowExposures+0x132) [0x4cd5d2]
14: /usr/lib64/xorg/modules/extensions//libdri.so(DRIWindowExposures+0x8d) [0x7faafd4d4bbd]
15: /usr/bin/X [0x489e60]
16: /usr/bin/X(MapWindow+0x2a9) [0x4387c9]
17: /usr/bin/X(main+0x409) [0x433379]
18: /lib/libc.so.6(__libc_start_main+0xe6) [0x7faafe430486]
19: /usr/bin/X(FontFileCompleteXLFD+0x269) [0x4327a9]

FatalError re-entered, aborting
Caught signal 11.  Server aborting
Comment 1 Priit Laes (irc: plaes) 2008-09-21 14:51:37 UTC
Created attachment 19074 [details]
Xorg.0.log
Comment 2 Priit Laes (irc: plaes) 2008-09-30 10:14:40 UTC
I updated to latest git of drm/mesa/xorg-server/xf86-intel and now get a nice hang on suspend.
Comment 3 brendan 2008-10-16 16:19:55 UTC
Can Reproduce this issue consistently.
When i suspend to ram or disk this error will occur every time on coming out of resume.


Using the following :-

Mesa 7.1
Xorg-server-1.5.1
xf86-video-intel-2.4.2-r2
Comment 4 Priit Laes (irc: plaes) 2008-10-24 03:49:12 UTC
Found the cause - disabling uvesafb got the suspend working again :)
Comment 5 Priit Laes (irc: plaes) 2008-10-24 03:50:17 UTC
Sorry for spam, but unfortunately activated wrong button.
Comment 6 Gordon Jin 2008-12-04 23:17:59 UTC
Does disable DRI help?
Comment 7 brendan 2008-12-05 16:22:10 UTC
Disabling DRI did not help.

I resolved my issue by removing UVESAFB and the user space linker for it.
Now using VESAFB and the xf86-video-intel drivers.

No issues now.
Comment 8 Jesse Barnes 2008-12-18 13:17:20 UTC
Thanks for narrowing it down...  I don't think anyone wants to fix bugs that involve *two* userland 2D drivers. :)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.