Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-08-12, 01:44 PM   #1
MquwIBUO
Registered User
 
Join Date: Jun 2012
Posts: 4
Default Fedora 16, GTX 550Ti, random X hangs, "Attempted to yield the CPU..."

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.
Attached Files
File Type: gz messages.gz (20.9 KB, 57 views)
File Type: gz nvidia-bug-report.log.gz (59.6 KB, 61 views)
File Type: gz Xorg.0.log.gz (5.4 KB, 59 views)

Last edited by MquwIBUO; 06-09-12 at 11:28 AM. Reason: HW info added
MquwIBUO is offline   Reply With Quote
Old 06-10-12, 01:24 PM   #2
Quickening
Registered User
 
Join Date: May 2003
Location: Dallas, TX
Posts: 14
Default 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.
Quickening is offline   Reply With Quote
Old 06-10-12, 02:56 PM   #3
MquwIBUO
Registered User
 
Join Date: Jun 2012
Posts: 4
Default 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?
MquwIBUO is offline   Reply With Quote
Old 06-10-12, 04:00 PM   #4
Quickening
Registered User
 
Join Date: May 2003
Location: Dallas, TX
Posts: 14
Default 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
Quickening is offline   Reply With Quote
Old 06-10-12, 05:06 PM   #5
MquwIBUO
Registered User
 
Join Date: Jun 2012
Posts: 4
Default 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.
MquwIBUO is offline   Reply With Quote
Old 06-10-12, 05:33 PM   #6
Quickening
Registered User
 
Join Date: May 2003
Location: Dallas, TX
Posts: 14
Default 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.
Quickening is offline   Reply With Quote
Old 06-12-12, 01:37 PM   #7
MquwIBUO
Registered User
 
Join Date: Jun 2012
Posts: 4
Default 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.
MquwIBUO is offline   Reply With Quote
Old 06-12-12, 03:39 PM   #8
Quickening
Registered User
 
Join Date: May 2003
Location: Dallas, TX
Posts: 14
Default 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*.
Quickening is offline   Reply With Quote

Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
New GPU from Nvidia Announced Today, the GeForce GTX 670 News Latest Tech And Game Headlines 0 05-10-12 01:50 PM
NVIDIA launches GeForce GTX 670, Zotac's AMP! Reviewed (PCGamer) News GeForce GTX 670 Reviews 0 05-10-12 10:11 AM
GALAXY Launches the GeForce GTX 670 and GTX 670 GC! News Latest Tech And Game Headlines 0 05-10-12 09:28 AM
Gainward Unleashes the Sexy GeForce GTX 670 Phantom Graphics Card, Also launches the News Latest Tech And Game Headlines 0 05-10-12 09:28 AM
NVIDIA Unleashes the GeForce GTX 670 Graphics Card ' Performance Perfected (WCCFTECH) News GeForce GTX 670 Reviews 0 05-10-12 08:40 AM

All times are GMT -5. The time now is 04:19 AM.


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