Nvidia driver 535.54.03 on Ubuntu 22.04.2 LTS and 4070 Ti not working

I’ve installed the driver 535.54.03 on Ubuntu 22.04.2 LTS, I have a 4070 Ti and can’t detect second screen through HMDI, main screen is detected through DP.

I’ve tried to run nvidia-smi but I get this message:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

Which indicates the driver is not working. I’ll provide a
nvidia-bug-report.log.gz (116.0 KB)

1 Like

i am facing the same issue, need an urgent fix. with 22.04 on rtx 2070 and rtx 3080

solved this with installing kernel headers
sudo apt-get install linux-headers-$(uname -r)

1 Like

Hey @thaha1, I fixed the issue by performing a fresh installation of the nvidia driver:
sudo apt-get remove --purge nvidia-*
sudo apt-get install nvidia-driver-535

Finally, rebooting and disabling my BIOS Secure Boot fix it.

Be aware disabling Secure Boot can potentially have some security implications, and if you’re dual-booting with Windows, it might cause issues with that.

Hope it helps.

1 Like