Nvidia GPU on Ubuntu 22.04

Nvidia GPU on Ubuntu 22.04

Table of Contents


Introduction

We show the steps to install the Nvidia driver of a GPU card on either bare metal or full VM Ubuntu 22.04.

Prerequisites

You need to reserve a dedicated GPU node on the ThreeFold Grid.

Prepare the System

  • Update the system
    dpkg --add-architecture i386
    apt-get update
    apt-get dist-upgrade
    reboot
    
  • Check the GPU info
    lspci | grep VGA
    lshw -c video
    

Install the GPU Driver

  • Download the latest Nvidia driver
    • Check which driver is recommended
      apt install ubuntu-drivers-common
      ubuntu-drivers devices
      
    • Install the recommended driver (e.g. with 535)
      apt install nvidia-driver-535
      
    • Reboot
  • Check the GPU status
    nvidia-smi
    

Questions and Feedback

If you have any questions, you can ask the ThreeFold community for help on the ThreeFold Forum or on the ThreeFold Farmers Chat on Telegram.

1 Like