Nvidia-smi couldn't communicate with the NVIDIA driver

I’ve installed nVidia driver in Ubuntu 22.04 LTS via “Software & Updates” in the “Additional drivers” section. It marks “Using NVIDIA driver metapackage from nvidia-driver-535 (proprietary,tested)” as selected.

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 tried both 6.0.0-1018-oem and 5.17.0-1034-oem kernels but with the same result.

I have Secure Boot enabled.

nvidia-bug-report.log (996.6 KB)