View Single Post
Old 05-23-12, 09:49 AM   #21
Unixnut
Registered User
 
Join Date: May 2012
Posts: 1
Default Re: Xorg hang with 100% cpu, any driver version, GTX275

Has anyone ever found a solution to this?

Up until recently my Linux system was working fine, CUDA processing and dual screen displays with a nvidia GTX 280. While it all worked fine the OS was rather old (first installed 2006) and was running old kernel/libraries/nvidia-driver/etc... so I decided it was time to reinstall the OS.

Turns out this was a big mistake. Since reinstalling the OS I've been unable to get the card to work with the nvidia driver.

The card works with the open source nouveau driver, but with no GL support, no acceleration and no CUDA (logically). This coupled with the fact it was working fine leads me to believe that it isn't a hardware fault (what kind of hardware fault would occur due to a new OS/driver? Yet work with a basic driver?).

As mentioned in this thread. When I start X the screen goes blank and X hangs at 100% CPU forever. As I'm not sure if this is due to the same issue I decided to post here (I can post a separate thread in future if this is unrelated).

When I run, X:


dmesg shows the following:

NVRM: loading NVIDIA UNIX x86_64 Kernel Module 295.49 Mon Apr 30 23:46:33 PDT 2012
NVRM: Xid (0000:07:00): 56, CMDre 00000000 00000088 0100cb05 00000004 00000084
NVRM: Xid (0000:07:00): 56, CMDre 00000000 0000008c 00000000 00000005 00000008
NVRM: Xid (0000:07:00): 56, CMDre 00000000 00000088 0100cb0b 00000004 00000084
NVRM: Xid (0000:07:00): 56, CMDre 00000000 0000008c 00000000 00000005 00000008
NVRM: Xid (0000:07:00): 56, CMDre 00000000 00000088 0100cb11 00000004 00000084
NVRM: Xid (0000:07:00): 56, CMDre 00000000 0000008c 00000000 00000005 00000008
NVRM: Xid (0000:07:00): 56, CMDre 00000000 00000080 00000000 00000005 00000008
NVRM: Xid (0000:07:00): 6, PE0001
NVRM: Xid (0000:07:00): 6, PE0001

After killing X:
NVRM: Xid (0000:07:00): 6, PE007e
NVRM: Xid (0000:07:00): 6, PE007e

I have attached the Xorg log file, and the results of nvidia-bug-report.

I've run out of ideas as to what it can be . I've updated the BIOS, tried both the latest 3.X kernels, downgraded to 2.6.XX kernels, tried multiple different nvidia drivers, and still the same problems. I have gone back to wishing I never reinstalled the OS to begin with :/

Despite this the machine is stable, I can remotely SSH in and use it. CTRL-C'ing X org doesn't work, only a kill -9 will do it. Occasionally the entire machine can hang, needing a reset, but that is uncommon.

I will include the last few lines of strace running of X, not sure if it is useful, but can include the whole thing if needed.

strace output:

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa6931aa000
read(17, "EnableVia4x: 0\nEnableALiAGP: 0\nN"..., 1024) = 456
close(17) = 0
munmap(0x7fa6931aa000, 4096) = 0
stat("/dev/nvidia0", {st_mode=S_IFCHR|0666, st_rdev=makedev(195, 0), ...}) = 0
open("/dev/nvidia0", O_RDWR) = 17
ioctl(10, 0xc048464d, 0x7fff8355e210) = 0
open("/proc/interrupts", O_RDONLY) = 20
fstat(20, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa6931aa000
read(20, " CPU0 CPU1 "..., 1024) = 1024
read(20, " 0 Performance pending work"..., 1024) = 437
read(20, "", 1024) = 0
read(20, "", 1024) = 0
close(20) = 0
munmap(0x7fa6931aa000, 4096) = 0
ioctl(17, 0xc01446ce, 0x7fff8355e520) = 0
ioctl(10, 0xc0144628, 0x7fff8355e560) = 0
ioctl(16, 0xc020462b, 0x7fff8355e4e0) = 0
ioctl(10, 0xc020462b, 0x7fff8355e550) = 0
ioctl(10, 0xc030464e, 0x7fff8355e530) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, 13, 0xfd647000) = 0x7fa6931aa000




Any help sorely appreciated! I've been trying to get this work for weeks!! The card has never been OC'ed or otherwise run beyond its normal parameters. Temps were avg 30-40 degrees throughout.
Attached Files
File Type: gz nvidia-bug-report.log.gz (75.0 KB, 21 views)
File Type: gz Xorg.0.log.gz (23.1 KB, 25 views)
Unixnut is offline   Reply With Quote