Nvidia drivers does not work after update...

Hi all, I have a question after an update of the Nvidia propietary drivers…

Yesterday the Nvidia propietary drivers were updated in my OpenSuse 13.1, but when I tun on my computer today, just works a screen and the Nvidia X Server Settings gives me this message:


You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run 'nvidia-xconfig' as root), and restart the X server.

But when I run nvidia-xconfig I get this message:


WARNING: Unable to locate/open X configuration file.


Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
New X configuration file written to '/etc/X11/xorg.conf'


I’ve tried to reinstall the drivers through this, but nothing happens.

Does anybody knows what is happening and how could I fix it? I am a little new with this…

Cheers / saludos.

There is a problem with the current 331.79 nvidia drivers. On the first boot after install the driver fails to load.

Initially simply try two consecutive reboots, if that works then all should be OK.

If not, re-install the drivers using the instructions from ‘wolfi323’ in this post:

https://forums.opensuse.org/showthread.php/498635-openSUSE-13-1-There-is-no-update-candidate-for-kernel-desktop-3-11-10-11-1-x86_64?p=2648185#post2648185

starting at the line: “I would suggest to uninstall all nvidia packages and then install only those 4 again:”

If you are not using the “G03” drivers, be sure to substitute the correct version.

Reboot twice after the fresh install.

I can confirm this strange behavior having to reboot to make it work. Now I looked into Yast and looked into the version tab for
nvidia-gfxG03-kmp-desktop, there were 4 versions installed for x86-64, that can’t be correct. Now I uninstalled them all and reinstalled the latest one, perhaps you could check and see if you have the same.

I have indeed…

http://s27.postimg.org/vwf6rccpb/yast_nvidia.jpg](http://postimg.org/image/vwf6rccpb/)

In one of the other posts on this subject ‘wolfi323’ gave an explanation of the reason:

“When using KMP packages, symlinks are created for all installed kernel versions, so that package should work fine with kernel-desktop 3.11.10-11, which will still be booted afterwards as it is the highest version.”

These are the posts if you wish to read the whole saga…

https://forums.opensuse.org/showthread.php/498610-Update-nvidia-331-67-to-331-79-needs-default-kernel
https://forums.opensuse.org/showthread.php/498635-openSUSE-13-1-There-is-no-update-candidate-for-kernel-desktop-3-11-10-11-1-x86_64

… and there’s been a few related ones since

You should not run nvidia-xconfig.
It is not necessary and can cause problems.

WARNING: Unable to locate/open X configuration file.

Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘xorg-server’ found
New X configuration file written to ‘/etc/X11/xorg.conf’

Remove it again, please:

sudo rm /etc/X11/xorg.conf

I’ve tried to reinstall the drivers through this, but nothing happens.

Does anybody knows what is happening and how could I fix it? I am a little new with this…

As has been mentioned already, just try to reboot. It should work then.
If not, please post a list of the packages you actually have installed:

rpm -qa | egrep "(kernel|nvidia)"

If you uninstalled the driver packages manually, not all necessary packages (and some wrong ones as well) might be installed by the 1-click installer.

The other driver versions do not have those 4 (or 5) packages.
For G02 there’s only:
nvidia-gfxG02-kmp-xxx, x11-video-nvidiaG02, nvidia-computeG02

And for G01:
nvidia-gfxG01-kmp-xxx, x11-video-nvidiaG01

The “xxx” has to match your kernel version, of course.

That’s because of the multiversion feature that’s enabled by default for kernel packages since 12.3.
Having more than one version of the kmp package installed doesn’t cause any problem, actually you only have one version installed, the latest one.
But you should not remove any of those packages, as you will remove the actual kernel module by doing so.
Removing all of them and then installing the latest one is ok though.

Hello, I’ve been some days out…

I’d rebooted the computer two or three times after the response by tannington, but it didn’t work, so I uninstalled the drivers and installed it again and then all works fine :slight_smile:

Thank you all for your help.

Cheers / saludos.

Without NVIDIA drivers my screen becomes an abstract picture!
NO graphical interface, NO text interface :frowning:

