GTX 4080: second monitor freezes

Hello @generix and @j22gim
I have similar problems, and I’ve posted them here.
I did:

  1. In software&updates, switch to the nouveau driver. No rebooting.
  2. Downloaded the 535 driver and made it executable (chmod +x)
  3. run the runfile installer for 535.113.01 with option -b. No rebooting.
  4. run the runfile installer for 535.113.01 with option --uninstall. No rebooting.

Now I have the problem that software&updates will not let me check any other driver to install:


Any thoughts?

You shouldn’t have done that, it was only meant for @j22gim’s system to clean up runfile installer issues not related to the bug.
I guess Ubuntu meanwhile introduced an additional check in Software&Updates to detect an earlier runfile install. Please try to install it manually running
sudo apt install nvidia-driver-535

PS: rather stick to the other thread as there’s already amrits of nvidia active.

Ok I have tried and found some obstacles, I did not complete even the 2nd step. I report here to avoid messing up my system again.

  1. switched to noveau. Done.

.
2) run the runfile installer for 535.113.01 with option -b. No rebooting.
The file I used is NVIDIA-Linux-x86_64-535.113.01.run. After checking that it is executable, I used this command in the terminal:
sudo ./NVIDIA-Linux-x86_64-535.113.01.run -b

.
To which I found this error:

ERROR: An NVIDIA kernel module 'nvidia-drm' appears to already be loaded in your kernel.  This may be because it is in use (for example, by an X server, a CUDA program, or the NVIDIA     
         Persistence Daemon), but this may also happen if your kernel was configured without support for module unloading.  Please be sure to exit any programs that may be using the        
         GPU(s) before attempting to upgrade your driver.  If no GPU-based programs are running, you know that your kernel supports module unloading, and you still receive this message,    
         then an error may have occurred that has corrupted an NVIDIA kernel module's usage count, for which the simplest remedy is to reboot your computer.

After pressing OK:

ERROR: Installation has failed.  Please see the file "/var/log/nvidia-installer.log" for details.  You may find suggestions on fixing installation problems in the README available on     
         the Linux driver download page at www.nvidia.com.

nvidia-installer.log (1.3 KB)

I have seen many posts about this but again, I don’t want to try anything crazy. I really need my system up and going.

I did not reboot.

This is expected on that step, just ignore and continue with the next step, --uninstall.
The last step now has to done manually due to changes in Ubuntu’s software&updates
https://forums.developer.nvidia.com/t/gtx-4080-second-monitor-freezes/270374/22?u=generix

OK so I run sudo ./NVIDIA-Linux-x86_64-535.113.01.run --uninstall
and get this:

Now for the last step (use Software&Updates to switch to the 525 driver. Reboot) I wanted to ask, which one of these should I choose?

Sorry I missed that you meant this, right?

but for my case, with 525.

OK? I will wait for your green light just in case…

@generix, I used the command sudo apt install nvidia-driver-525, rebooted, and the NVIDIA settings dialogs shown the same.

However my 2nd display is working fine so I would prefer not to touch anything except that you have a strong reason to.

I include the new log file in case it is of help to diagnose the problem:
nvidia-bug-report.log.gz (158.1 KB)

Just to be cautious from now on, what is the next step? I guess I should wait until a newer driver is released (newer that the 545.23.06 BETA, which also didn’t work for me), and then try again. If it doesn’t work, I can always come back to the current 525 I’m using now, sounds good?

now back in the office, with a different external monitor, this crazy thing happens.

I also have seen that I seem to have several drivers in my system.
This is the output of the command dpkg -l |grep nvidia

ii  libnvidia-cfg1-525:amd64                       525.125.06-0ubuntu0.22.04.1                 amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-525                           525.125.06-0ubuntu0.22.04.1                 all          Shared files used by the NVIDIA libraries
ii  libnvidia-compute-525:amd64                    525.125.06-0ubuntu0.22.04.1                 amd64        NVIDIA libcompute package
ii  libnvidia-compute-525:i386                     525.125.06-0ubuntu0.22.04.1                 i386         NVIDIA libcompute package
rc  libnvidia-compute-535:amd64                    535.113.01-0ubuntu0.22.04.3                 amd64        NVIDIA libcompute package
rc  libnvidia-compute-545:amd64                    545.23.06-0ubuntu0~gpu22.04.3               amd64        NVIDIA libcompute package
ii  libnvidia-decode-525:amd64                     525.125.06-0ubuntu0.22.04.1                 amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-525:i386                      525.125.06-0ubuntu0.22.04.1                 i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-egl-wayland1:amd64                   1:1.1.9-1.1                                 amd64        Wayland EGL External Platform library -- shared library
ii  libnvidia-encode-525:amd64                     525.125.06-0ubuntu0.22.04.1                 amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-525:i386                      525.125.06-0ubuntu0.22.04.1                 i386         NVENC Video Encoding runtime library
ii  libnvidia-extra-525:amd64                      525.125.06-0ubuntu0.22.04.1                 amd64        Extra libraries for the NVIDIA driver
ii  libnvidia-fbc1-525:amd64                       525.125.06-0ubuntu0.22.04.1                 amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-525:i386                        525.125.06-0ubuntu0.22.04.1                 i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-525:amd64                         525.125.06-0ubuntu0.22.04.1                 amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-525:i386                          525.125.06-0ubuntu0.22.04.1                 i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
rc  linux-modules-nvidia-525-6.2.0-35-generic      6.2.0-35.35~22.04.1                         amd64        Linux kernel nvidia modules for version 6.2.0-35
rc  linux-modules-nvidia-535-6.2.0-35-generic      6.2.0-35.35~22.04.1                         amd64        Linux kernel nvidia modules for version 6.2.0-35
rc  linux-modules-nvidia-535-open-6.2.0-35-generic 6.2.0-35.35~22.04.1                         amd64        Linux kernel nvidia modules for version 6.2.0-35
ii  linux-objects-nvidia-525-6.2.0-35-generic      6.2.0-35.35~22.04.1                         amd64        Linux kernel nvidia modules for version 6.2.0-35 (objects)
ii  linux-objects-nvidia-535-6.2.0-35-generic      6.2.0-35.35~22.04.1                         amd64        Linux kernel nvidia modules for version 6.2.0-35 (objects)
ii  linux-signatures-nvidia-6.2.0-35-generic       6.2.0-35.35~22.04.1                         amd64        Linux kernel signatures for nvidia modules for version 6.2.0-35-generic
ii  nvidia-compute-utils-525                       525.125.06-0ubuntu0.22.04.1                 amd64        NVIDIA compute utilities
rc  nvidia-compute-utils-535                       535.113.01-0ubuntu0.22.04.3                 amd64        NVIDIA compute utilities
rc  nvidia-compute-utils-545                       545.23.06-0ubuntu0~gpu22.04.3               amd64        NVIDIA compute utilities
ii  nvidia-dkms-525                                525.125.06-0ubuntu0.22.04.1                 amd64        NVIDIA DKMS package
rc  nvidia-dkms-545                                545.23.06-0ubuntu0~gpu22.04.3               amd64        NVIDIA DKMS package
ii  nvidia-driver-525                              525.125.06-0ubuntu0.22.04.1                 amd64        NVIDIA driver metapackage
ii  nvidia-kernel-common-525                       525.125.06-0ubuntu0.22.04.1                 amd64        Shared files used with the kernel module
rc  nvidia-kernel-common-535                       535.113.01-0ubuntu0.22.04.3                 amd64        Shared files used with the kernel module
rc  nvidia-kernel-common-545                       545.23.06-0ubuntu0~gpu22.04.3               amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-525                       525.125.06-0ubuntu0.22.04.1                 amd64        NVIDIA kernel source package
ii  nvidia-prime                                   0.8.17.1                                    all          Tools to enable NVIDIA's Prime
ii  nvidia-settings                                510.47.03-0ubuntu1                          amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-525                               525.125.06-0ubuntu0.22.04.1                 amd64        NVIDIA driver support binaries
ii  screen-resolution-extra                        0.18.2                                      all          Extension for the nvidia-settings control panel
ii  xserver-xorg-video-nvidia-525                  525.125.06-0ubuntu0.22.04.1                 amd64        NVIDIA binary Xorg driver

What should I do to clean this up? (or, just leave it as is?

Please install the 535 driver, sudo apt install nvidia-driver-535 and post the output of dpkg -l |grep nvidia and dkms status afterwards.

I installed the 545 driver sudo apt install nvidia-driver-545, and

This is the output of dkms status:

evdi/1.12.0+dfsg, 6.2.0-35-generic, x86_64: installed
evdi/1.12.0+dfsg, 6.2.0-36-generic, x86_64: installed
nvidia/545.23.06, 6.2.0-36-generic, x86_64: installed

This is the output of dpkg -l |grep nvidia:

ii  libnvidia-cfg1-545:amd64                       545.23.06-0ubuntu0~gpu22.04.3               amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-545                           545.23.06-0ubuntu0~gpu22.04.3               all          Shared files used by the NVIDIA libraries
rc  libnvidia-compute-525:amd64                    525.125.06-0ubuntu0.22.04.1                 amd64        NVIDIA libcompute package
rc  libnvidia-compute-535:amd64                    535.113.01-0ubuntu0.22.04.3                 amd64        NVIDIA libcompute package
ii  libnvidia-compute-545:amd64                    545.23.06-0ubuntu0~gpu22.04.3               amd64        NVIDIA libcompute package
ii  libnvidia-compute-545:i386                     545.23.06-0ubuntu0~gpu22.04.3               i386         NVIDIA libcompute package
ii  libnvidia-decode-545:amd64                     545.23.06-0ubuntu0~gpu22.04.3               amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-545:i386                      545.23.06-0ubuntu0~gpu22.04.3               i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-egl-wayland1:amd64                   1:1.1.9-1.1                                 amd64        Wayland EGL External Platform library -- shared library
ii  libnvidia-encode-545:amd64                     545.23.06-0ubuntu0~gpu22.04.3               amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-545:i386                      545.23.06-0ubuntu0~gpu22.04.3               i386         NVENC Video Encoding runtime library
ii  libnvidia-extra-545:amd64                      545.23.06-0ubuntu0~gpu22.04.3               amd64        Extra libraries for the NVIDIA driver
ii  libnvidia-fbc1-545:amd64                       545.23.06-0ubuntu0~gpu22.04.3               amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-545:i386                        545.23.06-0ubuntu0~gpu22.04.3               i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-545:amd64                         545.23.06-0ubuntu0~gpu22.04.3               amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-545:i386                          545.23.06-0ubuntu0~gpu22.04.3               i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
rc  linux-modules-nvidia-525-6.2.0-35-generic      6.2.0-35.35~22.04.1                         amd64        Linux kernel nvidia modules for version 6.2.0-35
rc  linux-modules-nvidia-535-6.2.0-35-generic      6.2.0-35.35~22.04.1                         amd64        Linux kernel nvidia modules for version 6.2.0-35
rc  linux-modules-nvidia-535-open-6.2.0-35-generic 6.2.0-35.35~22.04.1                         amd64        Linux kernel nvidia modules for version 6.2.0-35
ii  linux-objects-nvidia-525-6.2.0-35-generic      6.2.0-35.35~22.04.1                         amd64        Linux kernel nvidia modules for version 6.2.0-35 (objects)
ii  linux-objects-nvidia-535-6.2.0-35-generic      6.2.0-35.35~22.04.1                         amd64        Linux kernel nvidia modules for version 6.2.0-35 (objects)
ii  linux-signatures-nvidia-6.2.0-35-generic       6.2.0-35.35~22.04.1                         amd64        Linux kernel signatures for nvidia modules for version 6.2.0-35-generic
rc  nvidia-compute-utils-525                       525.125.06-0ubuntu0.22.04.1                 amd64        NVIDIA compute utilities
rc  nvidia-compute-utils-535                       535.113.01-0ubuntu0.22.04.3                 amd64        NVIDIA compute utilities
ii  nvidia-compute-utils-545                       545.23.06-0ubuntu0~gpu22.04.3               amd64        NVIDIA compute utilities
rc  nvidia-dkms-525                                525.125.06-0ubuntu0.22.04.1                 amd64        NVIDIA DKMS package
ii  nvidia-dkms-545                                545.23.06-0ubuntu0~gpu22.04.3               amd64        NVIDIA DKMS package
ii  nvidia-driver-545                              545.23.06-0ubuntu0~gpu22.04.3               amd64        NVIDIA driver metapackage
ii  nvidia-firmware-545-545.23.06                  545.23.06-0ubuntu0~gpu22.04.3               amd64        Firmware files used by the kernel module
rc  nvidia-kernel-common-525                       525.125.06-0ubuntu0.22.04.1                 amd64        Shared files used with the kernel module
rc  nvidia-kernel-common-535                       535.113.01-0ubuntu0.22.04.3                 amd64        Shared files used with the kernel module
ii  nvidia-kernel-common-545                       545.23.06-0ubuntu0~gpu22.04.3               amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-545                       545.23.06-0ubuntu0~gpu22.04.3               amd64        NVIDIA kernel source package
ii  nvidia-prime                                   0.8.17.1                                    all          Tools to enable NVIDIA's Prime
ii  nvidia-settings                                510.47.03-0ubuntu1                          amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-545                               545.23.06-0ubuntu0~gpu22.04.3               amd64        NVIDIA driver support binaries
ii  screen-resolution-extra                        0.18.2                                      all          Extension for the nvidia-settings control panel
ii  xserver-xorg-video-nvidia-545                  545.23.06-0ubuntu0~gpu22.04.3               amd64        NVIDIA binary Xorg driver

I updated to the latest driver available and the problem persists.

This is the output of dkms status:

evdi/1.12.0+dfsg, 6.2.0-36-generic, x86_64: installed
evdi/1.12.0+dfsg, 6.2.0-37-generic, x86_64: installed
nvidia/545.29.06, 6.2.0-37-generic, x86_64: installed

And this is the output of dpkg -l |grep nvidia:

ii  libnvidia-cfg1-545:amd64                       545.29.06-0ubuntu0~gpu22.04.1                 amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-545                           545.29.06-0ubuntu0~gpu22.04.1                 all          Shared files used by the NVIDIA libraries
rc  libnvidia-compute-525:amd64                    525.125.06-0ubuntu0.22.04.1                   amd64        NVIDIA libcompute package
rc  libnvidia-compute-535:amd64                    535.113.01-0ubuntu0.22.04.3                   amd64        NVIDIA libcompute package
ii  libnvidia-compute-545:amd64                    545.29.06-0ubuntu0~gpu22.04.1                 amd64        NVIDIA libcompute package
ii  libnvidia-compute-545:i386                     545.29.06-0ubuntu0~gpu22.04.1                 i386         NVIDIA libcompute package
ii  libnvidia-decode-545:amd64                     545.29.06-0ubuntu0~gpu22.04.1                 amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-545:i386                      545.29.06-0ubuntu0~gpu22.04.1                 i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-545:amd64                     545.29.06-0ubuntu0~gpu22.04.1                 amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-545:i386                      545.29.06-0ubuntu0~gpu22.04.1                 i386         NVENC Video Encoding runtime library
ii  libnvidia-extra-545:amd64                      545.29.06-0ubuntu0~gpu22.04.1                 amd64        Extra libraries for the NVIDIA driver
ii  libnvidia-fbc1-545:amd64                       545.29.06-0ubuntu0~gpu22.04.1                 amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-545:i386                        545.29.06-0ubuntu0~gpu22.04.1                 i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-545:amd64                         545.29.06-0ubuntu0~gpu22.04.1                 amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-545:i386                          545.29.06-0ubuntu0~gpu22.04.1                 i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
rc  linux-modules-nvidia-525-6.2.0-35-generic      6.2.0-35.35~22.04.1                           amd64        Linux kernel nvidia modules for version 6.2.0-35
rc  linux-modules-nvidia-535-6.2.0-35-generic      6.2.0-35.35~22.04.1                           amd64        Linux kernel nvidia modules for version 6.2.0-35
rc  linux-modules-nvidia-535-open-6.2.0-35-generic 6.2.0-35.35~22.04.1                           amd64        Linux kernel nvidia modules for version 6.2.0-35
rc  linux-objects-nvidia-525-6.2.0-35-generic      6.2.0-35.35~22.04.1                           amd64        Linux kernel nvidia modules for version 6.2.0-35 (objects)
rc  linux-objects-nvidia-535-6.2.0-35-generic      6.2.0-35.35~22.04.1                           amd64        Linux kernel nvidia modules for version 6.2.0-35 (objects)
rc  nvidia-compute-utils-525                       525.125.06-0ubuntu0.22.04.1                   amd64        NVIDIA compute utilities
rc  nvidia-compute-utils-535                       535.113.01-0ubuntu0.22.04.3                   amd64        NVIDIA compute utilities
ii  nvidia-compute-utils-545                       545.29.06-0ubuntu0~gpu22.04.1                 amd64        NVIDIA compute utilities
rc  nvidia-dkms-525                                525.125.06-0ubuntu0.22.04.1                   amd64        NVIDIA DKMS package
ii  nvidia-dkms-545                                545.29.06-0ubuntu0~gpu22.04.1                 amd64        NVIDIA DKMS package
ii  nvidia-driver-545                              545.29.06-0ubuntu0~gpu22.04.1                 amd64        NVIDIA driver metapackage
ii  nvidia-firmware-545-545.29.06                  545.29.06-0ubuntu0~gpu22.04.1                 amd64        Firmware files used by the kernel module
rc  nvidia-kernel-common-525                       525.125.06-0ubuntu0.22.04.1                   amd64        Shared files used with the kernel module
rc  nvidia-kernel-common-535                       535.113.01-0ubuntu0.22.04.3                   amd64        Shared files used with the kernel module
ii  nvidia-kernel-common-545                       545.29.06-0ubuntu0~gpu22.04.1                 amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-545                       545.29.06-0ubuntu0~gpu22.04.1                 amd64        NVIDIA kernel source package
ii  nvidia-prime                                   0.8.17.1                                      all          Tools to enable NVIDIA's Prime
ii  nvidia-settings                                510.47.03-0ubuntu1                            amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-545                               545.29.06-0ubuntu0~gpu22.04.1                 amd64        NVIDIA driver support binaries
ii  screen-resolution-extra                        0.18.2                                        all          Extension for the nvidia-settings control panel
ii  xserver-xorg-video-nvidia-545                  545.29.06-0ubuntu0~gpu22.04.1                 amd64        NVIDIA binary Xorg driver

I now also have this problem, and driver version 525 does not appear in software & updates. Please may I have some help? I’ve switched to Nouveau for the time being.

edit 1: how do i uninstall my graphics card drivers, it won’t let me change back

edit 2: it seems updating to latest (570) fixed it. ill leave this here for any people coming to this thread in the future

edit 3: that worked for a time but then didn’t anymore :[