nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Fedora 16, GTX 550Ti, random X hangs, "Attempted to yield the CPU..." (http://www.nvnews.net/vbulletin/showthread.php?t=183124)

MquwIBUO 06-08-12 01:44 PM

Fedora 16, GTX 550Ti, random X hangs, "Attempted to yield the CPU..."
 
3 Attachment(s)
My previous card was a GT 520, which was quite stable, but after swapping it for a GTX 550Ti, X hangs at random times with only messages such as
Jun 8 18:56:54 mother kernel: [ 791.000323] NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context
in /var/log/messages. I.e. no Xid errors.

I can't exactly duplicate the issue. Sometimes it hangs as soon as the (graphical) login prompt is displayed. Other times I can login and play around for a while before it hangs. It doesn't seem to happen when I play Diablo 3, so I tend to play a lot. (For stability). Disabling desktop effects didn't help anything though.

I've tried the various kernel parameters mentioned in the sticky in this forum, but to no avail.

To elaborate on the symptoms: X freezes and only the mouse can move. Cannot switch to a VT or CTRL+ALT+BACKSPACE. I can SSH in, but killing X still leaves the screen frozen. I can issue a reboot command, but it never actually reboots, so I just sync and do a hard reset.

Asrock X58 Extreme motherboard / i7 CPU. Full HW profile here: http://www.smolts.org/client/show/pu...1-6f6d1c059c00.

Quickening 06-10-12 01:24 PM

Re: Fedora 16, GTX 550Ti, random X hangs, "Attempted to yield the CPU..."
 
I feel your pain. This has been happening to me 2 to 4 times per day on any driver past 270.41. Unfortunately the old drivers will not run on Fedora 16 Linux kernels.

MquwIBUO 06-10-12 02:56 PM

Re: Fedora 16, GTX 550Ti, random X hangs, "Attempted to yield the CPU..."
 
Glad I'm not alone. I'm not joking about Diablo 3 though, it really doesn't seem to crash when it's running, not even if I've tabbed out or it's minimized. I guess I'll try if something like glxgears have the same effect and play around with powersaving settings some more.

Are you by any chance using similar MB/CPU?

Quickening 06-10-12 04:00 PM

Re: Fedora 16, GTX 550Ti, random X hangs, "Attempted to yield the CPU..."
 
That is weird. It definitely crashes more frequently on a 3D game (quake3) for me. I have 9800 GTX+/MSI 790FX-GD70. I noticed many people with 9800 have same problem. You would think this would be a clue for the Nvidia developers to locate the problem. Fedora 16 has several kernels installed on me now . I found it was much worse on the 3.3.x ones than on the 3.1.0 one.

Are you not getting these other errors? Here is the count of NVRM errors in past 2 months:
1 Xid (0000:06:00): 1, Channel 00000001 Method 00000000 Data 00040680
1 Xid (0000:06:00): 56, CMDre 00000000 00000000 00000400 00000001 00000002
1 Xid (0000:06:00): 56, CMDre 00000001 00000000 00000400 00000001 00000002
1 Xid (0000:06:00): 6, PE0001
5 Xid (0000:06:00): 13, 0001 00000000 00005097 000015e0 00000000 00000080
6 Xid (0000:06:00): 8, Channel 00000004
16 Xid (0000:06:00): 56, CMDre 00000000 00000080 00000000 00000005 00000007
19 GPU at 0000:06:00.0 has fallen off the bus.
31 Xid (0000:06:00): 8, Channel 00000001
32 Xid (0000:06:00): 8, Channel 00000003
68 os_pci_init_handle: invalid context!
185 os_schedule: Attempted to yield the CPU while in atomic or interrupt context

MquwIBUO 06-10-12 05:06 PM

Re: Fedora 16, GTX 550Ti, random X hangs, "Attempted to yield the CPU..."
 
The only error logged in /var/log/messages is the "Attempted to yield the CPU..." one, no "Xid" or "fell off the bus" or anything. /var/log/X/X.0.log contains messages like:

[ 526.091] (WW) NVIDIA(0): WAIT (2, 6, 0x8000, 0x0000403c, 0x0000426c)
[ 526.155] [mi] EQ overflowing. The server is probably stuck in an infinite loop.
[ 526.155]
Backtrace:
[ 526.196] 0: /usr/bin/X (xorg_backtrace+0x2f) [0x462e8f]
[ 526.196] 1: /usr/bin/X (mieqEnqueue+0x17d) [0x557aed]
[ 526.196] 2: /usr/bin/X (0x400000+0x46e73) [0x446e73]
[ 526.196] 3: /usr/lib64/xorg/modules/input/evdev_drv.so (0x7f9ce273d000+0x54f9) [0x7f9ce27424f9]
[ 526.196] 4: /usr/bin/X (0x400000+0x7f618) [0x47f618]
[ 526.196] 5: /usr/bin/X (0x400000+0xa4e4b) [0x4a4e4b]
[ 526.196] 6: /lib64/libpthread.so.0 (0x3968000000+0xf500) [0x396800f500]
[ 526.196] 7: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7f9ce328c000+0x8edd0) [0x7f9ce331add0]
[ 526.196] 8: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7f9ce328c000+0x8fa14) [0x7f9ce331ba14]
[ 526.196] 9: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7f9ce328c000+0x109f53) [0x7f9ce3395f53]
[ 526.196] 10: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7f9ce328c000+0xc47a2) [0x7f9ce33507a2]
[ 526.196] 11: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7f9ce328c000+0x4e0f8c) [0x7f9ce376cf8c]
[ 526.196] 12: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7f9ce328c000+0x4af04c) [0x7f9ce373b04c]
[ 526.196] 13: /usr/bin/X (BlockHandler+0x4a) [0x43799a]
[ 526.196] 14: /usr/bin/X (WaitForSomething+0x109) [0x4602e9]
[ 526.196] 15: /usr/bin/X (0x400000+0x3387a) [0x43387a]
[ 526.196] 16: /usr/bin/X (0x400000+0x22ea5) [0x422ea5]
[ 526.196] 17: /lib64/libc.so.6 (__libc_start_main+0xed) [0x396782169d]
[ 526.197] 18: /usr/bin/X (0x400000+0x23191) [0x423191]
[ 533.091] (WW) NVIDIA(0): WAIT (1, 6, 0x8000, 0x0000403c, 0x0000426c)
[ 536.095] (WW) NVIDIA(0): WAIT (2, 6, 0x8000, 0x0000403c, 0x00004a20)
[ 543.095] (WW) NVIDIA(0): WAIT (1, 6, 0x8000, 0x0000403c, 0x00004a20)


