Proprietary nvidia driver not working

Asked by schollsky on 2012-10-24

Hi there,

after updating to 12.10 I cannot really use the driver from nvidia-current package. Installation works fine,
but after rebooting and trying glxinfo I get the following:

$ glxinfo
name of display: :0.0
X Error of failed request: BadWindow (invalid Window parameter)
  Major opcode of failed request: 154 (NV-GLX)
  Minor opcode of failed request: 4 ()
  Resource id in failed request: 0x2600003
  Serial number of failed request: 34
  Current serial number in output stream: 34

Due to this VirtualBox is not working properly, too.

What can I do - assumed I want to stay away from the nouveau driver? System is
as follows:

$ uname -a
Linux ubuntu 3.5.0-18-generic #29-Ubuntu SMP Fri Oct 19 10:26:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Kind regards,


Question information

English Edit question
Ubuntu nvidia-graphics-drivers Edit question
No assignee Edit question
Solved by:
N1ck 7h0m4d4k15
Last query:
Last reply:
Best N1ck 7h0m4d4k15 (nicktux) said : #1

Hi ,
if you search for Bugs in Quantal related to Nvidia driver , you will see many as well.

A recent bug (as I remember) was the bad installation of Nvidia driver when the linux-headers are not the dependency of the installation.

So I suggest to uninstall nvidia driver and install it again with bellow commands

~$ sudo apt-get remove --purge nvidia-current

~$ sudo rm /etc/X11/xorg.conf

~$ sudo apt-get install --reinstall xserver-xorg-core libgl1-mesa-glx

~$ sudo apt-get install linux-source

~$ sudo apt-get install linux-headers-$(uname -r)

~$ sudo apt-get install nvidia-current

~$ sudo nvidia-xconfig

also you can manual blacklist the nouveau driver and force-load the nvidia one

~$ echo 'blacklist nouveau' | sudo tee -a /etc/modprobe.d/blacklist.conf

~$ echo 'nvidia' | sudo tee -a /etc/modules

and reboot your system to see.


schollsky (schollsky) said : #2

Many thanks! The above lead to a cleaner installation and it's working now.

N1ck 7h0m4d4k15 (nicktux) said : #3

If the above helped you , then mark the answer that helped you . (For future - help - other)


schollsky (schollsky) said : #4

Thanks NikTh, that solved my question.