I'm not sure it's nvidia-glx-177 the problem.

It's more than one month I'm experiencing this, and hell if it is
annoying; I've got at least four users complaining! The system is barely
usable.

They have all iMac PPC64 G5 machines, with an nvidia card.

However, using a PPC machine, they can't use the binary nvidia drivers. 
Instead, the "nv" opensource driver is in use.
NOTICE: when the screen fades to black due to gnome-screensaver, the CPU goes 
back to normal. Logging in with something else other than GNOME doesn't hog the 
CPU, too.

Using gdb as per the https://wiki.ubuntu.com/X/Troubleshooting/HighCPU
guide, I see almost always the SmartScheduleStartTimer () function at
the top of the stack:

(gdb) bt full
#0  0x0f995874 in setitimer () from /lib/libc.so.6
No symbol table info available.
#1  0x1010b3dc in SmartScheduleStartTimer () at ../../os/utils.c:1236
        timer = {it_interval = {tv_sec = 0, tv_usec = 20000}, it_value = {
    tv_sec = 0, tv_usec = 20000}}
#2  0x10103ba4 in WaitForSomething (pClientsReady=0x103d7b40)
    at ../../os/WaitFor.c:232
        i = 0
        waittime = {tv_sec = 270467104, tv_usec = 270427012}
        wt = (struct timeval *) 0x101ecaf4
        timeout = <value optimized out>
        clientsReadable = {fds_bits = {0 <repeats 32 times>}}
        clientsWritable = {fds_bits = {18, 0, 18, 36, 0, 0, 272777608, 
    -956192, 270608992, 257411340, 272813256, -956128, 256982472, 257617456, 
    2359314, -956160, 257556312, 270608992, 273026680, -956144, 0, 272460784, 
    32, 0, 32, 270422968, 32, -956112, 269543400, 36, 273138440, 273133608}}
        curclient = <value optimized out>
        selecterr = 0
        nready = <value optimized out>
        devicesReadable = {fds_bits = {0 <repeats 32 times>}}
        now = <value optimized out>
        someReady = 0
#3  0x10048768 in Dispatch () at ../../dix/dispatch.c:367
        result = 0
        client = (ClientPtr) 0x1047b028
        nready = -1
        start_tick = 6420
#4  0x10028c88 in main (argc=10, argv=0xfff16d44, envp=0x10211110)
    at ../../dix/main.c:383
        i = 1
        alwaysCheckForInput = {0, 1}


Strace says:

Process 6828 attached - interrupt to quit
^CProcess 6828 detached
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 59.08    3.378467           6    549108           select
 40.84    2.335165           2   1098214           setitimer
  0.07    0.004228          11       368       184 read
  0.01    0.000345          10        35           writev
------ ----------- ----------- --------- --------- ----------------
100.00    5.718205               1647725       184 total

** Also affects: xserver-xorg-video-nv (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: gnome-session (Ubuntu)
   Importance: Undecided
       Status: New

-- 
xorg eating 100% of CPU after upgrading to gnome 2.25.5
https://bugs.launchpad.net/bugs/319813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to