I don't think we're seeing the exact same issue here.

Quickening 06-10-12 05:33 PM

Re: Fedora 16, GTX 550Ti, random X hangs, "Attempted to yield the CPU..."
 
Unfortunately, there are clearly several issues. "Attempted to yield the CPU..." is just one of them. They happen at different times and varying frequency depending on which NVIDIA driver I am running. I am not running 64 bit for instance and get different backtraces than you.

Sometimes X crashes but I can still ssh into the host , kill X , rmmod nvidia and modprobe nvidia and it will generate a kernel fault and X won't start. This means the card has been pushed into an unusable state and only a reboot resets it.

MquwIBUO 06-12-12 01:37 PM

Re: Fedora 16, GTX 550Ti, random X hangs, "Attempted to yield the CPU..."
 
It's been stable for a while now after I changed PowerMizer to use a fixed frequency by adding the line
options nvidia NVreg_RegistryDwords="PerfLevelSrc=0x2222"
to /etc/modprobe.d/nvidia.conf, which I guess is the same as choosing "Maximum Performance" in the nVidia settings GUI.

Quickening 06-12-12 03:39 PM

Re: Fedora 16, GTX 550Ti, random X hangs, "Attempted to yield the CPU..."
 
Interesting. I don't have that file but I can see with nvidia-settings that my Powermizer is set to adaptive.

2 days ago I started running the latest beta driver 302.11 on kernel 3.3.7 and have not had a single hiccup since.
I notice however comparing 3.1.0 to 3.3.* that video in games staggers on 3.3*.


All times are GMT -5. The time now is 11:36 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.