Steps to setup my laptop with Nvidia GeForce RTX 3070 Ti using the Nvidia 510 driver and 12th Gen Intel CPU. Note this is not the only way to do it, just a way that worked for me:
- Ensure
nomodeset
is not in the kernel boot parameters (/etc/default/grub
, inGRUB_CMDLINE_LINUX_DEFAULT
).nomodeset
resulted in my machine freezing / not accepting input. - Ensure that you do not run
nvidia-xconfig
/ create anxorg.conf
. I noticed troubles with my display, such as a black box around the mouse and freezing at login time, when I usednvidia-xconfig
for this OS/driver version. - Install the Nvidia driver from Software & Updates. I went with the server version, which is
510.47.03-0ubuntu0.20.04.1
. Optionally,sudo apt-mark hold nvidia-driver-510
(ornvidia-driver-510-server
) if you'd rather not get automatic updates. Optionally, check if any older Nvidia packages are lingering with `apt list --installed | grep nvidia | grep -v