Broken display after cuda driver installation Failed to initialize the NVIDIA kernel module

I am running 64-bit Ubuntu 9.10 (kernel version 2.6.31-16-generic) on my workstation with Core i7 920 and GTX285. Before I installed the cuda driver “cudadriver_2.3_linux_64_190.18”, my display along with Compiz effects were working flawlessly with the NVIDIA display driver that I was automatically asked to install right after installing Ubuntu. A day later, I installed the cuda driver, toolkit and sdk without any problems and even successfully compiled and run the devicequery example from SDK.

The problem is that now my gdm starts in low-graphics mode complaining that “Failed to initialize the NVIDIA kernel module”. I searched for the error on many forums, but some people are suggesting to editing the config files that I don’t even have. Somebody also suggested to add ServerFlags section to xorg.conf but nothing has worked for me so far.

Section “ServerFlags”

Option “IgnoreABI” “True”

EndSection

Please note that the installation of the driver was successful as I was able to compile and run devicequery example in the console mode. It is only my display that is broken with the CUDA-driver. To further prove my point and be sure of the source of error, I uninstalled the cuda driver and my display and compiz was again up and running even though I kept the new xorg.conf produced by the cuda driver installation. I am attaching the necessary logs and xorg.conf to help in troubleshooting.

Please help me! Thanks in advance.
cudadrv_logs.zip (22.7 KB)