You are not logged in.

#1 2024-02-09 13:17:27

mapa17
Member
Registered: 2023-03-30
Posts: 10

[SOLVED] Nvidia-beta broken after Kernel upgrade

Hi,

i just performed a system upgrade (pacman -Syu), upgrading to 6.7.4-arch1-1.

Unfortunately this broke again my NVIDIA drivers that I finally got to work last week with installing nvidia-beta drivers

 yay -S nvidia-beta nvidia-utils-beta cuda cuda-tools cudnn nvidia-container-toolkit 

I currently have installed

pacman -Qs nvidia
local/cuda 12.3.1-2
    NVIDIA's GPU programming toolkit
local/cuda-tools 12.3.1-2
    NVIDIA's GPU programming toolkit (extra tools: nvvp, nsight)
local/cudnn 8.9.7.29-1
    NVIDIA CUDA Deep Neural Network library
local/egl-wayland 2:1.1.13-1
    EGLStream-based Wayland external platform
local/libnvidia-container 1.14.3-1
    NVIDIA container runtime library
local/libnvidia-container-tools 1.14.3-1
    NVIDIA container runtime library
local/libvdpau 1.5-2
    Nvidia VDPAU library
local/nvidia-beta 550.40.07-1
    NVIDIA drivers for Arch's official 'linux' package (beta version)
local/nvidia-container-toolkit 1.14.3-9
    NVIDIA container runtime toolkit
local/nvidia-container-toolkit-debug 1.14.3-9
    Detached debugging symbols for nvidia-container-toolkit
local/nvidia-utils-beta 550.40.07-1
    NVIDIA drivers utilities (beta version)
local/opencl-nvidia 545.29.06-3
    OpenCL implemention for NVIDIA

When I try to run nvidia-smi I get

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and
running.

Any suggestions on how to get nvidia tools and cuda support working again for my DL tasks?

thank you,
Manuel

Last edited by mapa17 (2024-02-09 13:27:40)

Offline

#2 2024-02-09 13:26:32

mapa17
Member
Registered: 2023-03-30
Posts: 10

Re: [SOLVED] Nvidia-beta broken after Kernel upgrade

Switching from nvidia-beta to nvidia-beta-dkms solved the issue.

yay -S nvidia-beta-dkms nvidia-utils-beta cuda cuda-tools cudnn nvidia-container-toolkit

Offline

#3 2024-02-09 13:52:20

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,315
Website

Re: [SOLVED] Nvidia-beta broken after Kernel upgrade

In that case you likely just needed to rebuild nvidia-beta against the new kernel. -dkms packages automate this for you (for all kernels with headers available).

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2024-02-09 16:51:26

mapa17
Member
Registered: 2023-03-30
Posts: 10

Re: [SOLVED] Nvidia-beta broken after Kernel upgrade

I had tried reinstalling the nvidia-beta package with yay, but that was not sufficient.

Offline

#5 2024-02-09 16:53:20

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,946

Re: [SOLVED] Nvidia-beta broken after Kernel upgrade

rebuilding and reinstalling are two different things.

Online

#6 2024-02-09 16:54:55

mapa17
Member
Registered: 2023-03-30
Posts: 10

Re: [SOLVED] Nvidia-beta broken after Kernel upgrade

Ok, so how would I have rebuild the package?

Offline

#7 2024-02-09 16:55:37

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,946

Re: [SOLVED] Nvidia-beta broken after Kernel upgrade

with makepkg, possibly using the -f option. With yay, I have no idea, but there's probably a switch.

Online

Board footer

Powered by FluxBB