Lucid845gAnd855gmGpuFreezes

845G and 855GM freezes

This page is about the GPU hangs/freezes that occurs in Karmic on 845G and 855GM and possible resolutions for Lucid.

Checklist for bug reports

  • Does it happen on the login screen? gdm or kdm?
  • Does it happen when desktop effects/compositing is turned off?
  • Does it help to use the kernel option acpi=off?
  • Does it help to use the kernel option nomodeset?
  • Get batchbuffer dumps with xorg-edgers and xorg.conf option DebugFlushCaches

Identifying the bad commit

It seems that upstream requires us to find out when the freezes started to happen. Jaunty may be a good platform for testing this.

  • Does it work with Jaunty?
  • Does it freeze if I install the 2.6.31 kernel in Jaunty?
  • Do the freezes stop again if I then downgrade the intel driver to 2.4.x?

If the answer to all these questions are yes, there was a change in the intel driver after 2.4.x that made the freezes happen. The freezes weren't noticed until a change in the kernel between 2.6.30 and 2.6.31. Identifying these two changes would greatly help in resolving this bug.

To identify the driver change, run Jaunty with a 2.6.31 kernel where the freezes are present. Check the intel driver source code out from git. Use git-bisect and build different drivers and mark good and bad versions.

To identify the kernel change, run stock Jaunty and check out the kernel source code from git. Use git-bisect to identify good and bad versions.

How to install the 2.6.31 kernel in Jaunty

  • Go to http://kernel.ubuntu.com/~kernel-ppa/mainline/ and into v2.6.31-rc3/ and download the file linux-image-2.6.31-020631rc3-generic_2.6.31-020631rc3_i386.deb (this is the first 2.6.31 kernel available for i386).

  • Install the package with dpkg -i linux-image-2.6.31-020631rc3-generic_2.6.31-020631rc3_i386.deb

  • Reboot. Test if it freezes.
  • Verify that you run the right kernel with uname -a. Normally the newest kernel will be started by default. If you have other kernels installed (they install side-by-side), you may need to choose the right kernel from the Grub boot menu (Esc at boot to show the menu).

  • Remove the kernel with dpkg -p linux-image-2.6.31-020631rc3-generic_2.6.31-020631rc3_i386.deb

  • You may also want to try the 2.6.30.10 kernel to verify that the freezes do not occur with this.

There is some more informaiton about the mainline builds at MainlineBuilds.

How to install a 2.4.x -intel driver in Jaunty

Option AccelMethod "UXA"

to the Device section of xorg.conf. The default in Jaunty is

Option AccelMethod "EXA"

845G reports

Name

Bug #

Upstream bug #

Works on Jaunty

Upgrading to kernel
2.6.31-rc3 triggers bug

Downgrading to -intel
2.4.1 helps again

jerrylamos

420594

Adam J. Lincoln

456902

24825

Daniel Richard G.

484020

Kamalakar Agashe

466310

David Kelly

485338

2late

496275

855GM reports

Name

Bug #

Upstream bug #

Works on Jaunty

Upgrading to kernel
2.6.31-rc3 triggers bug

Downgrading to -intel
2.4.1 helps again

kalessin

447892

24789

Willem Ligtenberg

476817

Irihapeti

477256

Pierre Monlong

477972

25086

Daniel Kamm

484412

phran

496187

X/Lucid845gAnd855gmGpuFreezes (last edited 2009-12-25 20:00:25 by gomyhr)