Confirming that Dann Frazier's answer does make it possible to load the Nvidia drivers.
I upgraded to 23.04 (from 22.10) and got kernel 6.2.0-25. Tried all sorts of different ways to manually sign the Nvidia drivers but nothing worked; the Nvidia drivers would always fail to load.
Here all the steps I took to fix this:
# I removed all packages related to Nvidia as I wanted a clean slate
sudo apt purge nvidia*
# Installed the driver but also the pre-signed module as Dann Frazier suggested
sudo apt install nvidia-driver-535 linux-modules-nvidia-535-generic
# The previous command will install some packages for kernel 6.2.0-24 but you're still missing the modules extra package; install it now:
sudo apt install linux-modules-extra-6.2.0-24-generic
Now reboot and make sure you boot into the 6.2.0-24 kernel and the Nvidia drivers should now load.
Confirming that Dann Frazier's answer does make it possible to load the Nvidia drivers.
I upgraded to 23.04 (from 22.10) and got kernel 6.2.0-25. Tried all sorts of different ways to manually sign the Nvidia drivers but nothing worked; the Nvidia drivers would always fail to load.
Here all the steps I took to fix this:
# I removed all packages related to Nvidia as I wanted a clean slate
sudo apt purge nvidia*
# Installed the driver but also the pre-signed module as Dann Frazier suggested nvidia- 535-generic
sudo apt install nvidia-driver-535 linux-modules-
# The previous command will install some packages for kernel 6.2.0-24 but you're still missing the modules extra package; install it now: extra-6. 2.0-24- generic
sudo apt install linux-modules-
Now reboot and make sure you boot into the 6.2.0-24 kernel and the Nvidia drivers should now load.