Moving windows is slow / uses all CPU

Bug #179348 reported by Daniel Hahler
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
X.Org X server
Invalid
Undecided
Unassigned
nvidia-graphics-drivers-180 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: xorg

Moving a window causes Xorg to eat all available CPU on my system.

The CPU is not only used up by Xorg, but also kwin or some other processes involved in the window movement (e.g. in Gnome gnome-terminal used the other big part of it).

REPRODUCE:
1. Open a terminal/konsole, run top therein
2. Open another terminal
3. Grab it at the title bar and slowly move it around, so that it gets constantly moved

EXPECTED RESULT:
CPU usage should not increase notably.

ACTUAL RESULT:
CPU usage is 100%.

CPU: AMD64 3000+
Graphic card: Nvidia 6600GT
Desktop resolution: 1920x1200
Kubuntu/Ubuntu Hardy

This happens both with the nv and nvidia drivers.
This also happens, without any xorg.conf (moved away; uses nv driver then IIRC).

I've tried the workaround posted at bug 88815 (building libx11 without xcb), but the result was the same (I confirmed that libxcb was not linked into /usr/lib/libX11.so.6 anymore with the new package).

The same happens with Kubuntu Gutsy in a VirtualBox, where I've tried using valgrind/callgrind to debug X, but did not manage to do so.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Please attach your xorg.conf and Xorg.0.log.

I can't reproduce it with Hardy (Nvidia 8600GT, GNOME).

Changed in xorg:
status: New → Incomplete
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Closing as I cannot reproduce it and no information provided to help debugging.

Changed in xorg:
status: Incomplete → Invalid
Revision history for this message
Daniel Hahler (blueyed) wrote :

Re-opening: I've said that it happens without any xorg.conf file.. I'm attaching my Xorg.0.log.

Please note: with the CONFIG_FAIR_USER_SCHED setting currently in Hardy's kernel, Xorg gets 50% CPU (run by root), the other slices go to the programs involved in the window movement (which get redrawn).

Changed in xorg:
status: Invalid → New
Revision history for this message
Daniel Hahler (blueyed) wrote :

Please note: GLX is currently broken with the nvidia-glx-new drivers, but I'm not using compiz or kwin's desktop effects currently.

Revision history for this message
Pavol Klačanský (pavolzetor-deactivatedaccount) wrote :

i have same problem, i have Hardy 8.04 lastest alfa version, glx is broken (now before updates glx run)
CPU 500 MHz
RAM 384 MB
GPU geforce 2 64 MB ti

in ubuntu FF problem is smallest

Revision history for this message
Jonathan Ernst (jonathan.ernst) wrote :

I have the same issue using an ATI GPU (with any driver).

I hadn't this issue in Gutsy

Bryce Harrington (bryce)
Changed in xserver-xorg-video-nv:
importance: Undecided → Low
status: New → Triaged
Bryce Harrington (bryce)
Changed in xorg-server:
status: New → Invalid
Revision history for this message
Fole (fole) wrote :

I have the same issue now in Intrepid but did not have it in Gutsy. I am using a 945GM graphics card on my Lenovo T60 notebook.
My computer has two processors, however the sound stucks when I move a window. In top I can see that the CPU usage for Xorg goes up to 100%. The CPU usage of the whole system is at 50% then - anyhow the sound stucks.
Compiz is turned off completely.

Attached you can find my xorg.conf and xorg.0.log.

florian@florian-laptop:~$ lspci -nn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)

Should you need any further information, please let me know.

Revision history for this message
Fole (fole) wrote :
Revision history for this message
Fole (fole) wrote :

Since this bug does not only affect NVidia, I set status for X.Org X Server back to New.

Changed in xorg-server:
status: Invalid → New
Revision history for this message
Fole (fole) wrote :
Revision history for this message
Nicle (ynicle-debian) wrote :

I meet the same problem in Hardy and Intrepid. When moving the window, the Xorg will eat about 50% CPU .

Bryce Harrington (bryce)
Changed in xorg-server:
status: New → Invalid
Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automated message]

In Jaunty (9.04), we are dropping the nvidia-graphics-drivers-177 package, which
is now superseded by then nvidia-graphics-drivers-180 package.

  http://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-180

To transition your bug into the new package, we need your help. Please do the following:

 a. Verify the bug occurs in Jaunty with the -180 driver
     (ISOs: http://cdimage.ubuntu.com/releases/jaunty/)
 b. If you haven't already, please include in the bug:
     * Your /var/log/Xorg.0.log
     * Your /etc/X11/xorg.conf
     * The output of `lspci -vvnn`
     * Steps to reproduce the issue
 c. Under Affects, click the down arrow to the left of 'nvidia-graphics-drivers-177'
 d. Edit the Package to change 'nvidia-graphics-drivers-177' to 'nvidia-graphics-drivers-180'
 e. Click Save Changes

Thank you!

[We'll expire the remaining -177 bugs in a month or so.]

Daniel Hahler (blueyed)
Changed in nvidia-graphics-drivers-180:
importance: Low → Medium
Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automated message]

In Jaunty (9.04), we have just updated to the latest
nvidia-graphics-drivers-180 package from nVidia, version 180.44.

This package provides fixes for a large number of bugs, and we need your
assistance in testing if it fixes the issue you reported.

To do this, please do the following:

 a. Update to the 180.44 version of -nvidia using your favorite update
     method

 b. Attempt to reproduce your bug

 c. If your bug still remains, please simply reply to this email
     indicating so.

 d. If your bug is now solved, you can help us by setting your bug
     report to Fix Released:
     * In launchpad, go to your bug report
     * Click on the downward pointing arrow under Status
     * Set the Status field to 'Fix Released'
     * Comment on the change, such as, 'Verified fixed in 180.44'
     * Click 'Save Changes'

 e. If the original problem is solved but there are now other problems,
     please close the original bug and open new ones for those issues.

Thank you!

For details on the changes in this version of -nvidia, please see:

   http://www.nvidia.com/object/linux_display_ia32_180.44.html

Changed in nvidia-graphics-drivers-180 (Ubuntu):
status: Triaged → Invalid
status: Invalid → Triaged
Revision history for this message
Bryce Harrington (bryce) wrote :

I've posted a new version of the -nvidia driver to our xorg-edgers PPA,
would you mind testing it either on Jaunty or Karmic and see if it
resolves this bug?

Get nvidia-graphics-drivers-180 - 185.18.14 here:

  https://edge.launchpad.net/~xorg-edgers/+archive/ppa

Changed in nvidia-graphics-drivers-180 (Ubuntu):
status: Triaged → 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 nvidia-graphics-drivers-180 (Ubuntu):
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.