December 21st, 2009

Nouveau incompatible with nVidia binary driver.

In case your using the nVidia binary driver and are upgrading your kernel to 2.6.32 any time soon, make sure to blacklist the nouveau module in whatever form your distro uses. It seems that the nouveau module is including by default in 2.6.32, which I was unaware of at first.I was getting a strange error when starting X:

Failed to initialize the NVIDIA graphics device PCI:1:0:0.
Error opening /dev/nvidia0, Input/Output error.

A look into dmesg showed:

NVRM: loading NVIDIA UNIX x86 Kernel Module  195.22  Sun Nov 22 16:55:48 PST 2009
vmap allocation for size 16781312 failed: use vmalloc= to increase size.
NVRM: RmInitAdapter failed! (0x26:0xffffffff:1138)
NVRM: rm_init_adapter(0) failed

Hm. So that was strange. As it turns out, if the nouveau module is loaded, it will cause loading the binary nVidia to fail in exactly this way. A quick 'rmmod nouveau' confirmed this was the case.Hopefully this helps anyone who runs into this problem.