Update of Leap 15.6 has broken gui

Hi,
Not sure if this needs a new post as there are similar, but I’m not sure I fully understand the fix.

Hi, I think i’ve got the same problem as Zypper update broke NVidia drivers I’m running Leap 15.6 and after un upgrade the gui no longer appears. I seem to have inconsistent nvidia issues:

Sep 11 23:01:25 BIGB kernel: nvidia 0000:41:00.0: Direct firmware load for nvidia/570.144/gsp_tu10x.bin failed with error -2
Sep 11 23:01:25 BIGB kernel: NVRM: RmFetchGspRmImages: No firmware image found
Sep 11 23:01:25 BIGB kernel: NVRM: GPU 0000:41:00.0: RmInitAdapter failed! (0x61:0x56:1770)
Sep 11 23:01:25 BIGB kernel: NVRM: GPU 0000:41:00.0: rm_init_adapter failed, device minor number 0
Sep 11 23:01:25 BIGB kernel: [drm:nv_drm_load [nvidia_drm]] ERROR [nvidia-drm] [GPU ID 0x00004100] Failed to allocate NvKmsKapiDevice
Sep 11 23:01:25 BIGB kernel: [drm:nv_drm_register_drm_device [nvidia_drm]] ERROR [nvidia-drm] [GPU ID 0x00004100] Failed to register d

Sep 11 23:01:26 BIGB kernel: NVRM: API mismatch: the client has the version 580.82.07, but
NVRM: this kernel module has the version 570.144. Please
NVRM: make sure that this kernel module and all NVIDIA driver
NVRM: components have the same version.

What is the easiest way to fix this?

Thanks for any help.

Hi, welcome to these forums

First of all, please post output in pre-formatted text ( </> in the editor ). Makes it more readable.
A couple of questions:

  • Are you on a btrfs file system? If so, you could rollback to before the update.
  • What are your installed nvidia packages?
    zypper se -si -v nvidia

As @knurpht says, post it.

Hi,
Thanks for the reply, didn’t know that I could revert to an old version that is great. And seems to have worked. I would be interested to know how to upgrade.

Here is that section from the journalctl - I have the hole outptut as a file, but it seems too long to post here plane text.

Sep 11 23:01:32 BIGB kernel: NVRM: API mismatch: the client has the version 580.82.07, but
                             NVRM: this kernel module has the version 570.144.  Please
                             NVRM: make sure that this kernel module and all NVIDIA driver
                             NVRM: components have the same version.

Here is the output from my rolledback and now working installed nvidia packages, but that is of little use.

S  | Name                                      | Type    | Version                                | Arch   | Repository
---+-------------------------------------------+---------+----------------------------------------+--------+---------------------
i  | kernel-firmware-nvidia                    | package | 20250205-150600.3.15.1                 | noarch | update-sle (15.6)
    name: kernel-firmware-nvidia
i  | libnvidia-egl-gbm1                        | package | 1.1.2-lp156.5.1                        | x86_64 | repo-non-free (15.6)
    name: libnvidia-egl-gbm1
i  | nvidia-common-G06                         | package | 570.144-lp156.34.1                     | x86_64 | repo-non-free (15.6)
    name: nvidia-common-G06
i  | nvidia-compute-G06                        | package | 570.144-lp156.34.1                     | x86_64 | repo-non-free (15.6)
    name: nvidia-compute-G06
i  | nvidia-compute-utils-G06                  | package | 570.144-lp156.34.1                     | x86_64 | repo-non-free (15.6)
    name: nvidia-compute-utils-G06
i  | nvidia-gl-G06                             | package | 570.144-lp156.34.1                     | x86_64 | repo-non-free (15.6)
    name: nvidia-gl-G06
i  | nvidia-modprobe                           | package | 570.153.02-lp156.14.1                  | x86_64 | repo-non-free (15.6)
    name: nvidia-modprobe
i  | nvidia-open-driver-G06-signed-kmp-default | package | 570.144_k6.4.0_150600.21-150600.3.48.2 | x86_64 | update-sle (15.6)
    name: nvidia-open-driver-G06-signed-kmp-default
i  | nvidia-persistenced                       | package | 570.153.02-lp156.2.1                   | x86_64 | repo-non-free (15.6)
    name: nvidia-persistenced
