CUDA 4.0 Linux driver freezing

Is anyone else having a problem with the new Linux driver from 4.0 RC, causing the system to freeze randomly?

I’m not 100% sure that it’s the driver in my case (I have a new video card as well), but the same system seems to be quite stable in Windows using the stock video driver, and it used to work fine before in Linux too. It froze on me 3 or 4 times in Linux just this evening. No messages, no visual artifacts, just a frozen screen and I have to hit the reset button to get out.

I’m using Ubuntu 10.10 x64 and GeForce GTX 560.

I haven’t had any “spontaneous” hard hangs, although I discovered a pretty good way to make them happen at will (this is on both Ubuntu 9.04 and 10.04LTS 64 bit installations). This morning I did get a pair of these on the 10.04LTS box:

[350355.811360] NVRM: Xid (0000:01:00): 8, Channel 00000001

[350357.811311] NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context

[352107.811355] NVRM: Xid (0000:01:00): 8, Channel 00000001

[352109.811308] NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context

Which lead to (about) 5 second freezes, until (what I am guessing) the watchdog timer kicked in and the driver reset itself. PCI-e ID 0 is the display GTX275, ID 4 is a GTX470 which does nothing but compute. Every time cause by opening up PDFs in the gnome evince reader. You might want to watch the kernel ring buffer and see whether there are any errors reported.

Just froze on me twice in 5 minutes using the new 270.35 driver released today. I looked through the logs, but couldn’t find anything relevant. It’s entirely possible that the system simply does not have time to write anything into the log before it hangs.

The only other piece of hardware that could be causing the hangs is an old SB Audigy 2 sound card. I’ll try to remove it and see if that stabilizes the system.

Since this is a new video card, the only other driver that supports it is the beta driver 270.26 from the main menu on nvidia.com, and the system freezes with that one too.

avidday:

How did you install CUDA 4.0 onto Ubuntu 10.04 LTS? Nvidia only provides installation script for Ubuntu 10.10.

Thank you,

Chris