Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: nvidia driver disappeared

  1. #1
    Join Date
    Feb 2006
    Location
    Nomading It
    Beans
    227
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    nvidia driver disappeared

    After having my install of darktable upgrade to the new version(4.4.1) through software center I noticed that it wasn't using my GPU so I tried closing darktable and running these 2 commands which had always worked to get darktable using my GPU again in the past(usually after my computer locked with darktable open)
    Code:
    sudo modprobe nvidia-uvm
    sudo rmmod nvidia-uvm
    But after attempting the first command I got this error
    Code:
    modprobe: ERROR: could not insert 'nvidia_uvm': Key was rejected by service
    When I had first launched darktable after the upgrade I also got a message about nvidia driver names changing(unfortunately I didn't record the message) so I started trying to see what nvidia driver was installed so I tried running
    Code:
    nvidia-smi
    and got this message
    Code:
    NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
    Is there anything else I should be checking to see if I still have a NVIDIA driver installed or should I just be trying to install a new driver again?
    I currently have ubuntu 23.04 installed.

  2. #2
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: nvidia driver disappeared

    What is the output of this?:
    Code:
    apt list nvidia-driver-* --installed

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  3. #3
    Join Date
    Feb 2006
    Location
    Nomading It
    Beans
    227
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: nvidia driver disappeared

    Code:
    nvidia-driver-510/lunar-updates,lunar-security,now 525.125.06-0ubuntu0.23.04.1 amd64 [installed]
    nvidia-driver-525/lunar-updates,lunar-security,now 525.125.06-0ubuntu0.23.04.1 amd64 [installed,automatic]
    Is this likely meaning its just not being found by darktable?

  4. #4
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: nvidia driver disappeared

    You show 2 nvidia drivers "nvidia-driver-510/ nvidia-driver-525/" that won't work well, only one driver install.
    Remove one then reboot to see.
    Code:
    sudo apt autoremove --purge nvidia-driver-510
    If you just want to be sure also run before the reboot and after the removal of driver 510
    Code:
    sudo apt install --reinstall nvidia-driver-525 nvidia-dkms-525
    now reboot and paste back your "nvidia-smi"
    Code:
    Fri Jul 21 11:04:05 2023       
    +---------------------------------------------------------------------------------------+
    | NVIDIA-SMI 535.54.03              Driver Version: 535.54.03    CUDA Version: 12.2     |
    |-----------------------------------------+----------------------+----------------------+
    | GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
    | Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
    |                                         |                      |               MIG M. |
    |=========================================+======================+======================|
    |   0  NVIDIA GeForce GTX 1650 Ti     Off | 00000000:01:00.0  On |                  N/A |
    | N/A   36C    P8               1W /  50W |    364MiB /  4096MiB |      7%      Default |
    |                                         |                      |                  N/A |
    +-----------------------------------------+----------------------+----------------------+
                                                                                             
    +---------------------------------------------------------------------------------------+
    | Processes:                                                                            |
    |  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
    |        ID   ID                                                             Usage      |
    |=======================================================================================|
    |    0   N/A  N/A      9771      G   /usr/lib/xorg/Xorg                          216MiB |
    |    0   N/A  N/A     15502      G   xfwm4                                         2MiB |
    |    0   N/A  N/A    386693      G   /usr/lib/firefox/firefox                    143MiB |
    +---------------------------------------------------------------------------------------+
    Code:
    apt policy darktable
    darktable:
      Installed: 4.2.1-4
      Candidate: 4.2.1-4
      Version table:
     *** 4.2.1-4 500
            500 http://us.archive.ubuntu.com/ubuntu lunar/universe amd64 Packages
            100 /var/lib/dpkg/status
    Last edited by 1fallen; July 21st, 2023 at 06:08 PM.
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  5. #5
    Join Date
    Feb 2006
    Location
    Nomading It
    Beans
    227
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: nvidia driver disappeared

    After removing 510 and reinstalling 525 I got this for nvidia-smi
    Code:
    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 also ran this apt list nvidia-driver-* --installed to see what came up and got this
    Code:
    nvidia-driver-525/lunar-updates,lunar-security,now 525.125.06-0ubuntu0.23.04.1 amd64 [installed]
    N: There is 1 additional version. Please use the '-a' switch to see it
    and with the -a at the end I got this
    Code:
    nvidia-driver-525/lunar-updates,lunar-security,now 525.125.06-0ubuntu0.23.04.1 amd64 [installed]
    nvidia-driver-525/lunar 525.105.17-0ubuntu1 amd64

  6. #6
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: nvidia driver disappeared

    Well now I suggest you follow this bit by bit, (Exactly like below)
    Code:
    sudo apt autoremove --purge nvidia*
    Now to be sure we start with a clean palate reboot now>>
    After the reboot reinstall with:
    Code:
    sudo apt install nvidia-driver-525 nvidia-dkms-525
    The DKMS package is important so don't skip it.
    One more reboot to your new nvidia driver.
    I curious as to what card you have:
    Code:
    inxi -G | grep Device
      Device-1: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] driver: nvidia
      Device-2: Syntek Integrated Camera type: USB driver: uvcvideo
    Also Wayland still not playing nice with Nvidia, I'm using x11 session:
    Code:
    inxi -G | grep x11 && inxi -G | grep wayland
      Display: x11 server: X.Org v: 1.21.1.7 driver: X: loaded: nvidia
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  7. #7
    Join Date
    Feb 2006
    Location
    Nomading It
    Beans
    227
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: nvidia driver disappeared

    When doing the nvidia purge I got these errors
    Code:
    E: Unable to locate package nvidia-bug-report.log
    E: Couldn't find any package by glob 'nvidia-bug-report.log'
    E: Unable to locate package nvidia-bug-report.log.gz
    E: Couldn't find any package by glob 'nvidia-bug-report.log.gz'
    Should I try anything else before the new install?

    For GPU this is what I have
    Code:
      Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: i915 v: kernel
      Device-2: NVIDIA GA107M [GeForce RTX 3050 Mobile] driver: N/A
      Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo
    This GPU has been pretty fussy for me and took a while to get set up correctly when I first got this computer.

  8. #8
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: nvidia driver disappeared

    Good I'm glad your here now, can you show me this please:
    Code:
    apt list --installed *xorg*
    Your right about that card though I help with a few folks on that card, can be a real deal breaker for some on Nvidia
    I would also like to see this as well before the re-install
    Code:
    inxi -G | grep wayland
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  9. #9
    Join Date
    Feb 2006
    Location
    Nomading It
    Beans
    227
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: nvidia driver disappeared

    I have this for xorg (forgot to mention I use xorg rather than wayland for monitor profiling)
    Code:
    Listing... Done
    xorg-docs-core/lunar,lunar,now 1:1.7.1-1.2 all [installed,automatic]
    xorg/lunar,now 1:7.7+23ubuntu2 amd64 [installed]
    xserver-xorg-core/lunar,now 2:21.1.7-1ubuntu3 amd64 [installed,automatic]
    xserver-xorg-input-all/lunar,now 1:7.7+23ubuntu2 amd64 [installed,automatic]
    xserver-xorg-input-libinput/lunar,now 1.2.1-1 amd64 [installed,automatic]
    xserver-xorg-input-wacom/lunar,now 1:1.1.0-1ubuntu1 amd64 [installed,automatic]
    xserver-xorg-legacy/lunar,now 2:21.1.7-1ubuntu3 amd64 [installed,automatic]
    xserver-xorg-video-all/lunar,now 1:7.7+23ubuntu2 amd64 [installed,automatic]
    xserver-xorg-video-amdgpu/lunar,now 23.0.0-1 amd64 [installed,automatic]
    xserver-xorg-video-ati/lunar,now 1:19.1.0-3 amd64 [installed,automatic]
    xserver-xorg-video-fbdev/lunar,now 1:0.5.0-2build1 amd64 [installed,automatic]
    xserver-xorg-video-intel/lunar,now 2:2.99.917+git20210115-1 amd64 [installed,automatic]
    xserver-xorg-video-nouveau/lunar,now 1:1.0.17-2build1 amd64 [installed,automatic]
    xserver-xorg-video-nvidia-525/lunar-updates,lunar-security,now 525.125.06-0ubuntu0.23.04.1 amd64 [installed,automatic]
    xserver-xorg-video-qxl/lunar,now 0.1.5+git20200331-3 amd64 [installed,automatic]
    xserver-xorg-video-radeon/lunar,now 1:19.1.0-3 amd64 [installed,automatic]
    xserver-xorg-video-vesa/lunar,now 1:2.5.0-1build4 amd64 [installed,automatic]
    xserver-xorg-video-vmware/lunar,now 1:13.3.0-3.1 amd64 [installed,automatic]
    xserver-xorg/lunar,now 1:7.7+23ubuntu2 amd64 [installed,automatic]
    And for wayland I got this
    Code:
      Display: wayland server: X.Org v: 1.22.1.8 with: Xwayland v: 22.1.8

  10. #10
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: nvidia driver disappeared

    Forgot... nvidia-smi is part of package 'nvidia-utils-525' and...

    On reboot, ensure that the SecureBoot setting is set to 'disabled'. If enabled, that will cause the driver to have problems with some people with signing issues with dkms.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •