Install Nvidia driver, CUDA Toolkit and GPU-Burn without Docker

Overview

This instruction provides a step-by-step guide on selecting the correct NVIDIA driver and the corresponding CUDA Toolkit version, as well as how to install and run gpu-burn without using Docker.

Install Nvidia driver

First, check the avaible module versions

apt list | grep nvidia-driver

IMPORTANT: All RTX 50-series NVIDIA GPUs, at least until August 2025, require open source drivers!

And install the desired (always the latest) version driver

sudo apt install nvidia-driver-570=570.124.06-0ubuntu1

After the installation, verify whether it was successful and confirm the installed driver version

nvidia-smi

202508 Memo

Installing the newest driver is not always the best option, because NVIDIA driver updates and Ubuntu compatibility remain unstable, even though the 50-series GPUs have been on the market for about six months.

For example, in August 2025, after the release of driver 580.97, the 575-open and 570-open drivers cannot be installed on Ubuntu 24.04.3 LTS and show the following error:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

the following package have unmet dependencies : 
libnvidia-compute-575: depends libssl1.1(>=1.1.0) but it is not installable 

E : unable to correct problems, you have held broken package

Moreover, during the first week of release, installing 580 on Ubuntu 24.04 caused the system to freeze at the boot screen after reboot.

Therefore, I recommend using the 575 driver on Ubuntu 22.04.05 LTS until the 580 driver becomes stable.

Install Nvidia CUDA Toolkit

First, we need to install CUDA Toolkit.

  1. Check CUDA GPU Compute Capabilityarrow-up-right to choose proper CUDA version for your GPU Compute capabilityarrow-up-right (CC) defines the hardware features and supported instructions for each NVIDIA GPU architecture. Find the compute capability for your GPU in the table . Example with the 50-series GPU: We need to install at least CUDA Toolkit version 12.0, otherwise subsequent tasks (e.g., running gpu-burn) may fail. More about CUDA version : When you use nvidia-smi to check the CUDA version supported by the driver, you may notice that it's different from the version of the installed CUDA toolkit. Because Ubuntu’s apt typically installs older toolkit versions, so your CUDA toolkit is often older than what nvidia-smi shows.

    That’s totally fine — CUDA drivers are backward compatible, so newer drivers can run code built with older toolkits.

  2. Go to the CUDA Toolkit 12.0 Downloadsarrow-up-right and follow the installation instructions, make install CUDA toolkit on ubuntu 22.04 for example :

  3. Install cuDNN (Optional but Recommended)

    For deep learning applications, install cuDNN:

  4. Verify Installation

    Check if CUDA is properly installed:

Install gpu-burn and Run

After cloning the gpu-burn repository, simply run make and execute the gpu-burn .

Result

You can see the detail information of the GPU real-time by :

Last updated