I spent a day when installed OpenSuse to find a workaround.
Basically i had to install nvidia-gfxG02-kmp-xxx, x11-video-nvidiaG02, nvidia-computeG02 from a pen drive during O.S. installation.

Now, with new updated kernel, i’ve got the graphical interface but the warning message remains.

Andrea

Your Problem has nothing to do with this old threat.

The “updated” Kernel is removed, so please go back to the old kernel 3.16.7-7
There are many threats about this Problem from yesterday and the day before.

I had to open Yats2 in shell, uninstall everything Nvidia, and go back and install the proprietary driver I downloaded sometime ago.
Perhaps when I feel ambitious one day, I go back and try to install the drivers from the repository.

But check this out: my r8168 ethernet drivers got hosed too. Luckily, I had a proprietary version I had downloaded some time ago on hand, and had to install those.

Lesson learned: Always keep some proprietary drivers on hand, if possible, for all your essential stuff like video and network.

The drivers in the repository (still) work fine.

The problem was that the kernel update was slightly incompatible, so existing kernel modules built for the older kernel don’t work any more.
Just reinstalling the nvidia kernel module (package nvidia-gfxG03-kmp-desktop or similar) would fix that, as it recompiles the kernel module for the running kernel.

But check this out: my r8168 ethernet drivers got hosed too. Luckily, I had a proprietary version I had downloaded some time ago on hand, and had to install those.

If you had to install/build some custom 3rd party driver for that, it’s to be expected that it breaks after a kernel update, yes.

Lesson learned: Always keep some proprietary drivers on hand, if possible, for all your essential stuff like video and network.

openSUSE keeps at least 2 kernels by default.
So you can always boot the older one (you should find it in “Advanced Options” in the boot menu) if you have problems after a kernel update.

@a_celli:
What warning message are you talking about?
If it’s about loading the in-kernel X.509 certificate, then you can just ignore it. That’s not a problem, and the message will be “fixed” in the next kernel update (after which you will probably have to install the nvidia driver again, as it fixes the incompatibility and will therefore be incompatible to the incompatible kernel update).
But as Sauerland already wrote, your problem is definitely completely unrelated to the one discussed in this thread.

I think you mean “threads” rather than “threats”.

(I’m not complaining, though it did give a little amusement. I’m pointing it out in case someone was confused.)

If you run an installer program for drivers, then best keep that around. You might need to rerun after any kernel update (and, sometimes, other updates).

That would have saved me about 30 minutes of grief. Good to know, thanks!

Hi All,

After the last kernel update my nvidia driver stopped working and Opensuse 13.2 booted to a 640x480 desktop resolution.

To fix it, I followed the instruction in a post on here which was to reinstall the right driver package:

Then to see what nvidia packages you have do

zypper search nvidia

I had the following nvidia packages:

nvidia-gfxG02-kmp-desktop-304.125_k3.16.6_2-33.1.x86_64
nvidia-gfxG02-kmp-desktop-304.125_k3.16.6_2-32.1.x86_64
nvidia-computeG02-304.125-34.1.x86_64
nvidia-gfxG02-kmp-desktop-304.123_k3.16.6_2-31.1.x86_64
x11-video-nvidiaG02-304.125-34.1.x86_64

Then reinstall the correct driver:

sudo zypper in -f nvidia-gfxG02-kmp-desktop

Yours might be a different driver package if it’s a newer or older card, just reinstall the correct one and reboot.

Looking at that, I probably installed a slightly older driver than I could have, but it works. I will get around to tidying up the nvidia stuff soon.

As that incompatible update has been revoked, the better “fix” now would actually be to just uninstall kernel 3.16.7-13.2:

sudo zypper rm kernel-desktop-3.16.7-13.2

Otherwise you will have the same problem again after the next kernel update which will probably be released on Monday. (but again, reinstalling the driver should fix it, actually it should be enough to reinstall the kmp packages like this (depending on which version of the driver you are using:

sudo zypper in -f nvidia-gfxG02-kmp-desktop
sudo zypper in -f nvidia-gfxG03-kmp-desktop nvidia-uvm-gfxG03-kmp-desktop
sudo zypper in -f nvidia-gfxG04-kmp-desktop nvidia-uvm-gfxG04-kmp-desktop