Comment 93 for bug 195051

Revision history for this message
Bryce Harrington (bryce) wrote : Re: X freezes in drmCommandWrite() when Compiz is enabled on ATI Radeon Mobility 9600

Based on the description of the symptoms, it sounds like (at least for some reporters) this might be caused by an incorrect AGPMode setting, which is used when DRI is enabled. If you're seeing a hang, you should test if changing this makes the issue go away. In your /etc/X11/xorg.conf set AGPMode to various values like this:

Section "Device"
   ...
   Option "AGPMode" "2"
EndSection

Possible values include 1, 2, 4, 8. You can see what it's currently set to by looking in /var/log/Xorg.0.log. It's worthwhile to test all four values even once you find one that works. If this takes care of it for you, we may be able to establish a quirk to set it for your hardware combo, if you can provide the following data:

  * AGPMode value(s) that work
  * Make/Model of laptop or motherboard
  * Output of lspci -vvnn
  * Is the system all factory hardware, or have any parts been replaced?
  * Is there an AGP Mode in the system BIOS?
    - If so, is it set to the factory default?

For more details on this, please see the "ATI AGP Mode Quirk" section at https://wiki.ubuntu.com/X/Quirks