NVRM: os_pci_init_handle: invalid context! + Freezes on 334.21

I’m using driver 334.21 with a GTX480 and every few hours I encounter these freezes which I must manually reboot from. It usually occurs when I’m playing games with steam such as Kerbal or Don’t Starve.

Apr 6 02:14:26 ZOD kernel: [95111.646872] NVRM: os_pci_init_handle: invalid context!
Apr 6 02:14:26 ZOD kernel: [95111.646877] NVRM: os_pci_init_handle: invalid context!
Apr 6 02:14:26 ZOD kernel: [95111.646879] NVRM: os_pci_init_handle: invalid context!
Apr 6 02:14:26 ZOD kernel: [95111.646881] NVRM: os_pci_init_handle: invalid context!
Apr 6 02:14:26 ZOD kernel: [95111.646883] NVRM: os_pci_init_handle: invalid context!
Apr 6 02:14:26 ZOD kernel: [95111.646884] NVRM: os_pci_init_handle: invalid context!
Apr 6 02:14:26 ZOD kernel: [95111.646886] NVRM: os_pci_init_handle: invalid context!
Apr 6 02:14:26 ZOD kernel: [95111.646888] NVRM: os_pci_init_handle: invalid context!
Apr 6 02:14:26 ZOD kernel: [95111.646889] NVRM: os_pci_init_handle: invalid context!
Apr 6 02:14:26 ZOD kernel: [95111.646891] NVRM: os_pci_init_handle: invalid context!
Apr 6 02:14:26 ZOD kernel: [95111.646893] NVRM: os_pci_init_handle: invalid context!
Apr 6 02:14:26 ZOD kernel: [95111.646894] NVRM: os_pci_init_handle: invalid context!
Apr 6 02:14:26 ZOD kernel: [95111.646896] NVRM: os_pci_init_handle: invalid context!
Apr 6 02:14:26 ZOD kernel: [95111.646900] NVRM: GPU at 0000:02:00: GPU-1b29b330-2ca3-1948-f333-b174e397ce9e
Apr 6 02:14:26 ZOD kernel: [95111.646904] NVRM: Xid (0000:02:00): 13, 0007 00000000 00009039 00000300 00126012 0000000c
nvidia-bug-report.log.gz (167 KB)

Which game you are playing? what the issue reproduction rate ? What desktop environment you are running? Any earlier driver help to resolve your issue? Please provide reproduction steps in detail (step-by-step) ?

I am having the same issue. This seems to happen when I am doing anything that requires my graphics card (including Chromium when using GPU-acceleration).

Syslog

Oct 2 16:23:51 scott-pc kernel: [99288.246213] NVRM: os_pci_init_handle: invalid context!
Oct 2 16:23:51 scott-pc kernel: [99288.246214] NVRM: os_pci_init_handle: invalid context!
Oct 2 16:23:51 scott-pc kernel: [99288.246219] NVRM: Xid (0000:02:00): 13, 0005 00000000 00005039 00000100 00000000 00000002
Oct 2 16:24:02 scott-pc kernel: [99299.117752] Watchdog[11644]: segfault at 0 ip 00007fda56076d98 sp 00007fda4664f710 error 6 in libcontent.so[7fda55841000+1170000]
Oct 2 17:03:05 scott-pc kernel: [101643.150431] NVRM: os_pci_init_handle: invalid context!
Oct 2 17:03:05 scott-pc kernel: [101643.150440] NVRM: os_pci_init_handle: invalid context!
Oct 2 17:03:05 scott-pc kernel: [101643.150442] NVRM: os_pci_init_handle: invalid context!
Oct 2 17:03:05 scott-pc kernel: [101643.150443] NVRM: os_pci_init_handle: invalid context!
Oct 2 17:03:05 scott-pc kernel: [101643.150445] NVRM: os_pci_init_handle: invalid context!
Oct 2 17:03:05 scott-pc kernel: [101643.150446] NVRM: os_pci_init_handle: invalid context!
Oct 2 17:03:05 scott-pc kernel: [101643.150448] NVRM: os_pci_init_handle: invalid context!
Oct 2 17:03:05 scott-pc kernel: [101643.150449] NVRM: os_pci_init_handle: invalid context!
Oct 2 17:03:05 scott-pc kernel: [101643.150451] NVRM: os_pci_init_handle: invalid context!
Oct 2 17:03:05 scott-pc kernel: [101643.150452] NVRM: os_pci_init_handle: invalid context!
Oct 2 17:03:05 scott-pc kernel: [101643.150453] NVRM: os_pci_init_handle: invalid context!
Oct 2 17:03:05 scott-pc kernel: [101643.150455] NVRM: os_pci_init_handle: invalid context!
Oct 2 17:03:05 scott-pc kernel: [101643.150456] NVRM: os_pci_init_handle: invalid context!
Oct 2 17:03:05 scott-pc kernel: [101643.150461] NVRM: Xid (0000:02:00): 13, 0003 00000000 00005039 00000100 00000000 00000002
Oct 2 17:03:17 scott-pc kernel: [101655.165410] [sched_delayed] sched: RT throttling activated
Oct 2 17:17:01 scott-pc CRON[13246]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)

I am using:

  • Ubuntu Gnome 14.04
  • Nvidia GeForce GTS 250
  • NVIDIA Proprietary (tested) driver version 331.38
  • Intel i7 930

As a side note: I am still able to move the mouse pointer (sometimes it also freezes) when everything else freezes.

Any help will be awesome!