Compiz makes Xorg+NVIDIA use lots of CPU while screensaver active

Bug #422519 reported by Ignacy Gawędzki
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-173 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I'm using compiz with --indirect-rendering to avoid the black window bug with nvidia proprietary drivers (x86_64 version 173.14.20). When a screensaver activates (I checked both with gnome-screensaver and xscreensaver), Xorg eats approx. 70% CPU on an Athlon 64 3200+. I have the impression that this started since my dist-upgrade to Jaunty, but can't really be sure.

Sending SIGSTOP to compiz.real makes Xorg stop eating that much CPU, so it appears there's something wrong in the way compiz deals with the fullscreen window of the screensaver. I tried disabling every compiz plugin, I also tried toggling the "unredirect fullscreen windows" option, to no avail.

Of course, swithing off visual effects in appearance preferences makes Xorg behave correctly. It also seems that running compiz without --indirect-rendering makes Xorg behave correctly, but then the black window bug appears pretty quickly as I'm using Twinview on two 1600x1200 LCDs and my graphics card is a Quadro FX 500 with 128MB of ram.

I'm using Ubuntu 9.04 and AIGLX.

Tags: jaunty
affects: ubuntu → compiz (Ubuntu)
Revision history for this message
Travis Watkins (amaranth) wrote :

The only thing that changes in compiz when you use --indirect-rendering is that the direct argument to glXCreateContext is set to false instead of true. There must be something going on here with Xorg or the nvidia driver.

affects: compiz (Ubuntu) → linux-restricted-modules-2.6.24 (Ubuntu)
affects: linux-restricted-modules-2.6.24 (Ubuntu) → nvidia-graphics-drivers-173 (Ubuntu)
Bryce Harrington (bryce)
tags: added: jaunty
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Could test the current Ubuntu development version? It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http://www.ubuntu.com/testing/ . If you can test it, and it is still an issue, we would appreciate if you could upload updated logs by running apport-collect 422519

Jaunty 9.04 will be End Of Support (EOS) on 2010-10-23, so it is suggested that if you are still using this version, please upgrade your system. The latest development version, Maverick Meerkat, is now in the final week of testing before it is released as 10.10.

Thanks again and we appreciate your help.

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thank you for reporting this bug to Ubuntu. Jaunty 9.04 reached EOL on 2010-10-23.
Please see this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

If you can provide the information requested, please change the status above to "new"

Please feel free to report any other bugs you may find.

Changed in nvidia-graphics-drivers-173 (Ubuntu):
status: New → Incomplete
status: Incomplete → Invalid
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.