After upgrading to Ubuntu 24.04, my external monitor stopped working. I have an NVIDIA graphics card, the NVIDIA GeForce RTX 3060, and I installed NVIDIA driver version 560.35.03. My output from the nvidia-smi command is shown.
I have tried multiple versions of drivers (535, 550, 555, and 470), but nothing works.
I tried completely removing the NVIDIA driver multiple times with sudo apt-get remove --purge *nvidia* and reinstalling it with a clean installation.
My kernel version is updated to 6.8.0-44-generic.
Secure boot is DISABLED too.
prime-select is set to the nvidia option.
When I run the command for Ubuntu drivers, I get the output: udevadm hwdb is deprecated. Use systemd-hwdb instead., however all drivers show up afterwards. This message appears x times, where x equals the number of available NVIDIA drivers.
output for xrand --listproviders is below
$ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x45 cap: 0x9, Source Output, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:modesetting
