compiz refreshes infrequently and doesn't redraw window contents after suspend/resume, screensaver or full-screen applications.

Bug #225858 reported by Yashka Oreza
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: compiz

When desktop effects are enabled and I suspend and resume my computer, compiz slows down all operations and CPU usage of the compiz.real process shoots up to 50-60%. Compiz does not crash, and compiz works fine from the time I enable it until the suspend/resume event.

During the slowdown, no windows are updated in response to program activity or mouse click, but they DO register the clicks after 1-2 seconds - the response is never visible until I kill compiz. However, new windows DO appear (slowly) and they show their initial contents without corruption.

Killing compiz.real or running compiz --replace immediately restores normal function.

OS: 8.04 32-bit
Version: compiz 1:0.7.4-0ubuntu6
Hardware: Toshiba Portege M200 (nvidia GeForce Go 5200)

This is probably not enough information, but I'm unsure how to proceed.
I've checked xorg.log and tried running compiz in a terminal to catch any errors, but I haven't found anything obviously linked to the problem.

Revision history for this message
Yashka Oreza (yashka) wrote :

I have determined that this is not dependent on any plugin - if the compiz core is loaded, this problem occurs. It also occurs with the latest kernel.

Revision history for this message
Phaedrus (camerons-web) wrote :

I get this problem also. The above description is accurate for my computer, also.

I'm running the i386 Intrepid stream on a dual core 64bit athlon, with an nvidia 6200-based graphics card.

My compiz version is 1:0.7.8-0ubuntu4, and I've also got fusion, emerald, and some other plugins installed.
Xorg is version 1:7.4~5ubuntu3 (xorg-core 2:1.5.2-2ubuntu3).

Revision history for this message
levien (levien) wrote :

I get the same problems on my system, a quad-core AMD Phenom with an nVidia GeForce 8200 (rev a2) chipset, running Intrepid Ibex 8.10 amd64 and version 177 of the nvidia driver.

Additional information:
The problems also seem to occur after the screen has just been blanked by the (default) screensaver, without going to standby or suspend (also the monitor stays on). After coming back from the screensaver, redraws and effects are slow as hell, and window contents is no longer updated properly. Events such as mouseclicks and keyboard input continue to be registered by applications, but because nothing is updated it appears as though the system hangs. Switching off desktop effects or restarting compiz.real restores behaviour back to normal.

At first I thought it was caused by the Wobbly Windows plugin, because after disabling the plugin everything seemed to work fine again. However, this was only temporary because after the next screensaver blank the problems returned, though in a slightly different way (redraws only failed for newly opened windows this time). Changing other plugin settings did not seem to help.

There were no errors reported in the Xorg logfile or in /var/log/messages.
I haven't tried reverting to version 173 of the nvidia driver yet.

Revision history for this message
levien (levien) wrote :

The compiz redraw-problems seem to pop up every time an application tries to use the full screen. That's why the screensaver triggered it in my case, but I also get the same issues when I try to view a full-screen image. So it seems to be the same problem that is described here: http://www.nvnews.net/vbulletin/showthread.php?t=122336

Reverting to version 173 of the nvidia driver seemed to resolve this particular issue for me, although I didn't test very well because this driver messed up scrolling in most applications, making it impossible to work. Updating the nvidia driver to the current stable release (180.22, taken from https://launchpad.net/%7Emythbuntu-trunk-0.22/+archive/ppa) also seemed to solve the problem, but caused stability issues on my system. (These were possibly interrupt-related, after a while my USB devices tended to lock up, or the entire X.org just crashed or hung for no apparent reason.)
So I switched back to the default 177.82 nvidia driver and upgraded compiz to the latest git-snapshot (0.7.9-git20080918, following http://ubuntuforums.org/showthread.php?t=971379). This seems to cause the least problems so far. There are still some annoying window-update issues when I open a lot of windows, but other than that everything works as it should with desktop-effects switched on.

I guess this bug is a combined problem of the current compiz-fusion (0.7.8) and the nvidia 177.82 driver in Intrepid, as updating either seems to make it go away...

Revision history for this message
Andrew Fister (andrewfister) wrote :

The bug as posted by the OP is not applicable directly necessarily to the comments by levien, and may be considered to be not a deuplicate bug.

This is because the bug that this bug is referred to as a duplicate of refers to a graphics card that can use the 177+ nvidia drivers. Also, often the solution to that bug seems often to be downgrading to the 173 series driver.

However, the OP posted specifically about a bug for a graphics card that is *unable* to use the 177+ drivers! I have the exact same graphics driver, and I have the exact same problem, and solutions relative to the 177+ drivers are unapplicable to me, or the OP. So, this bug should not be marked as duplicate.

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.