349.12+: XID and driver hang on cold boot

This has been bugging me for some time:
Whenever I cold-boot into Linux, the nvidia driver does not start up, instead it throws this XID.

Apr 14 20:19:14 dargo kernel: NVRM: Xid (PCI:0000:01:00): 62, 97c8(523c) 00000000 00000000
Apr 14 20:20:05 dargo kernel: NVRM: Xid (PCI:0000:01:00): 62, 9495(51ec) 00000000 00000000
Apr 14 20:20:28 dargo kernel: NVRM: Xid (PCI:0000:01:00): 62, 97c8(523c) 00000000 00000000
Apr 14 20:21:19 dargo kernel: NVRM: Xid (PCI:0000:01:00): 62, 9495(51ec) 00000000 00000000

and Xorg hangs here:

[    32.080] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    32.080] (==) NVIDIA(0): RGB weight 888
[    32.080] (==) NVIDIA(0): Default visual is TrueColor
[    32.080] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    32.080] (**) NVIDIA(0): Option "UseEvents" "1"
[    32.080] (**) NVIDIA(0): Enabling 2D acceleration

ctrl-alt-delete and alt-sysrq-b still work; after a warm boot X comes up and works fine.

nvidia-bug-report.log.gz (203 KB)

Try without your 2 options:

Option	   "OnDemandVBlankInterrupts" "1"
Option	   "UseEvents" "1"

Removing “UseEvents” seems to do the trick. Interestingly this only affects my K5100M, on the Q4000M it works flawlessly.

Thanks!

Spoke too soon. After a longer “cooldown” it still happens on cold boot.