Home Wiki > SDB:NVIDIA drivers
Sign up | Login

SDB:NVIDIA drivers

tagline: From openSUSE

The NVIDIA drivers can not be included with openSUSE because of their license. Fortunately for new users, NVIDIA has an openSUSE repository containing their drivers.

Easy way to get NVIDIA drivers

It is not recommended to use the '1-Click Install' from the openSUSE community page as this requires to know which GPU is used. Instead,

  1. add the NVIDIA repos in YaST (YaST->Software->Software Repositories->Add->Community Repositories->NVIDIA Graphics Drivers)
  2. run an online update (or zypper inr in a shell as root). (things are more complicated on openSUSE Leap 42.1, see below)
  3. After installation is done restart computer.

The packages contain the correct 'supplements:' so Zypper will find the correct modules for your card. Unfortunately on openSUSE Leap 42.1 these 'supplemements' are being ignored by default by YaST (boo#953522). Therefore you need to select 'Extras/Install All Matching Recommended Packages' in 'Software Management' for autoselection and installation of the appropriate NVIDIA driver packages. When using 'zypper inr' you're not affected by this issue on openSUSE Leap 42.1.

Only if you plan to replace your card with a more recent one you should uninstall the driver before upgrading your hardware and run zypper inr once it is installed.

Deinstalling the NVIDIA drivers

There may be occasions when one needs to get rid of an installed proprietary driver. This is possible, however requires some steps. This is the easiest way to do it:

  1. Start YaST, go to: Software -> Software Management
  2. Change the 'Filter' to filter by software repositories
  3. Select the respective NVIDIA repository
  4. Mark any installed package from this repository for deletion and press 'Accept'. You may be prompted for conflicts, please ignore any conflicts and chose to break dependencies. On very old versions of openSUSE the NVIDIA driver ships a libvdpau1 package which always has a higher version number than the system one. This needs to be deleted and replaced by the system one - the latter needs to be done after the NVIDIA repository has been disabled.
  5. Now in YaST select: Software -> Software Repositories
  6. Chose the respective NVIDIA repository and mark it 'disabled' - don't delete it as it will return enabled the next time the repositories are synced with the server.
  7. If you've removed the libvdpau1 package before you can now reinstall it.

Uninstalling the proprietary drivers will restore the previous X configuration file /etc/X11/xorg.conf if one has existed. If the hardware has changed in the mean time it may be necessary to manually edit this file.

A Word of Warning

You should uninstall the NVIDIA driver manually

  • if you have the NVIDIA driver installed and plan to update it manually (using '1-Click Install' or some other way)
  • if you have installed the NVIDIA driver manually and plan to update your distribution
  • if you switch to another driver version (for example you have G03 installed but want to switch to G04)

If you plan to update your distribution using zypper dup you should uninstall the old driver version first to avoid problems. You should perform the installation before you do any of the above actions, so you may need to do two steps.

If you have installed the driver manually you should make sure that the NVIDIA community repository is disabled so your manually installed drivers will not conflict with automatic update.

PLEASE NOTE manual installation is not the recommended way of installing the NVIDIA driver. It should only be done as last resort by experienced people. Noone can guarantee that the installation scripts will catch every corner case where conflicts may arise.

Optimus hardware

  • If you have Optimus hardware, do not use the drivers from this page. (Optimus hardware is in most laptops with Intel CPUs and NVIDIA graphics chips.) Instead, proceed to the guide.


There is no pre-built version of the NVIDIA driver for Tumbleweed. Tumbleweed is updated too frequently provide a driver in time for a snapshot.

It is not recommended to use a driver version for any distribution version of openSUSE on Tumbleweed. When switching from any distribution version to Tumbleweed is is highly recommended to deinstall this driver and disable the installation repository before switching. Failing to do so may render the system unusable: due to changes in the ABI. Some components may not work at all or crash. It may be difficult to recover from this state.

If you still want to install an NVIDIA driver on Tumbleweed you're going to have to install the driver the hard way. See the note on Tumbleweed for some tips on making it easier to go through the steps the second time around.

SLE 11 and 12

On SLE the NVIDIA repositories will be added automatically after performing the online registration. On SLES it is required to enable the NVIDIA repository. On SLE12 this can be done directly at the beginning of the installation. On SLE11 this step happens during the 2nd stage of the installation and may require a reboot.

See also

In the new wiki

In the old wiki

External links