GLX NVIDIA problems after upgrading to 13.2

I did a distro upgrade from 13.1 to 13.2 Everything is working well (sound, internet, etc.) except I’m experiencing some difficulties with my graphics card and desktop effects.

For example if I run nvidia-settings I get


> nvidia-settings 
Xlib:  extension "GLX" missing on display ":0".
[VS] Software VDPAU backend library initialized
Xlib:  extension "GLX" missing on display ":0".
[VS] error (glx_ctx_ref_glc_hash_table): glXChooseVisual failed

If I remove the libvdpau_va_gl1 lib it launches but not without error messages

> nvidia-settings 
Xlib:  extension "GLX" missing on display ":0".
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
Xlib:  extension "GLX" missing on display ":0".

I suspect the problem has something to do with this


> zypper se -is nvidia
Loading repository data...
Reading installed packages...

S | Name                          | Type    | Version               | Arch   | Repository             
--+-------------------------------+---------+-----------------------+--------+------------------------
i | nvidia-computeG03             | package | 340.76-39.1           | x86_64 | (System Packages)      
i | nvidia-gfxG03-kmp-default     | package | 340.76_k3.16.6_2-39.1 | x86_64 | nVidia Graphics Drivers
i | nvidia-gfxG03-kmp-desktop     | package | 340.76_k3.11.6_4-39.1 | x86_64 | (System Packages)      
i | nvidia-gfxG03-kmp-desktop     | package | 340.76_k3.16.6_2-39.1 | x86_64 | nVidia Graphics Drivers
i | nvidia-glG03                  | package | 340.76-39.1           | x86_64 | (System Packages)      
i | nvidia-uvm-gfxG03-kmp-default | package | 340.76_k3.16.6_2-39.1 | x86_64 | nVidia Graphics Drivers
i | nvidia-uvm-gfxG03-kmp-desktop | package | 340.76_k3.11.6_4-39.1 | x86_64 | (System Packages)      
i | nvidia-uvm-gfxG03-kmp-desktop | package | 340.76_k3.16.6_2-39.1 | x86_64 | nVidia Graphics Drivers
i | x11-video-nvidiaG03           | package | 340.76-39.1           | x86_64 | (System Packages)      
i | nvidia-settings               | package | 325.15-1.3            | x86_64 | (System Packages)

i.e. some confusion between system packages and the official nVidia packages. I have tried to remove the “System Packages” (not quite sure what they are) by disabling the nVidia repo and remove them but with no luck.

My graphics card is a GeForce GTX 650 and I’m running KDE 4.14.6.


> uname -a
Linux skrofa 3.16.7-21-desktop #1 SMP PREEMPT Tue Apr 14 07:11:37 UTC 2015 (93c1539) x86_64 x86_64 x86_64 GNU/Linux

> lspci -v | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GTX 650] (rev a1) (prog-if 00 [VGA controller])
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia
01:00.1 Audio device: NVIDIA Corporation GK107 HDMI Audio Controller (rev a1)


I have done some Google-ing and this seems to be somewhat common problem. But I haven’t been lucky enough to find a satisfactory solution yet …

… any takers?

Cheers & thanks!

Yes, you still have nvidia kmp’s for 13.1 installed, and you have a very old nvidia-settings installed.
And your other nvidia driver packages (those that say they come from “(System Packages)”) seem to still be the 13.1 versions as well, those do not work on 13.2!

I would recommend the following:

  • remove all those packages:
sudo zypper rm nvidia-settings x11-video-nvidiaG03 nvidia-computeG03 nvidia-gfxG03-kmp-default nvidia-gfxG03-kmp-desktop nvidia-glG03  nvidia-uvm-gfxG03-kmp-default nvidia-uvm-gfxG03-kmp-desktop
  • install the latest ones from the repo again:
sudo zypper in x11-video-nvidiaG03 nvidia-computeG03 nvidia-gfxG03-kmp-desktop nvidia-glG03 nvidia-uvm-gfxG03-kmp-desktop

Please note, that you don’t need the -kmp-default packages if you are using kernel-desktop (they are intended only for kernel-default as the name implies). And the package nvidia-settings has been removed from Packman nearly 2 years ago. nvidia-settings is included in the standard driver packages anyway and always has been.

Thank you, this seems to have more less worked. Desktop effects are working and the output from glxinfo is consistent.

The only issue remaining is with nvidia-settings. Zypper tells me


> zypper se -s nvidia
Loading repository data...
Reading installed packages...

S | Name                          | Type    | Version                | Arch   | Repository             
--+-------------------------------+---------+------------------------+--------+------------------------
  | nvidia-computeG02             | package | 304.125-35.1           | x86_64 | nVidia Graphics Drivers
  | nvidia-computeG02             | package | 304.125-35.1           | i586   | nVidia Graphics Drivers
i | nvidia-computeG03             | package | 340.76-39.1            | x86_64 | nVidia Graphics Drivers
v | nvidia-computeG03             | package | 340.76-39.1            | i586   | nVidia Graphics Drivers
  | nvidia-computeG04             | package | 346.59-5.1             | x86_64 | nVidia Graphics Drivers
  | nvidia-computeG04             | package | 346.59-5.1             | i586   | nVidia Graphics Drivers
  | nvidia-gfxG02-kmp-default     | package | 304.125_k3.16.6_2-34.1 | x86_64 | nVidia Graphics Drivers
  | nvidia-gfxG02-kmp-default     | package | 304.125_k3.16.6_2-34.1 | i586   | nVidia Graphics Drivers
  | nvidia-gfxG02-kmp-desktop     | package | 304.125_k3.16.6_2-34.1 | x86_64 | nVidia Graphics Drivers
  | nvidia-gfxG02-kmp-desktop     | package | 304.125_k3.16.6_2-34.1 | i586   | nVidia Graphics Drivers
  | nvidia-gfxG02-kmp-pae         | package | 304.125_k3.16.6_2-34.1 | i586   | nVidia Graphics Drivers
  | nvidia-gfxG03-kmp-default     | package | 340.76_k3.16.6_2-39.1  | x86_64 | nVidia Graphics Drivers
  | nvidia-gfxG03-kmp-default     | package | 340.76_k3.16.6_2-39.1  | i586   | nVidia Graphics Drivers
i | nvidia-gfxG03-kmp-desktop     | package | 340.76_k3.16.6_2-39.1  | x86_64 | nVidia Graphics Drivers
v | nvidia-gfxG03-kmp-desktop     | package | 340.76_k3.16.6_2-39.1  | i586   | nVidia Graphics Drivers
  | nvidia-gfxG03-kmp-pae         | package | 340.76_k3.16.6_2-39.1  | i586   | nVidia Graphics Drivers
  | nvidia-gfxG04-kmp-default     | package | 346.59_k3.16.6_2-5.1   | x86_64 | nVidia Graphics Drivers
  | nvidia-gfxG04-kmp-default     | package | 346.59_k3.16.6_2-5.1   | i586   | nVidia Graphics Drivers
  | nvidia-gfxG04-kmp-desktop     | package | 346.59_k3.16.6_2-5.1   | x86_64 | nVidia Graphics Drivers
  | nvidia-gfxG04-kmp-desktop     | package | 346.59_k3.16.6_2-5.1   | i586   | nVidia Graphics Drivers
  | nvidia-gfxG04-kmp-pae         | package | 346.59_k3.16.6_2-5.1   | i586   | nVidia Graphics Drivers
i | nvidia-glG03                  | package | 340.76-39.1            | x86_64 | nVidia Graphics Drivers
v | nvidia-glG03                  | package | 340.76-39.1            | i586   | nVidia Graphics Drivers
  | nvidia-glG04                  | package | 346.59-5.1             | x86_64 | nVidia Graphics Drivers
  | nvidia-glG04                  | package | 346.59-5.1             | i586   | nVidia Graphics Drivers
  | nvidia-uvm-gfxG03-kmp-default | package | 340.76_k3.16.6_2-39.1  | x86_64 | nVidia Graphics Drivers
  | nvidia-uvm-gfxG03-kmp-default | package | 340.76_k3.16.6_2-39.1  | i586   | nVidia Graphics Drivers
i | nvidia-uvm-gfxG03-kmp-desktop | package | 340.76_k3.16.6_2-39.1  | x86_64 | nVidia Graphics Drivers
v | nvidia-uvm-gfxG03-kmp-desktop | package | 340.76_k3.16.6_2-39.1  | i586   | nVidia Graphics Drivers
  | nvidia-uvm-gfxG03-kmp-pae     | package | 340.76_k3.16.6_2-39.1  | i586   | nVidia Graphics Drivers
  | x11-video-nvidiaG02           | package | 304.125-35.1           | x86_64 | nVidia Graphics Drivers
  | x11-video-nvidiaG02           | package | 304.125-35.1           | i586   | nVidia Graphics Drivers
i | x11-video-nvidiaG03           | package | 340.76-39.1            | x86_64 | nVidia Graphics Drivers
v | x11-video-nvidiaG03           | package | 340.76-39.1            | i586   | nVidia Graphics Drivers
  | x11-video-nvidiaG04           | package | 346.59-5.1             | x86_64 | nVidia Graphics Drivers
  | x11-video-nvidiaG04           | package | 346.59-5.1             | i586   | nVidia Graphics Drivers
  | nvidia-uvm-gfxG04-kmp-default | package | 346.59_k3.16.6_2-5.1   | x86_64 | nVidia Graphics Drivers
  | nvidia-uvm-gfxG04-kmp-desktop | package | 346.59_k3.16.6_2-5.1   | x86_64 | nVidia Graphics Drivers
  | conky-feature-nvidia          | package | 1.9.0-25.12            | x86_64 | Packman Repository     
  | conky-feature-nvidia          | package | 1.9.0-25.12            | i586   | Packman Repository     
  | nvidia-texture-tools          | package | 2.0.6-25.1.8           | x86_64 | openSUSE-13.2 OSS      
  | nvidia-texture-tools          | package | 2.0.6-25.1.8           | i586   | openSUSE-13.2 OSS

i.e. no nvidia-settings. But


> which nvidia-settings
/usr/bin/nvidia-settings

and it runs!

My repos


> zypper lr -u
# | Alias                        | Name                         | Enabled | Refresh | URI                                                                     
--+------------------------------+------------------------------+---------+---------+-------------------------------------------------------------------------
1 | AppGeo                       | AppGeo                       | Yes     | Yes     | http://download.opensuse.org/repositories/Application:/Geo/openSUSE_13.2
2 | download.nvidia.com-opensuse | nVidia Graphics Drivers      | Yes     | Yes     | http://download.nvidia.com/opensuse/13.2/                               
3 | ftp.gwdg.de-suse             | Packman Repository           | Yes     | Yes     | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_13.2/                
4 | opensuse-guide.org-repo      | libdvdcss repository         | Yes     | Yes     | http://opensuse-guide.org/repo/13.2/                                    
5 | repo-13.2-non-oss            | openSUSE-13.2 Non-OSS        | Yes     | Yes     | http://download.opensuse.org/distribution/13.2/repo/non-oss/            
6 | repo-13.2-oss                | openSUSE-13.2 OSS            | Yes     | Yes     | http://download.opensuse.org/distribution/13.2/repo/oss/                
7 | repo-13.2-update             | openSUSE-13.2 Updates        | Yes     | Yes     | http://download.opensuse.org/update/13.2/                               
8 | repo-update-non-oss          | openSUSE-13.2-Update-Non-Oss | Yes     | Yes     | http://download.opensuse.org/update/13.2-non-oss/


You’re welcome.

The only issue remaining is with nvidia-settings. Zypper tells me

i.e. no nvidia-settings. But

which nvidia-settings
/usr/bin/nvidia-settings

and it runs!

And where is the issue then?

As I wrote already, nvidia-settings is part of the nvidia driver packages, and always has been.
There’s no need to install it separately, and it is a bad idea to have it in a different version than the driver anyway.
That’s the reason why it got dropped from Packman nearly 2! years ago, I was the one who took the initiative to propose its deletion back then. :wink:

Ok, I understand now. I took it to be still a separate package, just from the the nvidia repo, so it would pop up on the zypper search list.

Thank you again!

No, it is contained in the x11-video-nvidiaG03 package.

Btw, “rpm -qf /usr/bin/nvidia-settings” would tell you from which package the file comes… :wink: