In this segment we will cover how to install NVIDIA drivers in SUSE Leap and Tumbleweed. All information and commands sourced from https://en.opensuse.org/SDB:NVIDIA_the_hard_way.
First off, when installing SUSE Leap or Tumbleweed with an NVIDIA graphics card, you may encounter problems. From our testing there have been crashes, freezes, UN-displayed icons, etc. To solve this we recommend using iceWM, LXDE, XFCE, or Gnome. From our testing KDE does the worst without drivers. YOU WILL NEED INTERNET FOR THIS! (YOU WILL ALSO NEED TO BE Super User FOR THIS!) THIS WILL TAKE 20-60 MIN.
First go to http://www.geforce.com/drivers and find your graphics card. If you do not know what it is, open Yast, go to Hardware Information, and select Display. This should tell you. Once you have your graphics card selected, download the Linux 32, or Linux 64, depending on your setup. SUSE Leap, as of the making of this page, will only be 64bit.
Once that is downloaded, we recommend re-naming it to something simple such as "nvidia.run" without "" Next you will want to open the terminal and type "su" without the "" This will prompt you for your administrator password.
Once done type this into your terminal echo "blacklist nouveau" >> /etc/modprobe.d/50-blacklist.conf && mkinitrd && reboot
This will restart your computer!
OK, now that you have done that, you should only have SUSE on one display. Things will look a bit larger and not as good. Do not worry, we will fix this!
Next, you will need to run this command as SU zypper install -t pattern devel_C_C++ devel_kernel
Once that has finished installing, you will need to open whatever folder you saved the driver to with the terminal.
Now you will have to go into yast and update the kernel. This is necessary in most cases. This will take a while to install and you Must reboot (it should prompt you)
(these commands are case-sensitive) Run this command 2 or 3 times cd ..
Next run this command cd home
then cd user
(change user to what your username is) then cd Downloads
(this is assuming you saved the driver in your downloads.)
Ok now run chmod 755 nvidia.run
Then run ./nvidia.run
You are now installing the driver. You will need to read and agree to the agreement before installing. It will ask if you want to install 32 bit compatibility and we recommend yes. It will also say "Would you like to run the nvidia-xconfig utility to automatically update your Xconfiguration file so that the NVIDIA X driver will be used when you restart X? Any pre-existing X configuration file will be backed up." We recommend yes. You do want to reboot the system after it is FULLY done installing.
If you are getting errors and unable to install, you may have not updated the kernel properly. Please reference this https://www.suse.com/documentation/opensuse114/book_tuning/data/cha_tuning_multikernel_yast.html if you still cannot update it.
You should now have all of your screens displaying properly and everything should work well. If not Please look at https://en.opensuse.org/SDB:NVIDIA_the_hard_way This is what we referenced for some of the code.
We take no responsibility for damages, data loss, damaged components, broken systems or any similar events. Use at your own risk!