Nvidia Drivers install fails on Rocky Linux 9, "NVIDIA-SMI has failed..."

I’m getting the following error message when I run the command nvidia-smi :
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’ve followed the instructions from this link

Everything seemed to work except the nvidia-smi command.

Thank you in advance :100:

1 Like

Hi Sumasri,

Do you have secure boot enabled? that might be causing the issue.

Could you share what Nvidia GPU you are using?

Is this a fresh install that you installed the drivers on or did you have previously other drivers installed on it?

1 Like

Thank you, disabling the secure boot fixed the problem.

1 Like