Ubuntu 24.04 nvidia-smi cannot communicate with driver 550

Dell laptop with Quadro RTX3000 using Ubuntu 24.04. Installed latest nvidia-driver-550 (550.90.07-0ubuntu0.24.04.1), but nvidia-smi cannot communicate with driver

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

using lsmod | grep nvidia shows the following:

i2c_nvidia_gpu         12288  0
i2c_ccgx_ucsi          12288  1 i2c_nvidia_gpu

I am using wayland as ubuntu 24.04 default, if that matters.

Please find the bug report attached.
nvidia-bug-report.log (2.3 MB)

I have the same issue on my Lenovo Legion i5 with the 555.58.02-3 driver on CachyOS (Arch).

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

Output of lsmod | grep nvidia is :

video                  77824  3 nvidia_wmi_ec_backlight,ideapad_laptop,i915
wmi                    32768  6 video,nvidia_wmi_ec_backlight,intel_wmi_thunderbolt,wmi_bmof,legion_laptop,ideapad_laptop

Output of lspci -k | grep -A 2 -E '(3D|VGA)' is :

00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
        Subsystem: Lenovo Device 3e8e
        Kernel driver in use: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation GA107BM [GeForce RTX 3050 Ti Mobile] (rev a1)
        Subsystem: Lenovo Device 3e8e
        Kernel modules: nouveau

My GRUB params are :

GRUB_CMDLINE_LINUX_DEFAULT='nowatchdog nvme_load=YES zswap.enabled=0 loglevel=3 nvidia-drm.modeset=1'

On Wayland as well, with KDE.

Attached is the bug report.

nvidia-bug-report.log.gz (111.9 KB)

Turns out to be a secure boot issue: trying sudo modprobe nvidia will give:

modprobe: ERROR: could not insert 'nvidia': Key was rejected by service

Which seem to suggest nvidia kernel module was not signed properly. Simply disabling secure boot makes nvidia driver working again.

Now nvidia-smi will give a proper result, and the graphic card works ok.

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