i  | nvidia-userspace-meta-G06                 | package | 570.144-lp156.3.1                      | noarch | repo-non-free (15.6)
    name: nvidia-userspace-meta-G06
i  | nvidia-video-G06                          | package | 570.144-lp156.34.1                     | x86_64 | repo-non-free (15.6)
    name: nvidia-video-G06
i+ | openSUSE-repos-Leap-NVIDIA                | package | 20250303.f74564e-lp156.2.6.1           | x86_64 | update-oss (15.6)
    name: openSUSE-repos-Leap-NVIDIA

If i want to run update again, what is the best way to stop changing the nvidia parts or to fix them if they go wrong again?
Thanks, I’m so happy that I’ve got the gui back!

Post execxuted as root:
zypper up

If the paste is to big, use susepaste:
install susepaste:
zypper in -f susepaste

use it:
zypper up -D -y | susepaste -e 131040
now you will get 2 URLs, but only the one from paste.opensuse.org should be postet here.

zypper up = update your system
-D = dry run, test only update
-y = no User action is forced

-e 131040 = the paste on paste.opensuse.org will be deleted after 3 month.

Thanks Sauerland, this one is not too big,

(base) jon@BIGB:~> sudo zypper up -D -y
[sudo] password for root: 
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...

The following package update will NOT be installed:
  nvidia-open-driver-G06-signed-kmp-default

The following 270 packages are going to be upgraded:
  7zip alsa-ucm-conf boost-license1_66_0 busybox-static cifs-utils coreutils coreutils-doc coreutils-lang cpupower cpupower-bash-completion
  cpupower-lang crypto-policies cyrus-sasl cyrus-sasl-crammd5 cyrus-sasl-digestmd5 cyrus-sasl-gssapi cyrus-sasl-plain dirmngr firebird firewalld
  firewalld-bash-completion firewalld-lang gdk-pixbuf-lang gdk-pixbuf-query-loaders gdk-pixbuf-thumbnailer glib2-lang glib2-tools glibc glibc-devel
  glibc-extra glibc-lang glibc-locale glibc-locale-base google-chrome-stable gpg2 gpg2-lang grub2 grub2-i386-pc grub2-snapper-plugin
  grub2-systemd-sleep-plugin grub2-x86_64-efi gstreamer-plugins-base gstreamer-plugins-base-lang gstreamer-plugins-good gstreamer-plugins-good-gtk
  gstreamer-plugins-good-lang hwinfo ImageMagick ImageMagick-config-7-SUSE iputils java-11-openjdk java-11-openjdk-headless jq kmozillahelper konsole
  konsole-part konsole-part-lang libarchive13 libavcodec57 libavcodec58_134 libavfilter7_110 libavformat58_76 libavif16 libavresample4_0 libavutil55
  libavutil56_70 libbd_btrfs2 libbd_crypto2 libbd_fs2 libbd_loop2 libbd_lvm2 libbd_mdraid2 libbd_part2 libbd_swap2 libbd_utils2 libblockdev libblockdev2
  libboost_iostreams1_66_0 libboost_regex1_66_0 libboost_system1_66_0 libboost_thread1_66_0 libbpf1 libchm0 libcpupower1 libdjvulibre21 libetebase0
  libfbclient2 libfreebl3 libgcc_s1 libgcrypt20 libgdk_pixbuf-2_0-0 libgio-2_0-0 libglib-2_0-0 libgmodule-2_0-0 libgnutls30 libgobject-2_0-0 libgomp1
  libgstallocators-1_0-0 libgstapp-1_0-0 libgstaudio-1_0-0 libgstfft-1_0-0 libgstgl-1_0-0 libgstpbutils-1_0-0 libgstphotography-1_0-0 libgstplay-1_0-0
  libgstplayer-1_0-0 libgstriff-1_0-0 libgstrtp-1_0-0 libgstrtsp-1_0-0 libgstsdp-1_0-0 libgsttag-1_0-0 libgstvideo-1_0-0 libgthread-2_0-0 libib_util
  libicu65_1-ledata libicu-suse65_1 libjq1 libMagickCore-7_Q16HDRI10 libMagickWand-7_Q16HDRI10 libnfsidmap0 libnfsidmap1 libnm0 libnvme1 libnvme-mi1
  libobjc4 libOpenCL1 libopenssl1_1 libopenssl3 libpolkit-agent-1-0 libpolkit-gobject-1-0 libpoppler135 libpoppler-cpp0 libpoppler-glib8
  libpoppler-qt5-1 libpostproc55_9 libprotobuf25_1_0 libprotobuf-lite25_1_0 libpython3_6m1_0 librav1e0_6 libreoffice libreoffice-base
  libreoffice-base-drivers-firebird libreoffice-calc libreoffice-draw libreoffice-filters-optional libreoffice-icon-themes libreoffice-impress
  libreoffice-l10n-en libreoffice-mailmerge libreoffice-math libreoffice-pyuno libreoffice-qt5 libreoffice-writer libruby2_5-2_5
  libsamba-policy0-python3 libsasl2-3 libsoftokn3 libsolv-tools libsolv-tools-base libsoup-3_0-0 libsoup-lang libsqlite3-0 libssh4 libssh-config
  libstdc++6 libstdc++6-pp libswresample2 libswresample3_9 libswscale5_9 libsystemd0 libtiff6 libudev1 libudisks2-0 libudisks2-0_btrfs libxml2-2
  libxml2-tools libyaml-0-2 libzypp mdadm MozillaFirefox mozilla-nspr mozilla-nss mozilla-nss-certs mozilla-nss-sysinit mozilla-openh264 NetworkManager
  NetworkManager-bluetooth NetworkManager-lang NetworkManager-tui NetworkManager-wwan nfs-client nscd nvidia-common-G06 nvidia-compute-G06
  nvidia-compute-utils-G06 nvidia-gl-G06 nvidia-modprobe nvidia-persistenced nvidia-userspace-meta-G06 nvidia-video-G06 nvme-cli
  nvme-cli-bash-completion openssh openssh-askpass-gnome openssh-clients openssh-common openssh-server openssl-3 openSUSE-repos-Leap
  openSUSE-repos-Leap-NVIDIA pam pam-config pam-doc perl perl-base perl-core-DB_File pkexec polkit poppler-tools python3 python3-base
  python3-cryptography python3-curses python3-dbm python3-firewall python3-pip python3-pyOpenSSL python3-setuptools python3-solv rsyslog ruby2.5
  ruby2.5-stdlib ruby-solv samba samba-client samba-client-libs samba-dcerpc samba-libs samba-libs-python3 samba-python3 screen sqlite3 sqlite3-devel
  sqlite3-tcl sudo sudo-plugin-python suse-module-tools systemd systemd-doc systemd-lang systemd-presets-branding-openSUSE systemd-rpm-macros
  typelib-1_0-NM-1_0 ucode-intel udev udisks2 udisks2-lang update-alternatives vim vim-data vim-data-common xen-libs xorg-x11-server
  xorg-x11-server-extra xorg-x11-server-Xvfb xwayland yast2-packager zypper zypper-log zypper-needs-restarting

The following 8 NEW packages are going to be installed:
  kernel-default-6.4.0-150600.23.65.1 kernel-default-extra-6.4.0-150600.23.65.1 kernel-default-optional-6.4.0-150600.23.65.1 libnvidia-gpucomp
  libopenh264-8 libSvtAv1Enc1 libyuv0 update-desktop-files

The following package requires a system reboot:
  kernel-default-6.4.0-150600.23.65.1

270 packages to upgrade, 8 new.

Package download size:    1.02 GiB

Package install size change:
              |      3.27 GiB  required by packages that will be installed
   451.0 MiB  |  -   2.83 GiB  released by packages that will be removed

    Note: --dry-run is set, otherwise a system reboot would be required.

Backend:  classic_rpmtrans --dry-run
Continue? [y/n/v/...? shows all options] (y): y
Do you agree with the terms of the license? [yes/no] (no): no
Aborting installation due to the need for license confirmation.
Please restart the operation in interactive mode and confirm your agreement with required licenses, or use the --auto-agree-with-licenses option.

Also post:
zypper lr -d

and

zypper ll

zypper lr -d

sudo zypper lr -d
[sudo] password for root: 
#  | Alias                           | Name                           | Enabled | GPG Check | Refresh | Keep | Priority | Type   | URI                                                                                  | Service
---+---------------------------------+--------------------------------+---------+-----------+---------+------+----------+--------+--------------------------------------------------------------------------------------+---------
 1 | NVIDIA:repo-non-free            | repo-non-free (15.6)           | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | https://download.nvidia.com/opensuse/leap/15.6                                       | NVIDIA
 2 | X11_RemoteDesktop               | Remote Desktop software (15.6) | Yes     | (r ) Yes  | No      | -    |   99     | rpm-md | https://download.opensuse.org/repositories/X11:/RemoteDesktop/15.6/                  | 
 3 | google-chrome                   | google-chrome                  | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | https://dl.google.com/linux/chrome/rpm/stable/x86_64                                 | 
 4 | openSUSE-Leap-15.6-1            | openSUSE-Leap-15.6-1           | No      | ----      | ----    | -    |   99     | rpm-md | hd:/?device=/dev/disk/by-id/usb-Verbatim_STORE_N_GO_11262084113001A0-0:0-part2       | 
 5 | openSUSE:repo-non-oss           | repo-non-oss (15.6)            | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://cdn.opensuse.org/distribution/leap/15.6/repo/non-oss?mediahandler=curl2       | openSUSE
 6 | openSUSE:repo-non-oss-debug     | repo-non-oss-debug (15.6)      | No      | ----      | ----    | -    |   99     | N/A    | http://cdn.opensuse.org/debug/distribution/leap/15.6/repo/non-oss?mediahandler=curl2 | openSUSE
 7 | openSUSE:repo-openh264          | repo-openh264 (15.6)           | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Leap?mediahandler=curl2                 | openSUSE
 8 | openSUSE:repo-oss               | repo-oss (15.6)                | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://cdn.opensuse.org/distribution/leap/15.6/repo/oss?mediahandler=curl2           | openSUSE
 9 | openSUSE:repo-oss-debug         | repo-oss-debug (15.6)          | No      | ----      | ----    | -    |   99     | N/A    | http://cdn.opensuse.org/debug/distribution/leap/15.6/repo/oss?mediahandler=curl2     | openSUSE
