Announcement

Collapse
No announcement yet.

Trouble with Nvidia Driver update

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Trouble with Nvidia Driver update

    Operating System: Kubuntu 26.04 LTS
    KDE Plasma Version: 6.6.6
    KDE Frameworks Version: 6.24.0
    Qt Version: 6.10.2
    Kernel Version: 7.0.0-2016-nvidia-bos (64-bit)
    Graphics Platform: X11
    Processors: 32 × AMD Ryzen 9 9950X3D 16-Core Processor
    Memory: 96 GiB of RAM (93,8 GiB usable)
    Graphics Processor: llvmpipe
    Manufacturer: Micro-Star International Co., Ltd.
    Product Name: MS-7E59
    System Version: 2.0
    Nvidia RTX 4090 ​

    I do mainly 2D/3D graphics. Because Lichtfeldstudio doesn't run under Wayland yet, I switched back to X11.
    I had Nvidia 595 installed vie GUI driver manager, but wanted to update to 610 because of "Segmentation fault (core dumped)" crashes with Blender.
    My first stupid mistake was that I forgot to setup Timeshift since upgrade to 26.04.
    Since the Nvidia update attempt, the system is running the Nouveau driver and ignores my 2nd screen.
    Code:
    [I]NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.[/I]
    I tried to purge with aptitude:
    Code:
    [I]sudo aptitude purge '~nnvidia'
    sudo aptitude autoremove[/I]
    I tried to install manually:
    Code:
    sudo aptitude install nvidia-driver-610-open nvidia-utils-610 nvidia-settings
    Code:
    sudo apt purge 'nvidia-*' 'libnvidia-*'
    sudo apt autoremove​
    ​​
    I tried blacklisting Nouveau and
    sudo update-initramfs -u

    In the meantime, I read 26.04 would use Dracut instead, but it seems not being installed.
    Also, I found there are kernel modules left installed, which supposedly are kernelmodules replacing the older dkms method:
    Code:
    sudo aptitude search '~i nvidia'
    i A linux-firmware-nvidia-graphics - Firmware for Nvidia graphics
    i A linux-image-7.0.0-1016-nvidia - Signed kernel image nvidia
    i A linux-image-7.0.0-2016-nvidia-bos - Signed kernel image nvidia-bos
    i A linux-modules-7.0.0-1016-nvidia - Linux kernel modules for version 7.0.0
    i A linux-modules-7.0.0-2016-nvidia-bos - Linux kernel modules for version 7.0.0
    i A linux-objects-nvidia-595-7.0.0-1016-nvidia - Linux kernel nvidia modules for version 7.0.0-1016 (obj
    i A linux-objects-nvidia-595-7.0.0-2016-nvidia-b - Linux kernel nvidia modules for version 7.0.0-2016 (obj
    i A linux-signatures-nvidia-7.0.0-1016-nvidia - Linux kernel signatures for nvidia modules for version
    i A linux-signatures-nvidia-7.0.0-2016-nvidia-bo - Linux kernel signatures for nvidia modules for version


    Is there a way out of this mess? How?

    #2
    one problem that is easy even for me to spot is that according to the nvidia website you should be using the 595.84​ driver with that GPU
    some stuff i did: https://github.com/droidgoo

    Intel® Core™ i7-14700K | 64 GiB of RAM | AMD RX 6800

    Comment


      #3
      Thx skyfishgoo

      I had some progress.
      I reinstalled 595 (recommended) via CLI:
      Code:
      ubuntu-drivers devices
      sudo ubuntu-drivers install
      I always keep 2 older kernels:
      Code:
      ls -l /boot/vmlinuz-*
      -rw------- 1 root root 17303944 Jul 22 00:11 /boot/vmlinuz-7.0.0-1016-nvidia
      -rw------- 1 root root 17467784 Jul 22 17:15 /boot/vmlinuz-7.0.0-2016-nvidia-bos
      -rw------- 1 root root 17303944 Aug 1 04:01 /boot/vmlinuz-7.0.0-31-generic
      With 7.0.0-31-generic the driver is running again.
      I guess I remove the other kernels and update again.

      However, some clarification would be nice.
      What about dracut. I read 26.04 use this by default.
      Is it preferable to switch from update-initramfs?
      aptitude search '~i dracut'
      i A dracut-install - dracut is an event driven initramfs infrastructure (dracut-install)
      ​...whatever dracut-install is.
      1st possible source for the trouble: I run update-initramfs on images configured with dracut.
      2nd possible source: The new kernel-module system. How to handle that in case I want to remove the driver?

      I like to use aptitude. The only downside I know of, it is very bad removing kernels.
      Until now, I removed them with synaptic completely including modules.

      Comment


        #4
        -rw------- 1 root root 16992648 Aug 10 01:08 /boot/vmlinuz-7.0.0-31-generic

        ​is the current kernel, i have no idea what those other two are, or what dracut is, and likely that confusing is contributing to your problems.

        if you want to keep three kernels you are going to need to manually hold one back because by default i think kubuntu only keeps 2.

        most ppl just use apt for command line package work, but synaptic works too.

        sudo apt install linux-headers-7.0.0-30-generic

        should get you the prior kernel at least.

        and you will want to run sudo update-initramfs -uk all to get everything built for the next boot.

        some stuff i did: https://github.com/droidgoo

        Intel® Core™ i7-14700K | 64 GiB of RAM | AMD RX 6800

        Comment


          #5
          Originally posted by skyfishgoo View Post
          or what dracut is
          See Dracut news for Ubuntu 26.04 LTS and 26.10
          Slava Ukraini! 🇺🇦
          Windows no longer obstruct my view.
          Using Kubuntu Linux since March 23, 2007.
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #6
            Originally posted by skyfishgoo View Post
            -rw------- 1 root root 16992648 Aug 10 01:08 /boot/vmlinuz-7.0.0-31-generic

            ​is the current kernel, i have no idea what those other two are, or what dracut is, and likely that confusing is contributing to your problems.

            if you want to keep three kernels you are going to need to manually hold one back because by default i think kubuntu only keeps 2.

            most ppl just use apt for command line package work, but synaptic works too.

            sudo apt install linux-headers-7.0.0-30-generic

            should get you the prior kernel at least.

            and you will want to run sudo update-initramfs -uk all to get everything built for the next boot.

            These other kernels came as updates. This is what Braves search spat out:
            The NVIDIA BOS (Board Support) kernel package, specifically linux-nvidia-bos version 7.0.0-2012.12, is a security update released for the Ubuntu Resolute distribution (26.04). This package includes the NVIDIA BOS Linux kernel image and kernel headers required for systems using NVIDIA-optimized hardware configurations.

            Key Details:
            • Package Name: linux-nvidia-bos
            • Version: 7.0.0-2012.12
            • Dependencies: Requires linux-headers-nvidia-bos and linux-image-nvidia-bos.
            • Context: While "2016" may refer to the era of various NVIDIA kernel driver vulnerabilities (such as CVE-2016-2557), the specific BOS kernel package listed in the search context is a modern Resolute (Ubuntu 26.04) security update from 2025/2026.
            • Security Note: Older NVIDIA kernel drivers (pre-2016) had significant vulnerabilities like CVE-2016-2557 (kernel memory leak), but the current BOS packages are part of the ongoing security maintenance for NVIDIA-optimized Linux kernels.

            I think there are reasons for those changes and we should adapt. This is the way things are handled now.
            Code:
            sudo apt purge 'nvidia-*' 'libnvidia-*' && sudo apt autoremove​
            seems to be outdated.
            Same for
            Code:
            sudo update-initramfs -uk all

            Unfortunately I couldn't find more information about.
            Where to ask, if not in this forum?
            Last edited by LuisSeyfer; Yesterday, 12:01 AM.

            Comment


              #7
              yeah, so WHOOSH...

              i'm out of my depth then.

              good luck.

              glad i moved to AMD
              some stuff i did: https://github.com/droidgoo

              Intel® Core™ i7-14700K | 64 GiB of RAM | AMD RX 6800

              Comment


                #8
                I think you're right to stop and question the older advice here.

                Kubuntu 26.04 is not quite the same beast as the older releases, and I wouldn't be too quick to purge those NVIDIA-related kernel packages just because they look unfamiliar. Your linux-image-...-nvidia, ...-nvidia-bos, linux-objects-nvidia-* and linux-signatures-nvidia-* packages appear to be part of the newer way Ubuntu is handling NVIDIA kernel modules, rather than necessarily being leftovers from a broken installation.

                Likewise, Dracut is now part of the picture in 26.04, so I'd be cautious about blindly applying older recipes such as:
                sudo update-initramfs -uk all


                just because that's what we've traditionally done on Ubuntu/Kubuntu. The important question is first to establish which initramfs generator this particular installation is actually using.

                Also, there's an important clue in your recovery: after reinstalling the recommended 595 driver with ubuntu-drivers install, NVIDIA is working again on 7.0.0-31-generic. That makes me think the 610 installation/update is the first thing I'd investigate, rather than assuming the problem was caused by initramfs or those NVIDIA kernels.

                I'd therefore resist changing several things at once. You've currently got a working NVIDIA setup again, which is a good place to stop and investigate from.

                Before removing anything, please post output of :
                Code:
                cat /etc/os-release
                Code:
                uname -r
                Code:
                dpkg -l | grep -E 'dracut|initramfs'
                Code:
                apt policy nvidia-driver-595 nvidia-driver-610

                That should tell us quite a bit about which boot/initramfs mechanism is actually in use and what Ubuntu thinks the installed NVIDIA packages should be.

                In other words: I don't think you're wrong to say "things have changed and we should adapt." I'd just avoid assuming exactly how they've changed until we look at what this particular 26.04 installation is doing.

                And since 595 is currently working, I'd definitely leave the working system alone for the moment rather than removing the NVIDIA kernels and trying another 610 installation.
                Last edited by die.boer; Today, 12:22 AM.
                ▁ ▂ ▄ ▅ ▆ ▇ █ ᄂIПЦX FӨЯ ᄂIFΣ █ ▇ ▆ ▅ ▄ ▂ ▁

                Comment


                  #9
                  Originally posted by LuisSeyfer View Post
                  Operating System: Kubuntu 26.04 LTS
                  Moving to the 26.04 section

                  And a small note:
                  595 is the "stable" driver, and 610 is the "new feature" branch. A beta, sort of. (Nvidia have beta versions of the 595, so it is confusing)

                  Self-built: Asus PRIME B550M-K/Ryzen 5600GT/32Gb/Intel ARC B580 12Gb/KDE neon
                  HP Elitedesk 800 G3 Mini: i5-7500T(35w)/32Gb/Kubuntu LTS
                  HP Chromebook 14: i5-1135G7/8Gb/512Gb SSD/KDE Linux

                  Comment


                    #10
                    Thanks for all replys
                    @die.boer

                    I didn't remove anything yet.

                    Code:
                    cat /etc/os-release
                    PRETTY_NAME="Ubuntu 26.04.1 LTS"
                    NAME="Ubuntu"
                    VERSION_ID="26.04"
                    VERSION="26.04.1 LTS (Resolute Raccoon)"
                    VERSION_CODENAME=resolute
                    ID=ubuntu
                    ID_LIKE=debian
                    HOME_URL="https://www.ubuntu.com/"
                    SUPPORT_URL="https://help.ubuntu.com/"
                    BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
                    PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
                    UBUNTU_CODENAME=resolute
                    LOGO=ubuntu-logo
                    Code:
                    ​uname -r
                    7.0.0-31-generic
                    Code:
                    ​dpkg -l | grep -E 'dracut|initramfs'
                    ii  busybox-initramfs                                        1:1.37.0-7ubuntu1                             amd64        Standalone shell setup for initramfs
                    ii  cryptsetup-initramfs                                     2:2.8.4-1ubuntu4                              all          disk encryption support - initramfs integration
                    ii  dracut-install                                           110-11                                        amd64        dracut is an event driven initramfs infrastructure (dracut-install)
                    ii  initramfs-tools                                          0.151ubuntu1                                  all          generic modular initramfs generator (automation)
                    ii  initramfs-tools-bin                                      0.151ubuntu1                                  amd64        generic modular initramfs generator (binary tools)
                    ii  initramfs-tools-core                                     0.151ubuntu1                                  all          generic modular initramfs generator (core tools)
                    ii  libklibc:amd64                                           2.0.14-1ubuntu2                               amd64        minimal libc subset for use with initramfs
                    ​
                    Code:
                    apt policy nvidia-driver-595 nvidia-driver-610
                    nvidia-driver-595:
                    Installed: (none)
                    Candidate: 595.91.07-0ubuntu0.26.04.1
                    Version table:
                    595.91.07-0ubuntu0.26.04.1 500
                    500 http://de.archive.ubuntu.com/ubuntu resolute-updates/restricted amd64 Packages
                    500 http://security.ubuntu.com/ubuntu resolute-security/restricted amd64 Packages
                    595.58.03-0ubuntu2 500
                    500 http://de.archive.ubuntu.com/ubuntu resolute/restricted amd64 Packages
                    nvidia-driver-610:
                    Installed: (none)
                    Candidate: 610.57.04-0ubuntu0.26.04.3
                    Version table:
                    610.57.04-0ubuntu0.26.04.3 500
                    500 http://de.archive.ubuntu.com/ubuntu resolute-updates/multiverse amd64 Packages
                    500 http://security.ubuntu.com/ubuntu resolute-security/multiverse amd64 Packages

                    Comment

                    Users Viewing This Topic

                    Collapse

                    There are 0 users viewing this topic.

                    Working...
                    X