[xf86-video-intel] Xserver lockup when running OpenGL applications

Leandro leandro.lupori at gmail.com
Tue Jan 8 12:15:16 PST 2008


I'm trying to run Vmware with 3D support, but it crashes right on the
beginning (receives signal 11). X don't lockup in this case. Another
problem, easier to reproduce, that I believe that is related to this,
is running glxgears: after less than a second it's window freezes and
the keyboard stops answering. After some 3 more seconds the mouse also
stops answering, and after some more seconds the screen gets messed
up, with random colors, mostly gray, and then I need to reboot. Ctrl +
Alt + Del works, however.

I'm on a Pentium 4 with an "Intel Corporation 82915G/GV/910GL
Integrated Graphics Controller". I'm using DRM lib, DRM kernel
modules, Mesa, Xserver and Xf86-video-intel,  all from git master.

>From Xorg.0.log:
...
Error in I830WaitLpRing(), timeout for 2 seconds
pgetbl_ctl: 0x1ffc0001 pgetbl_err: 0x0
ipeir: 0 iphdr: 43365714
LP ring tail: 17fb8 head: 17c68 len: 1f001 start 0
eir: 0 esr: 1 emr: ffff
instdone: ffc1 instpm: 0
memmode: 108 instps: 800f0040
hwstam: effe ier: 82 imr: 8 iir: 1070
Ring at virtual 0xa78fa000 head 0x17c68 tail 0x17fb8 count 212
...
Ring end
space: 130216 wanted 131064
(II) intel(0): [drm] removed 1 reserved context for kernel
(II) intel(0): [drm] unmapping 8192 bytes of SAREA 0xde8fc000 at 0xb7a2f000
(II) intel(0): [drm] Closed DRM master.

Fatal server error:
lockup

(II) AIGLX: Suspending AIGLX clients for VT switch

Backtrace:
0: X(xf86SigHandler+0x7b) [0x80b977b]
1: [0xb7f16420]
2: /usr/lib/xorg/modules/drivers//intel_drv.so [0xb7a6726c]
3: X [0x80cdaf9]
4: /usr/lib/xorg/modules/extensions//libglx.so [0xb7af7e19]
5: X(AbortDDX+0x82) [0x809efe2]
6: X(AbortServer+0x28) [0x8131568]
7: X(FatalError+0x67) [0x8131a87]
8: /usr/lib/xorg/modules/drivers//intel_drv.so(I830WaitLpRing+0x15d)
[0xb7a5c4cd]
9: /usr/lib/xorg/modules/drivers//intel_drv.so(I830Sync+0x109) [0xb7a5c729]
10: /usr/lib/xorg/modules/drivers//intel_drv.so [0xb7a7a95a]
11: /usr/lib/xorg/modules//libexa.so(exaWaitSync+0x7a) [0xb793db6a]
12: /usr/lib/xorg/modules//libexa.so(ExaDoPrepareAccess+0x9b) [0xb793ea5b]
13: /usr/lib/xorg/modules//libexa.so(exaPrepareAccessReg+0x6b) [0xb793ebcb]
14: /usr/lib/xorg/modules//libexa.so [0xb793fa13]
15: X [0x816a036]
16: X [0x816b48d]
17: X(doImageText+0x1cb) [0x808768b]
18: X(ImageText+0x74) [0x8087824]
19: X(ProcImageText8+0x10b) [0x8081ddb]
20: X [0x814caee]
21: X(Dispatch+0x2e0) [0x8084970]
22: X(main+0x47c) [0x806b48c]
23: /lib/libc.so.6(__libc_start_main+0xd8) [0xb7b62808]
24: X(FontFileCompleteXLFD+0x91) [0x806a891]

FatalError re-entered, aborting
Caught signal 11.  Server aborting


I also tried the DRM, i915tex-compat branch + Mesa, 7.0 branch +
Xserver, server-1.4 branch + xf86-video-intel, xvmc-i915 or
textured-video branch combination, among others, and:
- With i915tex_dri I get "I830 VBlank Pipe Setup failed 0" errors and
Vmware crashes (receives signal 11);
- Glxgears works with i915_dri. However, I'm trying to run Vmware with
3D support, that needs GL_EXT_framebuffer_object extension and Direct
Rendering, only available on most recent versions of Mesa, for i915,
so the video drivers must be recent too.

Some other (maybe) useful notes:
- With 'Option "PageFlip" "true"' X takes more time to lockup, about
30 seconds, and Vmware only crashes when I try to use DirectX.
- With XAA the problem is the same, but I got a lot of graphical
errors, in 2D and 3D.
- Everything works well with Direct Rendering off, but then I have no
video acceleration and thus no Vmware 3D support.

I attached the xorg.conf and Xorg.0.log files.

Any help or suggestion of how I can find out what's going on is welcome!

Leandro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xorg.conf
Type: application/octet-stream
Size: 2442 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080108/f7883114/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log
Type: application/octet-stream
Size: 23918 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080108/f7883114/attachment-0001.obj>


More information about the xorg mailing list