Second monitor no longer working after upgrade

@pkeusem

Yes it will, at least on my side.

Please do something.

rpm -e nvidia-driver-G06-kmp-default-580.76.05_k6.4.0_150600.21-lp156.39.1.x86_64 --nodeps

and then:

 zypper in nvidia-driver-G06-kmp-default = 580.76.05_k6.4.0_150600.21-lp156.39.1

Do the above ^^ and post the output from terminal here…
Please see also for other warning / errors during the build process…

Regards.

Let me check. But, adding wrong tags is confusing.
EDIT: I added plasma-5 and changed the tag

@Jniko Here are the results from your suggested commands:

rpm -e nvidia-driver-G06-kmp-default-580.76.05_k6.4.0_150600.21-lp156.39.1.x86_64 --nodeps
depmod: ERROR: fstatat(5, nvidia-drm.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia-modeset.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia-uvm.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia-drm.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia-modeset.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia-uvm.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia.ko): No such file or directory

zypper in nvidia-driver-G06-kmp-default = 580.76.05_k6.4.0_150600.21-lp156.39.1
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  nvidia-driver-G06-kmp-default

1 new package to install.

Package download size:    79.4 MiB

Package install size change:
              |     234.7 MiB  required by packages that will be installed
   234.7 MiB  |  -      0 B    released by packages that will be removed

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): 
<license snipped>
(Press 'q' to exit the pager.)
Do you agree with the terms of the license? [yes/no] (no): yes
Retrieving:
nvidia-driver-G06-kmp-default-580.76.05_k6.4.0_150600.21-lp156.39.1.x86_64
(repo-non-free (15.6))
                                                            (1/1),  79.4 MiB    
Retrieving: nvidia-driver-G06-kmp-default-580.76.05_k6.4.0_150[done (1.1 MiB/s)]

Checking for file conflicts: .............................................[done]
../../../linux-6.4.0-150600.21/Makefile:767: /usr/src/linux-6.4.0-150600.21/arch/i686-linux6.4/Makefile: No such file or directory
make: *** No rule to make target '/usr/src/linux-6.4.0-150600.21/arch/i686-linux6.4/Makefile'.  Stop.
make: Entering directory '/usr/src/linux-6.4.0-150600.21-obj/x86_64/default'
../../../linux-6.4.0-150600.21/Makefile:767: /usr/src/linux-6.4.0-150600.21/arch/i686-linux6.4/Makefile: No such file or directory
make: *** No rule to make target '/usr/src/linux-6.4.0-150600.21/arch/i686-linux6.4/Makefile'.  Stop.
make: Leaving directory '/usr/src/linux-6.4.0-150600.21-obj/x86_64/default'
Makefile:113: *** Unsupported architecture i686-linux6.4.  Stop.
/
install: cannot stat '/usr/src/kernel-modules/nvidia-580.76.05-default/nvidia*.ko': No such file or directory
Makefile:113: *** Unsupported architecture i686-linux6.4.  Stop.
/
EFI variables are not supported on this system
gzip: warning: GZIP environment variable is deprecated; use an alias or script
depmod: ERROR: fstatat(5, nvidia-drm.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia-modeset.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia-uvm.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia.ko): No such file or directory
gzip: warning: GZIP environment variable is deprecated; use an alias or script
depmod: ERROR: fstatat(5, nvidia-drm.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia-modeset.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia-uvm.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia.ko): No such file or directory
(1/1) Installing: nvidia-driver-G06-kmp-default-580.76.05_k6.4.0_150600.21[done]
Running post-transaction scripts .........................................[done]

That’s not a guarantee of 100% removal of their impact on the system. YaST can be expected to remove the software it installed, but not necessarily all of the configuration files I listed that may have been added by using the software or its configuration utilities. With such files left behind, OEM/FOSS software can be, and typically is, prevented from functioning, thus

The proprietary NVidia drivers are supposed to have accompanying installation instructions that include removal instructions, which when not followed, can be expected to result in an unusable graphics state until such time as either they are followed, or correct versions of NVidia’s drivers are successfully installed.

The same problem as I had. The symbolic links are missing…

