R61i with intel gm965 freezes frequently

Hi, my sister told me her nice Thinkpad R61i (Intel GM965/GL960 graphics, Intel PRO/Wireless 3945ABG) had several problems since I installed opensuse11 a few months ago. Most are minor issues, some function keys are not working, wireless networking does not perform very well and so on. The issue I want to address here is that the system tends to freeze on an hourly basis (or so). She merely uses standard applications like OpenOffice, Thunderbird, Kopete and Skype and has dealt exceedingly patient with that problem even though she needs her laptop for university.
Long story short: We swapped laptops and I was at least able to reproduce the symptoms of her disease but with a program she never uses: googleearth. The only thing I have to do to crash the system, both in KDE 3.5 and KDE 4.1, is to open e.g. the “global thinking” menu in ge and change the width of the left panel shortly after. Then the screen shows black for less than a second and the desktop shows up again but is not responding at all. Ctrl+Alt+(2x)Backspace does not work, Ctrl+Alt+F2 neither. I can’t even access the machine via ssh. Only by pressing the power button for a few seconds or using magic Alt+SysRQ stuff I can shutdown or reboot the system which works properly after the X server terminates.

/var/log/messages:

 kdm[2611]: X server for display :0 terminated unexpectedly

Broadcast message from root (Mon Oct 13 06:13:13 2008):

The system is going down for system halt NOW!

As it seems to have something to do with X I had a look at /var/log/Xorg.0.log.old and it stated:

(WW) intel(0): ESR is 0x00000001
(WW) intel(0): PRB0_CTL (0x0001f001) indicates ring buffer enabled
(WW) intel(0): PRB0_HEAD (0x0361a4b8) and PRB0_TAIL (0x0001d9d8) indicate ring buffer not flushed
(WW) intel(0): Existing errors found in hardware state.

Well, I think Xorg.log wanted to tell me that I won’t be able to solve this problem. So I googled and after reading a couple of posts on several distributions I came to the conclusion that it might be a good idea to install a new xorg-x11-driver-video package from the X11 repo. After doing that I was unable to start an X-server at all. So I finally downgraded and found myself right back at the starting point. Can anyone give me a hint?

I jave exactly the same problem here (same entries in the Xorg.0.log).

There seems to be an upstream bug about it.

https://bugs.freedesktop.org/show_bug.cgi?id=17930

David

Thanks for that link. Obviously it’s not exactly my problem. They are at least able to move their mousecursor but my system freezes entirely. And I never tried to rotate anything. I searched bugs.freedesktop.org and found this bug, which resembles my problem very well: https://bugs.freedesktop.org/show_bug.cgi?id=15541. So maybe, I’ll really have to fiddle about a new X-server.
Meanwhile I found out that opensuse also freezes when an openGL screesaver is running. So I changed my screensaver to blackscreen to have one problem less.

I set Option “ModeDebug” “true” in xorg.conf and got the following output in xorg.0.log


Error in I830WaitLpRing(), timeout for 2 seconds
pgetbl_ctl: 0x7ff80001 pgetbl_err: 0x00000000
ipeir: 0x00000000 iphdr: 0x78010004
LP ring tail: 0x0000d650 head: b1f0 len: 0x0001f001 start 0x00000000
Err ID (eir): 0x00000000
Err Status (esr): 0x00000001
Err Mask (emr): 0xffffffdf
instdone: 0x3a2462fd instdone_1: 0x000bfff0
instpm: 0x00000000
memmode: 0x00000000 instps: 0x8001e02d
HW Status mask (hwstam): 0xfffedffe
IRQ enable (ier): 0x000000a2 imr: 0xfffe0000 iir: 0x00000050
acthd: 0x0347d594 dma_fadd_p: 0x0347d680
ecoskpd: 0x00000307 excc: 0x00000000
cache_mode: 0x00006800/0x00000180
mi_arb_state: 0x00000044
IA_VERTICES_COUNT_QW 0x00000000/0x00000000
IA_PRIMITIVES_COUNT_QW 0x00000000/0x00000000
VS_INVOCATION_COUNT_QW 0x00000000/0x00000000
GS_INVOCATION_COUNT_QW 0x00000000/0x00000000
GS_PRIMITIVES_COUNT_QW 0x00000000/0x00000000
CL_INVOCATION_COUNT_QW 0x00000000/0x00000000
CL_PRIMITIVES_COUNT_QW 0x00000000/0x00000000
PS_INVOCATION_COUNT_QW 0x00000000/0x00000000
PS_DEPTH_COUNT_QW 0x00000000/0x00000000
WIZ_CTL 0x00000000
TS_CTL 0x00000000  TS_DEBUG_DATA 0xf3ac1dff
TD_CTL 0x00000000 / 0x00000000
space: 121752 wanted 131064
(II) intel(0): [drm] removed 1 reserved context for kernel
(II) intel(0): [drm] unmapping 8192 bytes of SAREA 0xf8f00000 at 0xb7fec000
(II) intel(0): [drm] Closed DRM master.

Fatal server error:
lockup


Backtrace:
0: /usr/bin/Xorg(xf86SigHandler+0x7e) [0x80d3bce]
1: [0xffffe400]
2: /usr/bin/Xorg(XkbRemoveResourceClient+0xc9) [0x8198e79]
3: /usr/bin/Xorg [0x80860ba]
4: /usr/bin/Xorg(CloseDownDevices+0x30) [0x8086320]
5: /usr/bin/Xorg(AbortServer+0x23) [0x81c9b93]
6: /usr/bin/Xorg(FatalError+0x63) [0x81ca1a3]
7: /usr/lib/xorg/modules//drivers/intel_drv.so(I830WaitLpRing+0x1d1) [0xb7b96b21]
8: /usr/lib/xorg/modules//drivers/intel_drv.so(I830Sync+0x1a5) [0xb7b96f05]
9: /usr/lib/xorg/modules//libxaa.so [0xb79f3752]
10: /usr/lib/xorg/modules//libxaa.so(XAACopyArea+0xf7) [0xb79f4a67]
11: /usr/lib/xorg/modules//libxaa.so [0xb7a3676a]
12: /usr/bin/Xorg [0x81797a6]
13: /usr/bin/Xorg(ProcCopyArea+0x1a6) [0x808c0b6]
14: /usr/bin/Xorg [0x8156b44]
15: /usr/bin/Xorg(Dispatch+0x31c) [0x808e0fc]
16: /usr/bin/Xorg(main+0x4b5) [0x8074295]
17: /lib/libc.so.6(__libc_start_main+0xe5) [0xb7d4e5f5]
18: /usr/bin/Xorg(FontFileCompleteXLFD+0x225) [0x8073581]

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

Can someone give advice?

I have the same problem with a Compaq 6710b laptop (Intel GM965 chipset) running OpenSUSE 11.0. The system sometimes completely freezes in OpenGL applications. Tried with both KDE 4.0.4 and 4.1.2, with the same results.

If OpenGL is not used, the system is perfectly stable (not even a stability problem noticed in 2 months of fairly continuous use). But any OpenGL application can freeze it in a few minutes.

Stefan.

There are two patterns I’ve seen:

  1. The screen turns black for an instant, then the image reappears with the mouse frozen and the system unresponsive to any keys (though occasional hard drive activity may occur).

In this situation, xorg.0.log.old reads on the next restart at the very end:

(WW) intel(0): ESR is 0x00000001
(WW) intel(0): PRB0_CTL (0x0001f001) indicates ring buffer enabled
(WW) intel(0): PRB0_HEAD (0x06a1fff8) and PRB0_TAIL (0x00000048) indicate ring buffer not flushed
(WW) intel(0): Existing errors found in hardware state.

  1. The OpenGL application simply freezes, but the mouse can still be moved on the screen. Just as in case 1, system is unresponsive to any keys and occasional hard drive activity may still occur.

In this case, xorg.0.log.old contains, on the next restart, thousands of the following messages at the end:

mieqEnequeue: out-of-order valuator event; dropping.
tossed event which came in late

The two patterns alternate randomly, with the second being more frequent (at least for the OpenGL applications I’m using).

I’ve also tried updating the kernel to 2.6.27 rc3 (to see whether the latest version of the DRM Intel driver fixes the issue). The symptoms look exactly the same.

The other things to try is to update MESA and 2D intel drivers and see whether it fixes anything (didn’t get to that yet).

Stefan.

I have no problems with my R61e in the areas you describe.

I managed to solve the problem.

I have installed a later version of the MESA library, version 7.2 from:

Index of /repositories/X11:/XOrg/openSUSE_11.0

Then all OpenGL applications stopped working completely, complaining they could not find the correct visual. After digging around for a while, I noticed an error message from AIGLX in the log complaining about a missing dependency in the Intel DRI driver. So I upgraded to the latest version of Xorg and then everything started working fine. So the DRI driver included in OpenSUSE 11.0 was to blame, and the version shipped with MESA 7.2 is the right one.

So, if anybody experiences the same symptoms, the solution is to update MESA to 7.2 and all Xorg packages to the latest versions (some 4.1.x, some 4.2.x at this time) from the OpenSUSE build service (the link above). As a sidenote, Yast won’t complain that the latest version of MESA requires a later version of Xorg, you need to manually force the update of all packages to the version in the build service.

Stefan.

Stefan, I’m happy you found a solution. Unfortunately it does not work for me. As the problem no longer exists in openSUSE11.1 beta 3 (and Kubuntu 8.10 beta) I’ll wait for the final release.

I’m sorry to hear that. I was hoping what I did would be useful for you too. :frowning:

It is true that I didn’t uninstall the new 2.6.27-rc3 kernel either (my first try was the kernel upgrade, which by itself didn’t solve it), but maybe that is also needed to produce the results… Hell knows…

Anyway, it’s good to hear that OpenSUSE 11.1 solves the problem for you too. :slight_smile:

Best regards,
Stefan.