Comment # 22 on bug 1160706 from
(In reply to Stefan Dirsch from comment #21)
> 340.107 driver:
> https://www.nvidia.com/de-de/drivers/unix/linux-amd64-display-archive/
> https://www.nvidia.de/Download/driverResults.aspx/135242/de
> 
> Rebuilding RPMs is rather complicated. Please start with manually installing
> the driver

Well, I ran into a slight problem manually installing the above nvidia-340-107
version driver with openSUSE Leap 15.1 kernel version 4.12.14.

1. I made sure to uninstall the mouveau driver from the system by using the
yast software package manager and removing all mouveau software packages that
were installed.

2. I even added a "blacklist mouveau" line to the
/etc/modprobe.d/50-blacklist.conf file before rebooting the system.

3. At the grub boot loader menu, I highlighted openSUSE Leap 15.1 with kernel
4.12.14 and pressed "E" for edit. Then I moved the cursor down to the line
beginning with the word "linux" and pressed the "End" key to move the cursor to
the end of the line and entered a space and the number 3 to enter into lever 3
mode.

4. I press function key "F10" to proceed to boot with this kernel 4.12.14
version.

5. I logined as root in text mode and cd /usr/src/nvidia where I had the
NVIDIA-Linux-x86_64-340.107.run executable file stored.

6. I typed in sh ./NVIDIA-Linux-x86_64-340-107.run and pressed enter and it
showed me the license agreement. After accepting it, then it prompted me to
continue, which I did. However, it detected that the nouveau driver was still
loaded in the system, which I checked by using lspci | grep VGA and it showed
no driver loaded.

7. So I tried typing: nvidia-installer -a --add-this-kernel and pressed the
enter key and it started building the kernel and modules until it got to the
final process as follows:

-> Error.
ERROR: Unable to build the NVIDIA kernel module interface.
ERROR: Unable to add a precompiled kernel interface for the running kernel.

Attached is the nvidia-installer.log file:


You are receiving this mail because: