Proprietary nvidia driver not working

Asked by schollsky

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,

Stefan

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu nvidia-graphics-drivers Edit question
Assignee:
No assignee Edit question
Solved by:
N1ck 7h0m4d4k15
Solved:
Last query:
Last reply:
Revision history for this message
Best N1ck 7h0m4d4k15 (nicktux) said :
#1

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

https://bugs.launchpad.net/ubuntu/quantal

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.

Thanks

Revision history for this message
schollsky (schollsky) said :
#2

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

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#3

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

Thanks

Revision history for this message
schollsky (schollsky) said :
#4

Thanks NikTh, that solved my question.