tagline: From openSUSE
Easy way to get NVIDIA drivers
- Open YaST, then click Software Repositories.
- Click Add (in the bottom left), then select Community Repositories.
- Select NVIDIA Graphics Drivers, then click OK.
- Go back to the YaST Control Center and click Online Update.*
- Click Extras in the top bar, then click Install All Matching Recommended Packages.*
- Click Accept, then wait for installation to complete.*
- Restart your computer.
*: Steps 4-6 are necessary as 'Supplements:' have been ignored by default by YaST since Leap 42.1 (boo#953522), even though the packages contain the correct 'Supplements:' to find the correct modules for your card.
Only if you plan to replace your card with a more recent one should you uninstall the driver before upgrading your hardware and run
zypper inr once it is installed.
Alternatively, you can use the
zypper command to install the NVIDIA drivers.
If you are running Leap, you should replace
<release> with "leap/" followed by the version you're on, e.g. "leap/42.3" for Leap 42.3 If you are running Tumbleweed, replace
<release> with "tumbleweed". You may need to prepend these commands with
zypper addrepo --refresh http://http.download.nvidia.com/opensuse/<release> NVIDIA zypper install-new-recommends
After performing these steps, restart your computer.
Uninstalling 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:
- Start YaST, go to: Software -> Software Management
- Change the 'Filter' to filter by software repositories
- Select the respective NVIDIA repository
- 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.
- Now in YaST select: Software -> Software Repositories
- 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.
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.
You should uninstall the NVIDIA driver manually
- if you have the NVIDIA driver installed and plan to update it manually
- 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.
- 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.
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.
In the new wiki
In the old wiki
- NVIDIA Problems with 1-click install
- Laptops and external VGA
- NVidia Suspend HOWTO
- NVidia framebuffer console HOWTO
- Use Nvidia driver with Xen