Skip to content

Instantly share code, notes, and snippets.

@anodyne-canvas
anodyne-canvas / nvidia-510-u20-setup-instructions.md
Last active July 14, 2023 20:07
Setting up Nvidia Driver 510 on Ubuntu 20.04.4 LTS

Setting up Nvidia Driver 510 on Ubuntu 20.04.4 LTS

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:

Steps

  1. Ensure nomodeset is not in the kernel boot parameters (/etc/default/grub, in GRUB_CMDLINE_LINUX_DEFAULT). nomodeset resulted in my machine freezing / not accepting input.
  2. Ensure that you do not run nvidia-xconfig / create an xorg.conf. I noticed troubles with my display, such as a black box around the mouse and freezing at login time, when I used nvidia-xconfig for this OS/driver version.
  3. 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 (or nvidia-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