Open FourFifthsCode opened 2 years ago
Having this same issue on Pop_OS! 22.04 (based on Ubuntu 22.04). For me, running kernel 5.19 breaks the Nvidia driver, but kernel 5.18 (the stock one that came with the Pop_OS! ISO) works fine.
Does purging and reinstalling the Nvidia driver help?
sudo apt purge ~nnvidia
sudo apt autoremove && sudo apt clean
sudo apt install nvidia-driver-515
if you have a system76 machine, install system76-driver-nvidia
instead of just nvidia-driver-515
.
I was able to boot the previous 5.18.10-76051810-generic
kernel and its working again for me. Doesn't solve the issue of 5.19 breaking the lastest Nvidia drivers, but at least a workaround until its fixed.
When new kernels are installed, the Nvidia DKMS stuff needs to be rebuilt. Since 5.19 works with Nvidia on countless other machines out there, I'm assuming your DKMS stuff needs to be rebuilt. Purging and installing Nvidia the way I mentioned above will rebuild the DKMS stuff.
sudo apt purge ~nnvidia
by that, did you mean to purge nvidia-driver-515
if that's the one that currently installed?
I didn't "mean anything" by it, it's a wildcard that will match anything with nvidia
in the package name.
i actually had kind of the same issue. Games in steam where not using nvidia card correctly. i tried to rebuild dkms for 5.19 but it did not fix it. Then i booted in 5.18, rebuilt dkms (515) and it started to work again(in 5.18)
System: Oryx Pro
Unable to switch to nvidia graphics after clean install of Ubuntu 22.04 and
system76-driver-nvidia
.After switching in the menu or command line and rebooting, was still using
integrated
graphics.I was able to use 510 driver and switch to nvidia graphics after running
sudo apt install --reinstall nvidia-dkms-510
on Ubuntu 22.04