View Single Post
Old 08-15-05, 05:29 PM   #3
lblume
Registered User
 
Join Date: Aug 2005
Posts: 5
Default Re: Xorg eating CPU after installation of nVidia driver

Jumping on that thread:
I've had a similar problem, Xorg using all CPU, and killing it does not get the console back (the screen becomes garbled, and stays so till next reboot).
I'm using a patched Solaris 10, with the 7667 driver, on an Athlon XP box with an FX5700 GPU on AGP 4x

There was nothing in the log whatsoever (/var/log/Xorg.0.log or dmesg).

I trussed the Xorg process, and it showed a lot of SIGALRM coming up.
Here is the first, with some context:
pollsys(0x08046DF0, 9, 0x08047640, 0x00000000) = 1
read(18, "10\004\007\0\0\0 C o m p".., 4096) = 16
read(18, 0x0842E050, 4096) Err#11 EAGAIN
writev(18, 0x08047838, 1) = 32
Received signal #14, SIGALRM, in pollsys() [caught]
pollsys(0x08046DF0, 9, 0x08047640, 0x00000000) Err#4 EINTR
lwp_sigmask(SIG_SETMASK, 0x00002000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
setitimer(ITIMER_REAL, 0x08046AF0, 0x00000000) = 0
setcontext(0x08046920)

There are a lot of those EAGAIN on read(), with some SIGALRM, and then, it goes in an infinite loop of those:

pollsys(0x08046DF0, 28, 0x08047640, 0x00000000) = 1
read(29, "14\006\0\b\0E002 '\0\0\0".., 4096) = 28
read(29, 0x086DE748, 4096) Err#11 EAGAIN
writev(29, 0x08047838, 1) = 84
pollsys(0x08046DF0, 28, 0x08047640, 0x00000000) = 1
read(29, " +\001\0", 4096) = 4
read(29, 0x086DE748, 4096) Err#11 EAGAIN
writev(29, 0x08047838, 1) = 32
Received signal #14, SIGALRM, in pollsys() [caught]
pollsys(0x08046DF0, 28, 0x08047640, 0x00000000) Err#4 EINTR
lwp_sigmask(SIG_SETMASK, 0x00002000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
setitimer(ITIMER_REAL, 0x08046AF0, 0x00000000) = 0
setcontext(0x08046920)
pollsys(0x08046DF0, 28, 0x08047640, 0x00000000) = 2
setitimer(ITIMER_REAL, 0x08047640, 0x00000000) = 0
read(29, " 51804\0 q02A0018601A001".., 4096) = 4096
read(29, "01\0 I0101\0 H01 <\002\0".., 4084) = 4084
Received signal #14, SIGALRM [caught]
lwp_sigmask(SIG_SETMASK, 0x00002000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
setcontext(0x08047140)
Received signal #14, SIGALRM [caught]
lwp_sigmask(SIG_SETMASK, 0x00002000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
setcontext(0x08047140)
Received signal #14, SIGALRM [caught]
lwp_sigmask(SIG_SETMASK, 0x00002000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
setcontext(0x08047140)
Received signal #14, SIGALRM [caught]

and so on...

John Martin hinted there is a known bug polling a resource that is being investigated, is that it?

Laurent
lblume is offline   Reply With Quote