Bug 9197 - Busy CPU makes compiz unresponsive
Summary: Busy CPU makes compiz unresponsive
Status: RESOLVED WORKSFORME
Alias: None
Product: xorg
Classification: Unclassified
Component: App/compiz (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: David Reveman
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-29 14:18 UTC by kronheim
Modified: 2009-02-03 12:24 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description kronheim 2006-11-29 14:18:00 UTC
Using most recent compiz (3.4) as well as earlier versions, under Ubuntu with
AIGLX and an nvidia card, with 9629 driver. 

Steps to reproduce:

1. Start a compiz session.
2. Open a terminal window and type "yes | gzip > /dev/null" to keep the CPU busy.
3. If you have more than one CPU or core, open up multiple terminal windows and
repeat step 2 the appropriate number of times, to keep all cores busy. Treat
hyperthreading CPU's as multiple cores for this purpose.
4. Now move the mouse, drag some windows etcetera

Actual results: the system is rather unresponsive, mouse movement is jerky,
dragging windows are updated maybe twice (?) per second.

Expected results: moving the mouse and dragging windows remains smooth, as
happens with other composite managers.

Hardware details: a Pentium-4 machine at 3 GHz, with a GeForce 6200 card and
256MB of video ram on the card.
Comment 1 Holger Bauer 2006-12-25 09:47:52 UTC
I can confirm this with the newer nvidia drivers 9746 and direct rendering too.
I use ubuntu edgy too.
Comment 2 Daniel Stone 2007-02-27 01:34:54 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 3 drago01 2007-03-11 03:49:22 UTC
start compiz with
__GL_YIELD=NOTHING /usr/bin/compiz --direct-rendering
and this should not happen.
if you have installed compiz in /usr/bin/
try adding this script to /usr/local/bin
#!/bin/bash
__GL_YIELD=NOTHING /usr/bin/compiz --direct-rendering $@
call it compiz and make it execulteablel
for me this solved this issue.
Comment 4 Nicolò Chieffo 2007-08-20 07:15:06 UTC
the  __GL_YIELD=NOTHING fix does not work for r300 video cards (radeon)
Comment 5 drago01 2007-08-20 07:18:12 UTC
(In reply to comment #4)
> the  __GL_YIELD=NOTHING fix does not work for r300 video cards (radeon)
> 

try running a 2.6.23 based kernel. the new cfs scheduler solved it for me without the need for the __GL_YIELD hack.
Comment 6 Kristian Lyngstøl 2009-02-03 12:24:36 UTC
Is this still relevant? I haven't had this issue on my r100, r300 or nVidia card in recent times... Feel free to re-open at bugs.opencompositing.org if relevant.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.