Skip to content

Instantly share code, notes, and snippets.

@LogCreative
Last active June 27, 2025 23:59
Show Gist options
  • Save LogCreative/71c78d90b5317f5468413b374b8bbc21 to your computer and use it in GitHub Desktop.
Save LogCreative/71c78d90b5317f5468413b374b8bbc21 to your computer and use it in GitHub Desktop.
Install Nvidia Driver for 5070 Ti on Ubuntu 24.04 (2025/03/09)
sudo apt install build-essential
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
# goto tty3 by ctrl+alt+F3 now!
sudo systemctl stop gdm3
sudo apt install nvidia-driver-570
# choose MIT license one, the prioritory one can not detect 5070ti now!
reboot

According to this link, you need to install the latest CUDA to make the GPU accessible.

So follow the official instruction to install CUDA 12.8, and install pytorch-nightly later:

pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu128
@aryoda
Copy link

aryoda commented Apr 14, 2025

I had to install the open version of the NVIDIA driver 570 (not the proprietary since it is behind the open version).
So I did:

sudo apt install nvidia-driver-570-open

and the GPU (an ASUS Prime 5070 - without Ti) is recognized by Ubuntu 24.04

@Neil3d2y
Copy link

saved my life. Thanks!

@henryzhangzhy
Copy link

henryzhangzhy commented Jun 27, 2025

A very helpful thread! A few additional notes:

  1. In my case, ASUS TUF 5070Ti works only with the nvidia-driver-570-open, not the non-open version.
  2. go to tty3, stop gdm3 leads to a black screen with blinking "_", you can go to another tty by ctrl+alt+F4 (not sure if tty3 still works).
  3. reboot after install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment