Unable to install NVIDIA drivers

Greetings to the community

I have been a user (and a huge fan) of OpenSuse.
Have had my share of issues, first on m iMac and now on my new laptop.

Installed Win 10 & Opensuse TW on a clean 120gb SSD.
The machine am using now is Asus ROG GL552VW, which has a Nvidia GEForce GTX 960M

Once the OS was installed, the resolution was set at 800x600 with no option to change.
I updated all packages, so at this time the machine is fully up to date, running the 4.7.0-1.4, upgraded from 4.6.4-2.1

Wanted to have the NVIDIA drivers in place, so followed the ‘hard way’ guide to install the drivers.
Downloaded both 367.27 & 367.35 driver versions.

In console mode, the installation begins, reaches 100% of building kernel modules & then errors out.
Below is the error:

ERROR: An error occurred while performing the step: "Building kernel modules". 
See /var/log/nvidia-installer.log for details.

Checking the nvidia-installer.log, the first few lines has this error:

Unable to load: nvidia-installer ncurses v6 user interface

Not sure if that is the actual error, as there are plenty of errors in the log.
Full log here - www.hastebin.com/codadanudi.cs

Would appreciate any assistance.

PS: When i log out & get into console mode, a couple of minutes later, a get the following messages.
Again, not sure if it is related & if is the cause of the issue.


Hi, a patch is needed to build the Nvidia drivers with the 4.7 kernel. See for instance https://lists.opensuse.org/opensuse-factory/2016-08/msg00110.html

Thank you OrsoBruno

Not sure if am just blind or the 800x600 resolution is to blame, but is the patch file downloadable?
Can not seem to find the link… Or do i need to manually create the file?

Didn’t try any myself, but seems that you have to copy/paste to a text file either the end of this message:

or post #4 from this thread:

or, if you still have kernel 4.6.x on your machine and the matching kernel-devel and kernel-default-devel packages, you might just keep booting and using the 4.6 kernel when you need the nvidia driver.

Everything at your own risk, of course :wink:

Will give it a try.
I can’t have this running on 4.6 either, cos as you noted. the kernel-devel & default packages do not match, and gives the header error.
Am not sure if it is possible to downgrade the kernel and source to 4.6.x ?

Not in Tumbleweed, unless you have the needed packages saved locally. This is just one of the reasons why it is not advised to use TW when third party drivers are needed.

As mentioned it it may be better to use Leap. If you want more up-to-date Plasma / Kde there are extra repos that can be added.


The reason it isn’t recommended is that with Tumbleweed, the kernel is updated frequently and often before Nvidia drivers can be built against it. I guess you could lock your kernel if/when you have Tumbleweed installed with Nvidia but that kind of defeats the point of Tumblweed…

:slight_smile: I do have another partition running Leap, which has it’s own set of issues too.
This machine is just my ‘play’ device so wanted to try new things & by some chance, learn something in the process.

The trouble with Leap for me is the kernel is 4.1.x which is a little too behind for my machine’s liking.
I do not have trackpad & fn key support.
I know these ‘should’ be fixed in 4.3 & 4.5, but it seems to break something else in 4.6 & 4.7

I guess i will try upgrading kernels in Leap till i reach a sweet spot.
It has to be OpenSuse though… tried a lot of distros and always want to come back to this…

Life is generally hectic, so not enough time as i would like, to play around with things.
But i will keep prodding at it…

Thanks to the both of you (and many other helpful members of this community)!

Easy way to install Nvidia Driver with kernel 4.7:

Or wait until next November when 42.2 is released with a 4.4.x kernel which should be a “sweet spot” to your machine.
Or, just to play and learn something, you might grab the 4.4.x from the 42.2 alpha repo here http://download.opensuse.org/distribution/leap/42.2-Current/repo/oss/suse/x86_64/
and install it to your 42.1 (but keeping the 4.1.27 just in case…)