xorg consumes 99.9% CPU and hangs on Kubuntu Dapper
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xserver-xorg-video-nv (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: xorg
Hi
Starting yesterday my laptop started hanging at random points in the boot process or after the boot process and hangs. The system is still responsive - I can ssh to it from my other box but completely unusable otherwise.
Symptoms :
At boot up the splash screen was garbled and then assumed a tv static appearance (moving mouse cursor slightly visible amongst the static).
System is now booting into KDE ok but a short (random) amount of time after opening an app the CPU usage for xorg hits a macimum of 99.9%. I have to ssh into the laptop remotely and issue a reboot/shutdown to bring the system down safely
During this time the only thing working on my desktop is the mouse cursor (keyboard is frozen)
How to reproduce:
Turn on the system, open an app and wait for xorg to consume 99% CPU
PC:
Dell Inspiron 8600 notebook
kernel 2.6.15-27-386
512meg RAM
1680x1050 res
Kubuntu Dapper system fully up to date (just updated the kernel packages to see if this would fix the problem)
xorg is using the nv driver. I have previously used the nvidia binary but this broke ACPI so have switched back to nv
Have tried to reconfigure xorg but this does not help
Can you offer any assistance? My laptop is completely unusable at the moment.
Thanks
James
top output:
==============
top - 22:06:57 up 10 min, 2 users, load average: 1.00, 0.84, 0.46
Tasks: 115 total, 3 running, 112 sleeping, 0 stopped, 0 zombie
Cpu(s): 100.0% us, 0.0% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 515676k total, 416668k used, 99008k free, 13508k buffers
Swap: 1510068k total, 0k used, 1510068k free, 234776k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5040 root 25 0 102m 17m 3916 R 99.9 3.4 4:58.45 Xorg
%CPU = 99.9%
%MEM = 3.4%
xorg conf snippets
==============
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV28 [GeForce4 Ti 4200 Go AGP 8x]"
Driver "nv"
#BusID "PCI:1:0:0"
#Option "UseFBDev" "true"
EndSection
Section "Monitor"
Identifier "Dell DFP"
Option "DPMS"
HorizSync 30-70
VertRefresh 50-160
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV28 [GeForce4 Ti 4200 Go AGP 8x]"
Monitor "Dell DFP"
SubSection "Display"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
Section "DRI"
Mode 0666
EndSection
update on this:
updated via apt-get to edgy knot 3, now using kernel 2.6.17-9-386. I figured if I had a broken dapper that could not be fixed then possibly having a bleeding edgy on a running laptop would be a step up.
Unfortunately this hasn't fixed the problem. xorg is still having shooting up and sitting at 99.9% CPU and needs to be restarted remotely. The symptoms are mouse cursor working and multicolored 1px lines through the screen or completely messed up screen.
Can sometimes log into KDE but opening any app will cause xorg to hit 99.9% CPU
op - 23:01:01 up 2 min, 3 users, load average: 1.08, 0.62, 0.25
Tasks: 85 total, 3 running, 82 sleeping, 0 stopped, 0 zombie
Cpu(s): 99.7%us, 0.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 515780k total, 212032k used, 303748k free, 9472k buffers
Swap: 1510068k total, 0k used, 1510068k free, 124524k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3917 root 25 0 96364 11m 2928 R 99.9 2.3 1:36.08 Xorg
1 root 16 0 1632 532 444 S 0.0 0.1 0:01.38 init
running an strace on the process id show that X is doing the following :
sigreturn() = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [])
ad nauseam....
Doing a google shows that some other people are finding a similar problem and there doesn't seem to be a fix, some people say yes this fixes it, other people say that fix doesn't work on my box. www.nvnews. net/vbulletin/ showthread. php?t=31858& page=27& pp=15
Notably this massive thread at
http://
I am running the nv drivers, not the nvidia binary drivers and do not have the nvidia- kernel- common package installed. I stripped the system back to just nv in the hope that would fix.
other items in xorg.conf:
not loading glx
renderaccel is false / off
So hopefully someone can have a look at this and see what is happening....