After 15.3 update Nvidia does not create xconfig file

Hello,
I have a laptop with a Geforce GTX 1650 (4 GB) in which the Nvidia drivers have been running well in 15.2. After the 15.3 Leap upgrade, and subsequent updatates when I try to select Nvidia with prime I get the response:

sudo prime-select nvidia[sudo] password for root: 
/usr/sbin/prime-select: line 218: nvidia-xconfig: command not found
 Reconfiguration failed 
 Restoring previous configuration: undefined

When I run

zypper se -i nvidia
, I get:

Error building the cache:[NVIDIA|https://download.nvidia.com/opensuse/leap/15.3/] Valid metadata not found at specified URL
History:
 - Can't create /var/cache/zypp/raw/NVIDIA


Warning: The metadata cache needs to be built for the 'Nvidia' repository. You can run 'zypper refresh' as root to do this.
Warning: Skipping repository 'Nvidia' because of the above error.
Some of the repositories have not been refreshed because of an error.
Loading repository data...
Reading installed packages...


S  | Name                      | Summary                                                               | Type
---+---------------------------+-----------------------------------------------------------------------+--------
i  | kernel-firmware-nvidia    | Kernel firmware files for Nvidia Tegra and graphics drivers           | package
i+ | nvidia-computeG05         | NVIDIA driver for computing with GPGPU                                | package
i+ | nvidia-firmware-installer | Downloads and installs nVidia firmware                                | package
i  | nvidia-gfxG05-kmp-default | NVIDIA graphics driver kernel module for GeForce 600 series and newer | package
i  | nvidia-gfxG05-kmp-preempt | NVIDIA graphics driver kernel module for GeForce 600 series and newer | package
i+ | nvidia-texture-tools      | NVIDIA Texture Tools                                                  | package
i+ | pcp-pmda-nvidia-gpu       | Performance Co-Pilot (PCP) metrics for the Nvidia GPU                 | package
i  | x11-video-nvidiaG05       | NVIDIA graphics driver for GeForce 600 series and newer               | package



Has anyone faced a similar issue with the upgrade? If so, how have you fixed it?

Thanks in advance for your attention! :slight_smile:

Run

zypper ref

as root, not sudo…

I have never used nvidia-xconfig to write a conf…
My System has ever worked without any xorg.conf.

PS: better not writing:

When I run

[QUOTE]zypper se -i nvidia

, I get:


Error building the cache:[NVIDIA|https://download.nvidia.com/opensuse/leap/15.3/] Valid metadata not found at specified URL
History:
 - Can't create /var/cache/zypp/raw/NVIDIA


Warning: The metadata cache needs to be built for the 'Nvidia' repository. You can run 'zypper refresh' as root to do this.
Warning: Skipping repository 'Nvidia' because of the above error.
Some of the repositories have not been refreshed because of an error.
Loading repository data...
Reading installed packages...


S  | Name                      | Summary                                                               | Type
---+---------------------------+-----------------------------------------------------------------------+--------
i  | kernel-firmware-nvidia    | Kernel firmware files for Nvidia Tegra and graphics drivers           | package
i+ | nvidia-computeG05         | NVIDIA driver for computing with GPGPU                                | package
i+ | nvidia-firmware-installer | Downloads and installs nVidia firmware                                | package
i  | nvidia-gfxG05-kmp-default | NVIDIA graphics driver kernel module for GeForce 600 series and newer | package
i  | nvidia-gfxG05-kmp-preempt | NVIDIA graphics driver kernel module for GeForce 600 series and newer | package
i+ | nvidia-texture-tools      | NVIDIA Texture Tools                                                  | package
i+ | pcp-pmda-nvidia-gpu       | Performance Co-Pilot (PCP) metrics for the Nvidia GPU                 | package
i  | x11-video-nvidiaG05       | NVIDIA graphics driver for GeForce 600 series and newer               | package

[/QUOTE]

Better is to show the whole one and with

zypper se -si nvidia
.
That show more Information:

linux64:/home/stephan # LANG=C zypper se -si virtualbox
Loading repository data...
Reading installed packages...

S  | Name                   | Type    | Version                                     | Arch   | Repository
---+------------------------+---------+---------------------------------------------+--------+------------------------------------------
i+ | virtualbox             | package | 6.1.24-lp153.609.2                          | x86_64 | Sauerland:kernel:stable:backport:hardware
i+ | virtualbox-kmp-default | package | 6.1.22_k5.13.2_lp153.5.g89416ca-lp153.607.1 | x86_64 | (System Packages)
i+ | virtualbox-kmp-default | package | 6.1.24_k5.13.3_lp153.6.ga433f80-lp153.609.2 | x86_64 | Sauerland:kernel:stable:backport:hardware
i+ | virtualbox-qt          | package | 6.1.24-lp153.609.2                          | x86_64 | Sauerland:kernel:stable:backport:hardware


I use also LANG=C before the command to get an English output.

Have you run

zypper refresh

As suggested???

Assuming that all you need to get root access is ‘sudo su’, then:

**#** zypper ref
 Repository 'Atom Editor' is up to date.                                                                                        
Repository 'MEGAsync' is up to date.                                                                                           
Repository 'Nvidia' is up to date.                                                                                             
Repository 'balena-etcher' is up to date.                                                                                      
Repository 'gitlab.com_paulcarroty_vscodium_repo' is up to date.                                                               
Repository 'google-chrome' is up to date.                                                                                      
Repository 'devel:languages:python:backports' is up to date.                                                                   
Repository 'devel:languages:python:Factory' is up to date.                                                                     
Repository 'hardware' is up to date.                                                                                           
Repository 'devel:languages:python:numeric' is up to date.                                                                     
Repository 'home:phoenix.os:main' is up to date.                                                                               
Repository 'home:megamaced:spotify-easyrpm' is up to date.                                                                     
Repository 'multimedia:libs' is up to date.                                                                                    
Repository 'microsoft-edge-dev' is up to date.                                                                                 
Repository 'openSUSE-Leap-15.3-1' is up to date.                                                                               
Repository 'packman' is up to date.                                                                                            
Repository 'Update repository of openSUSE Backports' is up to date.                                                            
Repository 'Non-OSS Repository' is up to date.                                                                                 
Repository 'Main Repository' is up to date.                                                                                    
Repository 'Update repository with updates from SUSE Linux Enterprise 15' is up to date.                                       
Repository 'Main Update Repository' is up to date.                                                                             
Repository 'Update Repository (Non-Oss)' is up to date.                                                                        
Repository 'skype (stable)' is up to date.                                                                                     
Repository 'spotify-easyrpm' is up to date.                                                                                    
Repository 'Sublime Text - x86_64 - Stable' is up to date.                                                                     
Repository 'teams' is up to date.                                                                                              
Repository 'vivaldi' is up to date.                                                                                            
Repository 'yandex-browser-beta' is up to date.                                                                                
All repositories have been refreshed.


And also:

**#** zypper se -si nvidia
Loading repository data...
Reading installed packages...

S  | Name                      | Type    | Version                         | Arch   | Repository
---+---------------------------+---------+---------------------------------+--------+---------------------
i  | kernel-firmware-nvidia    | package | 20210208-2.4                    | noarch | openSUSE-Leap-15.3-1
i  | kernel-firmware-nvidia    | package | 20210208-2.4                    | noarch | Main Repository
i+ | nvidia-computeG05         | package | 470.57.02-lp153.42.1            | x86_64 | Nvidia
i+ | nvidia-firmware-installer | package | 1.1-lp153.1.1                   | noarch | hardware
i  | nvidia-gfxG05-kmp-default | package | 470.57.02_k5.3.18_57-lp153.42.1 | x86_64 | Nvidia
i  | nvidia-gfxG05-kmp-preempt | package | 470.57.02_k5.3.18_57-lp153.42.1 | x86_64 | Nvidia
i+ | nvidia-texture-tools      | package | 2.1.2-lp152.47.1                | x86_64 | (System Packages)
i+ | pcp-pmda-nvidia-gpu       | package | 5.2.2-1.4                       | x86_64 | openSUSE-Leap-15.3-1
i+ | pcp-pmda-nvidia-gpu       | package | 5.2.2-1.4                       | x86_64 | Main Repository
i  | x11-video-nvidiaG05       | package | 470.57.02-lp153.42.1            | x86_64 | Nvidia


Yes, it was my first attempt at fixing this issue. I even uninstalled and installed the Nvidia drivers, without succes. :frowning:

sudo has in openSUSE not the same Environment as su…

But you miss a package:

rpm -ql https://download.nvidia.com/opensuse/leap/15.3/x86_64/nvidia-glG05-470.57.02-lp153.42.1.x86_64.rpm
/etc/vulkan
/etc/vulkan/icd.d
/etc/vulkan/icd.d/nvidia_icd.json
/etc/vulkan/implicit_layer.d
/etc/vulkan/implicit_layer.d/nvidia_layers.json
/usr/bin/nvidia-xconfig
/usr/lib/libEGL_nvidia.so.0
/usr/lib/libEGL_nvidia.so.470.57.02
/usr/lib/libGLESv1_CM_nvidia.so.1
/usr/lib/libGLESv1_CM_nvidia.so.470.57.02
/usr/lib/libGLESv2_nvidia.so.2
/usr/lib/libGLESv2_nvidia.so.470.57.02
/usr/lib/libGLX_nvidia.so.0
/usr/lib/libGLX_nvidia.so.470.57.02
/usr/lib/libnvidia-eglcore.so.470.57.02
/usr/lib/libnvidia-glcore.so.470.57.02
/usr/lib/libnvidia-glsi.so.470.57.02
/usr/lib/libnvidia-ifr.so.1
/usr/lib/libnvidia-ifr.so.470.57.02
/usr/lib64/libEGL_nvidia.so.0
/usr/lib64/libEGL_nvidia.so.470.57.02
/usr/lib64/libGLESv1_CM_nvidia.so.1
/usr/lib64/libGLESv1_CM_nvidia.so.470.57.02
/usr/lib64/libGLESv2_nvidia.so.2
/usr/lib64/libGLESv2_nvidia.so.470.57.02
/usr/lib64/libGLX_nvidia.so.0
/usr/lib64/libGLX_nvidia.so.470.57.02
/usr/lib64/libnvidia-cfg.so.1
/usr/lib64/libnvidia-cfg.so.470.57.02
/usr/lib64/libnvidia-egl-wayland.so.1
/usr/lib64/libnvidia-egl-wayland.so.1.1.7
/usr/lib64/libnvidia-eglcore.so.470.57.02
/usr/lib64/libnvidia-fbc.so.1
/usr/lib64/libnvidia-fbc.so.470.57.02
/usr/lib64/libnvidia-glcore.so.470.57.02
/usr/lib64/libnvidia-glsi.so.470.57.02
/usr/lib64/libnvidia-ifr.so.1
/usr/lib64/libnvidia-ifr.so.470.57.02
/usr/lib64/xorg/modules/extensions
/usr/lib64/xorg/modules/extensions/libglxserver_nvidia.so
/usr/lib64/xorg/modules/extensions/libglxserver_nvidia.so.470.57.02
/usr/share/egl
/usr/share/egl/egl_external_platform.d
/usr/share/egl/egl_external_platform.d/10_nvidia_wayland.json
/usr/share/glvnd
/usr/share/glvnd/egl_vendor.d
/usr/share/glvnd/egl_vendor.d/10_nvidia.json

Forgotten:
There will be an error on installing nvidia, ignore it, its only for Tumbleweed:
https://bugzilla.opensuse.org/show_bug.cgi?id=1188567

Update is on the way.

Yes, when I try to install it through YaST I get the comment that it cannot provide “libnvidia-egl-wayland1 >=1.17” so I didn’t touch it.

See this one:

This solution worked! :smiley:

Thank you very much!!!