[i845g] X11 locks up when enabling kwin compositing on 845G

Bug #510830 reported by lykwydchykyn
This bug report is a duplicate of:  Bug #541492: MASTER: [i845] GPU lockup. Edit Remove
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xf86-video-intel
Unknown
Medium
xserver-xorg-video-intel (Ubuntu)
Triaged
High
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

Using Lucid with latest updates 1/20/10. Graphics chip is intel 845G in a Dell GX60.
In KDE, enabling compositing under System Settings causes X to freeze up. System does not respond to anything except alt+sysrq commands.

After reboot, X freezes during user login, presumably when Kwin is being started but that's just a guess (it locks about 3/4 of the way
through the login splash animation).

ProblemType: Bug
Architecture: i386
CurrentDmesg:
 [ 23.263671] ppdev: user-space parallel port driver
 [ 28.060015] eth0: no IPv6 routers present
Date: Thu Jan 21 13:34:36 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Xubuntu 9.10 "Karmic Koala" - Release i386 (20091028.3)
Lsusb:
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 002: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Computer Corporation OptiPlex GX60
Package: xserver-xorg-video-intel 2:2.9.1-1ubuntu1
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-11-generic root=UUID=2dd1c926-1c4f-42ad-9bb0-a86bd0adb63b ro nosetmode
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.32-11.15-generic
RelatedPackageVersions:
 xserver-xorg 1:7.5+1ubuntu1
 libgl1-mesa-glx 7.7-0ubuntu8
 libdrm2 2.4.17-0ubuntu1
 xserver-xorg-video-intel 2:2.9.1-1ubuntu1
 xserver-xorg-video-ati 1:6.12.99+git20091125.0061c4db-0ubuntu2
SourcePackage: xserver-xorg-video-intel
Uname: Linux 2.6.32-11-generic i686
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
Xrandr: Error: command ['xrandr', '--verbose'] failed with exit code 1: Can't open display
dmi.bios.date: 11/15/2004
dmi.bios.vendor: Dell Computer Corporation
dmi.bios.version: A09
dmi.board.name: 06P791
dmi.board.vendor: Dell Computer Corp.
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Computer Corporation
dmi.modalias: dmi:bvnDellComputerCorporation:bvrA09:bd11/15/2004:svnDellComputerCorporation:pnOptiPlexGX60:pvr:rvnDellComputerCorp.:rn06P791:rvr:cvnDellComputerCorporation:ct3:cvr:
dmi.product.name: OptiPlex GX60
dmi.sys.vendor: Dell Computer Corporation
fglrx: Not loaded
glxinfo: Error: [Errno 2] No such file or directory
setxkbmap: Error: command ['setxkbmap', '-print'] failed with exit code 255: Cannot open display "default display"
system:
 distro: Ubuntu
 architecture: i686kernel: 2.6.32-11-generic
xdpyinfo: Error: command ['xdpyinfo'] failed with exit code 1: xdpyinfo: unable to open display "".
xkbcomp:
 Error: command ['xkbcomp', ':0', '-w0', '-'] failed with exit code 1: No protocol specified
 Error: Cannot open display ":0"
                   Exiting

[lspci]
00:02.0 VGA compatible controller [0300]: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device [8086:2562] (rev 01)
     Subsystem: Dell Device [1028:013a]

Revision history for this message
lykwydchykyn (me-alandmoore) wrote :
Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

Thank you for reporting this bug, lykwydchykyn. Your problem sounds like a GPU hang (freeze). You can verify this by checking the symptoms on https://wiki.ubuntu.com/X/Troubleshooting/Freeze . On that page there is also a recipe for how to generate a batchbuffer dump, which we need for this kind of bug. In order to help the intel developers upstream, it would be nice if you could generate the batchbuffer dump using the xorg-edgers PPA [1] and the 2.6.33-rc5 (or newer) mainline kernel ([2], see also [3]). Note that with this version it is helpful if you can use the DebugFlushCaches option described on the Freeze wiki page.

I should note that we already have quite a few bug reports for hangs like this on 845G on Karmic, but since this is the first we get from Lucid we have the possibility to get some debug information that hasn't been available from the other reports. A list of other bug reports:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bugs?field.tag=845g%20freeze&field.tags_combinator=ALL

[1]: https://launchpad.net/~xorg-edgers/+archive/ppa
[2]: http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.33-rc5/
[3]: https://wiki.ubuntu.com/KernelTeam/MainlineBuilds

summary: - X11 locks up when enabling kwin compositing on 845G
+ [i845G] X11 locks up when enabling kwin compositing on 845G
tags: added: 845g
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Incomplete
Revision history for this message
In , Geir Ove Myhr (gomyhr) wrote :

Forwarding a bug from Ubuntu user lykwydchykyn:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/510830

[Problem]
Display freezes during the KDE login process. GPU hung and batchbuffer dump attached.Bug was originally reported for Ubuntu Lucid which has kernel 2.6.32 and intel driver 2.9.1, but the bachbuffer dump and log here are from kernel 2.6.33-rc5 and new git-snapshots of xorg from xorg-edgers.

[Original report]
Using Ubuntu Lucid (10.04) with latest updates 1/20/10. Graphics chip is intel 845G in a Dell GX60.
In KDE, enabling compositing under System Settings causes X to freeze up. System does not respond to anything except alt+sysrq commands.

After reboot, X freezes during user login, presumably when Kwin is being started but that's just a guess (it locks about 3/4 of the way
through the login splash animation).

[Automatic info from original report]
ProblemType: Bug
Architecture: i386
Date: Thu Jan 21 13:34:36 2010
DistroRelease: Ubuntu 10.04
MachineType: Dell Computer Corporation OptiPlex GX60
Package: xserver-xorg-video-intel 2:2.9.1-1ubuntu1
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-11-generic root=UUID=2dd1c926-1c4f-42ad-9bb0-a86bd0adb63b ro nosetmode
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.32-11.15-generic
RelatedPackageVersions:
 xserver-xorg 1:7.5+1ubuntu1
 libgl1-mesa-glx 7.7-0ubuntu8
 libdrm2 2.4.17-0ubuntu1
 xserver-xorg-video-intel 2:2.9.1-1ubuntu1
 xserver-xorg-video-ati 1:6.12.99+git20091125.0061c4db-0ubuntu2
SourcePackage: xserver-xorg-video-intel
Uname: Linux 2.6.32-11-generic i686
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
Xrandr: Error: command ['xrandr', '--verbose'] failed with exit code 1: Can't open display
dmi.bios.date: 11/15/2004
dmi.bios.vendor: Dell Computer Corporation
dmi.bios.version: A09
dmi.board.name: 06P791
dmi.board.vendor: Dell Computer Corp.
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Computer Corporation
dmi.modalias: dmi:bvnDellComputerCorporation:bvrA09:bd11/15/2004:svnDellComputerCorporation:pnOptiPlexGX60:pvr:rvnDellComputerCorp.:rn06P791:rvr:cvnDellComputerCorporation:ct3:cvr:
dmi.product.name: OptiPlex GX60
dmi.sys.vendor: Dell Computer Corporation
fglrx: Not loaded
glxinfo: Error: [Errno 2] No such file or directory
setxkbmap: Error: command ['setxkbmap', '-print'] failed with exit code 255: Cannot open display "default display"
system:
 distro: Ubuntu
 architecture: i686kernel: 2.6.32-11-generic

Revision history for this message
In , Geir Ove Myhr (gomyhr) wrote :

Created an attachment (id=32814)
Batchbuffer dump with DebugFlushCaches set

Revision history for this message
In , Geir Ove Myhr (gomyhr) wrote :

Created an attachment (id=32815)
dmesg output

Revision history for this message
In , Geir Ove Myhr (gomyhr) wrote :

Created an attachment (id=32816)
Xorg.0.log

Revision history for this message
In , Geir Ove Myhr (gomyhr) wrote :

Created an attachment (id=32817)
Output of lspci -vvnn

Revision history for this message
lykwydchykyn (me-alandmoore) wrote :

I hope I did this properly; got an error about debugfs already being mounted, but otherwise the process went without error.

This is the dump using xorg-edgers and the updated mainline kernel. Would it be useful to have a dump from lucid default packages as well? I made one just in case.

Geir Ove Myhr (gomyhr)
Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → High
Changed in xserver-xorg-video-intel:
status: Unknown → Confirmed
Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

I have forwarded your bug report upstream to the intel developers: https://bugs.freedesktop.org/show_bug.cgi?id=26229 . Please get a user account at https://bugs.freedesktop.org/ and add yourself to the CC-field of that report, so that you can answer any questions the upstream developers might have. One that they might have is whether you still get a freeze if you disable kwin compositing. You may answer that upstream before they ask if you want (but I understand that disabling it when it freezes before you're logged in can be challenging, using the vesa driver or tweaking some configuration file may be a possibility).

The debugfs error message should be harmless. Actually, I hadn't notice that mount command first in the batchbuffer dump recipe before. It can probably be removed, but I don't know if some systems don't have it mounted by default.

I don't know if the standard Lucid batchbuffer dump would be useful. But probably wouldn't hurt if you upload it to the upstream bug report.

Note: the "nosetmode" kernel option that you are using is ignored. You probably meant to use the option "nomodeset" at some point, but for this bug report, it is good that you didn't use it.

Bryce Harrington (bryce)
description: updated
Bryce Harrington (bryce)
tags: added: kubuntu
Bryce Harrington (bryce)
summary: - [i845G] X11 locks up when enabling kwin compositing on 845G
+ [i845] [i845G] X11 locks up when enabling kwin compositing on 845G
Bryce Harrington (bryce)
summary: - [i845] [i845G] X11 locks up when enabling kwin compositing on 845G
+ [i845g] X11 locks up when enabling kwin compositing on 845G
Revision history for this message
In , Chris Wilson (ickle) wrote :

Spontaneous lockup on i845, I wonder what that reminds me of...

Sadly the dump is afflicted by the usual post-hang-check lack of batch buffer information, so I can't say for sure that is a true dup, but it is so similarly to several of the reported cases, that I suspect it is one and the same bug.

*** This bug has been marked as a duplicate of bug 26345 ***

Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

lykwydchykyn, there is a patched version of xserver-xorg-video-intel in my standard PPA: https://launchpad.net/~gomyhr/+archive/standard . This fixes one problem which leads to freezes on 845G. There are probably remaining bugs that causes freezes, but it would be nice to get some feedback on whether the PPA version improves the situation and how much.

Changed in xserver-xorg-video-intel:
status: Confirmed → Invalid
Revision history for this message
Chris Halse Rogers (raof) wrote :

Ok! Ladies and Gentlemen! Chris Wilson of upstream fame has done some work to re-integrate a legacy driver for the Intel cards that have been hard done by in the GEM transition.

The xserver-xorg-video-intel packages in https://edge.launchpad.net/~raof/+archive/aubergine have a GEM-less legacy driver re-integrated which is activated when KMS is disabled - which it is by default on your card for Lucid.

It would be useful if you could remove any work-arounds you've used to get your system more stable and test the drivers from this PPA. They should hopefully end up slightly more stable than the drivers in Ubuntu 9.04 (Jaunty), which were the last set of drivers to not use the GEM memory manager, and so significantly more stable than the drivers in Ubuntu 9.10 and Ubuntu 10.04 (Karmic and Maverick).

Could you please test the drivers from this PPA and report your experiences with them?

Changed in xserver-xorg-video-intel (Ubuntu):
assignee: nobody → Chris Halse Rogers (raof)
Changed in xserver-xorg-video-intel:
importance: Unknown → Medium
status: Invalid → Unknown
Revision history for this message
Chris Halse Rogers (raof) wrote :

I'm unassigning myself from this bug; I've got the needed feedback for Maverick, and we've gone with the safe option of fbdev.

I'll leave this bug open; there's still a reasonable chance we can get a proper fix, and apparently some i8xx documentation has just been released.

Changed in xserver-xorg-video-intel (Ubuntu):
assignee: Chris Halse Rogers (raof) → nobody
Revision history for this message
Bryce Harrington (bryce) wrote :

There's a general problem with 8xx bugs, I'm going to dupe this to the master bug for those issues for tracking purposes.
The fix for it will be fairly all encompassing so I don't think we'll need individual bug reports on separate instances of 845 issues.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.