Ok now follow again this and do it:

I guess you need to reinstall kernel-default-devel-6.4.0-150600.21.3.x86_64

  sudo rpm -e kernel-default-devel-6.4.0-150600.21.3.x86_64 --nodeps
  sudo zypper in --oldpackage kernel-default-devel = 6.4.0-150600.21.3

and maybe also kernel-devel-6.4.0-150600.21.2.noarch

  sudo rpm -e  kernel-devel-6.4.0-150600.21.2.noarch --nodeps
  sudo zypper in --oldpackage  kernel-devel = 6.4.0-150600.21.2

Then try reinstalling nvidia-driver-G06-kmp-default-580.76.05_k6.4.0_150600.21-lp156.39.1.x86_64

  sudo rpm -e nvidia-driver-G06-kmp-default-580.76.05_k6.4.0_150600.21-lp156.39.1.x86_64 --nodeps
  sudo zypper in nvidia-driver-G06-kmp-default = 580.76.05_k6.4.0_150600.21-lp156.39.1

You will run one by one the commands ^^^ and then reboot…

@Jniko After running the above commands again and getting the same errors, I realized that one of my environment variable settings (ARCH) was causing problems with the kernel build:

../../../linux-6.4.0-150600.21/Makefile:767: /usr/src/linux-6.4.0-150600.21/arch/i686-linux6.4/Makefile: No such file or directory
make: *** No rule to make target '/usr/src/linux-6.4.0-150600.21/arch/i686-linux6.4/Makefile'.  Stop.
make: Entering directory '/usr/src/linux-6.4.0-150600.21-obj/x86_64/default'

Note the “arch/i686-linux6.4” in the error message.

I unset the ARCH environment variable then re-ran the commands and the kernel build completed successfully. There were a couple warnings about missing files (module.order and module.build, I think. I didn’t save the build output) and then tried to reboot. Oddly, clicking restart from the menu logged me out and restarted the X server and to my great surprise, the second monitor. I logged back in and then rebooted and the second monitor is now working.

I have compared the output of the script I wrote to get system info from before and after the latest reboot and am seeing two major differences:

  • In the “inxi -SGas” output I am now seeing Desktop instead of Console in the System section and the nvidia 580.76.05 driver and a second monitor compared to N/A for the driver and only one monitor before
  • The following kernel modules are now listed in the output of the
    “find /lib/modules -name nvidiako -type f” command:
/lib/modules/6.4.0-150600.21-default/updates/nvidia-drm.ko
/lib/modules/6.4.0-150600.21-default/updates/nvidia-modeset.ko
/lib/modules/6.4.0-150600.21-default/updates/nvidia-peermem.ko
/lib/modules/6.4.0-150600.21-default/updates/nvidia-uvm.ko
/lib/modules/6.4.0-150600.21-default/updates/nvidia.ko

The source and build symlinks are unchanged.

So, while the solution was the same, I don’t think we had the same problem.

I am still not sure why doing the removal and reinstall from the command line resolved the problem though.

Paul

1 Like

The symbolic links have to be 6.4.0-150600.21.3, at least this is on my systems.

Again if you have missing modules etc. on driver build you still have issues. even though It might not affect directly the driver so not not to be build…

But the good thing is that you have fixed it… that is nice… :slight_smile:

Also do a sudo zypper patch to see if have any missing fixes…

A good tool, if you not already installed, is Nvidia control panel…

to install it please do:

sudo zypper install nvidia-settings

You will find on your programs an app that called Nvidia X Server Settings

To check the driver status run nvidia-smi on Terminal

I guess this is solved for now, but I am curious to see what happens the next time NVidia updates the driver. Hopefully it won’t be a painful as this one was.

Update:
I just discovered the zypp history file in /var/log/zypp. There doesn’t seem to be anything that indicates there was a problem with the upgrade from 570.169 to 570.172. The only things I have found that are semi useful are:

  • The warnings about missing modules.order and modules.builtins files occurred prior to the 570.172 upgrade, so I feel more comfortable about ignoring them
  • The kernel build succeeded without and ARCH related errors, so running the upgrade from pop must start with a clean environment

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.