missing nvidia-settings after driver update

After the update of the driver to enable CUDA for the NVidia graphics cards of my Ubuntu box, nvidia-settings seemed to disappear. Trying to install it didn’t help as it apparently is already installed!

$ nvidia-settings
nvidia-settings: command not found
$ sudo apt-get install nvidia-settings
Reading package lists... Done
Building dependency tree
Reading state information... Done
nvidia-settings is already the newest version.
The following packages were automatically installed and are no longer required:
linux-headers-3.2.0-29 linux-headers-3.2.0-29-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

It turned out that it actually is there, but the link is broken as it used to be linked to the binary in some version-specific directory. Fixing the broken link made it work now.

$ find /usr -name nvidia-settings
$ ls -l /usr/bin/nvidia-settings
lrwxrwxrwx 1 root root 33 Aug 22 12:45 /usr/bin/nvidia-settings -> /etc/alternatives/nvidia_settings
$ ls -l /etc/alternatives/nvidia_settings*
lrwxrwxrwx 1 root root 48 Aug 22 12:45 /etc/alternatives/nvidia_settings -> /usr/lib/nvidia-settings-304/bin/nvidia-settings
lrwxrwxrwx 1 root root 39 Aug 22 12:45 /etc/alternatives/nvidia_settings_conf -> /usr/lib/nvidia-settings-304/ld.so.conf
$ sudo ln -sf /usr/lib/nvidia-settings/bin/nvidia-settings /etc/alternatives/nvidia_settings
$ sudo ln -sf /usr/lib/nvidia-settings/ld.so.conf /etc/alternatives/nvidia_settings_conf
$ ls -l /etc/alternatives/nvidia_settings*
lrwxrwxrwx 1 root root 44 Sep 26 16:41 /etc/alternatives/nvidia_settings -> /usr/lib/nvidia-settings/bin/nvidia-settings
lrwxrwxrwx 1 root root 35 Sep 26 16:42 /etc/alternatives/nvidia_settings_conf -> /usr/lib/nvidia-settings/ld.so.conf
missing nvidia-settings after driver update

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s