10 | openSUSE:repo-oss-source        | repo-oss-source (15.6)         | No      | ----      | ----    | -    |   99     | N/A    | http://cdn.opensuse.org/source/distribution/leap/15.6/repo/oss?mediahandler=curl2    | openSUSE
11 | openSUSE:update-backports       | update-backports (15.6)        | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://cdn.opensuse.org/update/leap/15.6/backports?mediahandler=curl2                | openSUSE
12 | openSUSE:update-backports-debug | update-backports-debug (15.6)  | No      | ----      | ----    | -    |   99     | N/A    | http://cdn.opensuse.org/update/leap/15.6/backports_debug?mediahandler=curl2          | openSUSE
13 | openSUSE:update-non-oss         | update-non-oss (15.6)          | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://cdn.opensuse.org/update/leap/15.6/non-oss?mediahandler=curl2                  | openSUSE
14 | openSUSE:update-non-oss-debug   | update-non-oss-debug (15.6)    | No      | ----      | ----    | -    |   99     | N/A    | http://cdn.opensuse.org/debug/update/leap/15.6/non-oss?mediahandler=curl2            | openSUSE
15 | openSUSE:update-oss             | update-oss (15.6)              | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://cdn.opensuse.org/update/leap/15.6/oss?mediahandler=curl2                      | openSUSE
16 | openSUSE:update-oss-debug       | update-oss-debug (15.6)        | No      | ----      | ----    | -    |   99     | N/A    | http://cdn.opensuse.org/debug/update/leap/15.6/oss?mediahandler=curl2                | openSUSE
17 | openSUSE:update-sle             | update-sle (15.6)              | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://cdn.opensuse.org/update/leap/15.6/sle?mediahandler=curl2                      | openSUSE
18 | openSUSE:update-sle-debug       | update-sle-debug (15.6)        | No      | ----      | ----    | -    |   99     | N/A    | http://cdn.opensuse.org/debug/update/leap/15.6/sle?mediahandler=curl2                | openSUSE

and zypper ll

(base) jon@BIGB:~> sudo zypper ll

There are no package locks defined.

(base) jon@BIGB:~> 

I would switch to the Nvidia-kmp from Nvidia Repo:

zypper dup --allow-vendor-change --auto-agree-with-licenses --from https://download.nvidia.com/opensuse/leap/15.6

Because highest Version of the open-kmp is:

nvidia-open-driver-G06-signed-kmp-default        | Paket      | 570.172.08_k6.4.0_150600.21-150600.3.56.2

but in the Repo is also the highest Version:

i+ | nvidia-driver-G06-kmp-default | Paket | 580.82.07_k6.4.0_150600.21-lp156.39.1

After this, before you restart, post:
zypper se -si nvidia

Thanks for the advice, had a few things to do before I could look at this again. This is the output from zypper se -si nvidia.
I’m concerned that one of the packages still has a different version.

nvidia-open-driver-G06-signed-kmp-default | package | 570.144_k6.4.0_150600.21-150600.3.48.2 | x86_64 | update-sle (15.6)

Is there anything I should do before rebooting to fix this?

(base) jon@BIGB:~> sudo zypper se -si nvidia
Loading repository data...
Reading installed packages...

S  | Name                                      | Type    | Version                                | Arch   | Repository
---+-------------------------------------------+---------+----------------------------------------+--------+---------------------
i  | kernel-firmware-nvidia                    | package | 20250205-150600.3.15.1                 | noarch | update-sle (15.6)
i  | libnvidia-egl-gbm1                        | package | 1.1.2-lp156.5.1                        | x86_64 | repo-non-free (15.6)
i  | libnvidia-gpucomp                         | package | 580.82.07-lp156.39.1                   | x86_64 | repo-non-free (15.6)
i  | nvidia-common-G06                         | package | 580.82.07-lp156.39.1                   | x86_64 | repo-non-free (15.6)
i  | nvidia-compute-G06                        | package | 580.82.07-lp156.39.1                   | x86_64 | repo-non-free (15.6)
i  | nvidia-compute-utils-G06                  | package | 580.82.07-lp156.39.1                   | x86_64 | repo-non-free (15.6)
i  | nvidia-gl-G06                             | package | 580.82.07-lp156.39.1                   | x86_64 | repo-non-free (15.6)
i  | nvidia-modprobe                           | package | 580.82.07-lp156.18.1                   | x86_64 | repo-non-free (15.6)
i  | nvidia-open-driver-G06-signed-kmp-default | package | 570.144_k6.4.0_150600.21-150600.3.48.2 | x86_64 | update-sle (15.6)
i  | nvidia-persistenced                       | package | 580.82.07-lp156.2.1                    | x86_64 | repo-non-free (15.6)
i  | nvidia-userspace-meta-G06                 | package | 580.82.07-lp156.12.1                   | noarch | repo-non-free (15.6)
i  | nvidia-video-G06                          | package | 580.82.07-lp156.39.1                   | x86_64 | repo-non-free (15.6)
i+ | openSUSE-repos-Leap-NVIDIA                | package | 20250303.f74564e-lp156.2.6.1           | x86_64 | update-oss (15.6)
(base) jon@BIGB:~> 

So i tried rebooting and the GUI is broken agiain.
susepaste of journalctl is here:
paste.opensuse.org/bcf79566f2ea
Will rollback again…
Thanks

I am no expert in this area. But what strikes me is I think most of the NVIDIA packages (libnvidia-*, nvidia-gl-G06, nvidia-compute-G06, etc.) are coming from repo-non-free (15.6).

But the signed kernel module, nvidia-open-driver-G06-signed-kmp-default (important for your kernel), is coming from update-sle (15.6), which is the SLE (SUSE Linux Enterprise) update repository.

I wonder if mixing LEAP repos with SLE repos (in this case) can cause mismatched driver and kernel module versions?

You also have openSUSE-repos-Leap-NVIDIA installed from update-oss (15.6)— and I am asking myself, can it can pull in older or conflicting packages if multiple NVIDIA repos are enabled? I don’t know.

As opposed to using the nvidia-open-driver-G06-signed-kmp-default from SLE , is there instead a more compatible package under repo-no-free (15.6)? Something like: x11-video-nvidiaG06-kmp-default (possibly a different name). You may have to check the repos to get the precise name.

Before swaping the SLE " ... signed-kmp-default" package with any possible ... nvidiaG06-kmp-default from the repo-no-free(15.6) repository, ** I highly recommend you wait until those more knowledgeable than myself, on our forum, chime in.**

It shouldn’t, it is there by design. The repo setup is fine for 15.6.

This is the wrong kmp.
So install:

zypper in -f nvidia-driver-G06-kmp-default

That should pull in the right kmp from Nvidia Repo and deinstall the one from the Update-Sle Repo.