[i965gm] Compiz sometimes freezes X

Bug #356951 reported by Stuart Langridge
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
Unassigned
xserver-xorg-video-intel (Ubuntu)
Invalid
High
Unassigned

Bug Description

Binary package hint: compiz

Sometimes, my machine (Dell M1330, jaunty) will hang when doing some compiz-ish effect like switching virtual desktops or using the Scale plugin. The machine is totally unresponsive, and does not respond to ssh nor to ctrl-alt-delete; it must be powercycled to regain control. It does not happen all the time (or even most of the time) when using these effects, and so far the hang has only happened when using an effect (not when just using the machine).

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
MachineType: Dell Inc. XPS M1330
Package: compiz 1:0.8.2-0ubuntu5
PackageArchitecture: all
ProcCmdLine: root=UUID=b572742c-deea-43ec-92d3-b1d1e6b6802f ro quiet splash
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.28-11.38-generic
SourcePackage: compiz

[lspci]
00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 0c)
     Subsystem: Dell Device [1028:0209]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 0c)
     Subsystem: Dell Device [1028:0209]

Revision history for this message
Stuart Langridge (sil) wrote :
Changed in compiz (Ubuntu):
assignee: nobody → canonical-ubuntu-platform
Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :

Thank you for the bug report. In regards to ssh, when you get the freeze, can you ssh into it via an Ethernet cable?

Changed in compiz (Ubuntu):
assignee: canonical-ubuntu-platform → nobody
Revision history for this message
Robbie Williamson (robbiew) wrote :

I'd also suggest making sure you are up-to-date with the latest Beta packages by running 'sudo update-manager -d', as I noticed your kernel was downlevel by a few versions at #38.

Pete Graner (pgraner)
Changed in compiz (Ubuntu):
assignee: nobody → apw
importance: Undecided → High
milestone: none → ubuntu-9.04
status: New → Confirmed
Andy Whitcroft (apw)
Changed in linux (Ubuntu):
assignee: nobody → apw
status: New → In Progress
importance: Undecided → High
milestone: none → ubuntu-9.04
Changed in compiz (Ubuntu):
assignee: apw → nobody
Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :

appears that the bug is in the xorg stack, not compiz per se

Changed in compiz (Ubuntu):
status: Confirmed → Invalid
Bryce Harrington (bryce)
affects: compiz (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Changed in xserver-xorg-video-intel (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Bryce Harrington (bryce) wrote :

I've cataloged all -intel freezes currently open against jaunty, in this table:

  https://wiki.ubuntu.com/X/Bugs/IntelDriver

From this data, it appears there was a regression in the i965 code recently. It is not clear to me if it is due to a problem in the kernel, in -intel, or somewhere else...

Revision history for this message
Bryce Harrington (bryce) wrote :

I upgraded my i965 today (last upgraded a couple weeks ago, and has not had freezes) and within a couple hours was able to get "the freeze".

Revision history for this message
Bryce Harrington (bryce) wrote :

After analyzing all the changes that came with my upload, I identified the mesa 7.3 -> 7.4 upgrade as the most likely culprit. Indeed, after reverting this, I've had no freezes for >24 hrs.

I would be interested in hearing your experience with downgrading mesa to 7.3.

Revision history for this message
Bryce Harrington (bryce) wrote :

After running 7.3 for some time I found I still have freezes. Over 5 days I had 2 freezes with 7.3. After switching back to 7.4 I had 3 freezes in a period of 12 hours. In all cases, the freezes came when I was using the machine (i.e., not when idle).

Stuart, are you still seeing the freezes? What frequency do you see them? What version of mesa do you have installed? If you disabled compiz, does that make the freezes go away, or have you still experienced any?

Another suggestion is to add this to your Device section in xorg.conf:

  Option "EXAOptimizeMigration" "off"

Purportedly, this may help improve performance too, but we need further testing to verify that.

Revision history for this message
Stuart Langridge (sil) wrote :

I have since upgraded to the latest Jaunty packages (as requested above), and, so far (touch wood) I have not had a freeze at all. I shall update this bug if I get any!

Bryce Harrington (bryce)
summary: - Compiz sometimes hangs the machine
+ Compiz sometimes freezes X
Bryce Harrington (bryce)
description: updated
Revision history for this message
Bryce Harrington (bryce) wrote : Re: Compiz sometimes freezes X

We have a PPA with some new tools for debugging X freezes:

  https://launchpad.net/~ubuntu-x-swat/+archive/x-freeze-test

I know how irritating X freezes can be. They're also typically
quite hard to debug, but the information provided by these new
tools should help upstream figure them out.

You can help by doing the following:

 A. Install the PPA packages on Jaunty and boot kernel 2.6.30-rc2
 B. Reproduce your freeze
 C. ssh into the machine and run the steps to collect the info
 D. Attach the tarball of the results to this bug report

With this information, we'll be able to forward your bug upstream.

(For more information on triaging X freeze bugs, see
 https://wiki.ubuntu.com/X/Troubleshooting/Freeze )

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → New
status: New → Incomplete
Bryce Harrington (bryce)
summary: - Compiz sometimes freezes X
+ [i965gm] Compiz sometimes freezes X
Bryce Harrington (bryce)
tags: added: freeze
tags: added: compiz
Revision history for this message
nloewen (nloewen) wrote :

I think I got this problem. I had a complete lock up and wasn't sure what to do so I hardbooted but now I can't even get to recovery mode. Is there any way I can get back on to retrive crash data? (and get my system going again)

Revision history for this message
nloewen (nloewen) wrote :

I got my system back up. Apport didn't even come up with anything so I'm not sure what went on.

Revision history for this message
bi-abba (l-epa-m-inonda) wrote :

And more often okular and dolphin doesn't refresh correctly "video data", when changing application view with alt+tab
---
ii okular 4:4.2.2-0ubunt document viewer for KDE 4
---
ii dolphin 4:4.2.2-0ubunt file manager for KDE 4
---
many black or white windows are shown instead correct data.

Revision history for this message
Bryce Harrington (bryce) wrote :

Please test the package in this PPA, which has a fix for X freeze issues like this one.

  https://edge.launchpad.net/~bryceharrington/+archive/green/

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Bryce Harrington (bryce) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
bi-abba (l-epa-m-inonda) wrote :

And with new kernel release, also scrolling mouse doesn't refresh correctly "video data":

uname -a
Linux Kubuntu904 2.6.28-14-generic #46-Ubuntu SMP Wed Jul 8 07:21:34 UTC 2009 i686 GNU/Linux

tags: added: patch
Andy Whitcroft (apw)
Changed in linux (Ubuntu):
assignee: Andy Whitcroft (apw) → nobody
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

adjusting from "In Progress" as Andy is no longer assigned.

~JFo

Changed in linux (Ubuntu):
status: In Progress → Triaged
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

This works fine nowadays, and Ubuntu 9.04 itself is end-of-lined. Ubuntu 10.04 LTS for example is solid with the same hardware.

Changed in linux (Ubuntu):
status: Triaged → Fix Released
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.