AMD Driver Ubuntu

Warning

Radeon no longer supports SPIR on some GPUs, please verify that your GPU drivers support SPIR to be compatible with Zivid Software.

  1. Download and extract the correct Radeon Software for Linux:

    Open a terminal window by pressing Ctrl + Alt + T keys on the keyboard.

    Create a temporary folder and navigate to it:

    mkdir amd
    cd amd
    

    Check your Linux Kernel version:

    uname -r
    

    For Linux Kernel version 5.4 (Ubuntu LTS), download Radeon Software 20.45 for Ubuntu 20.04:

    wget --referer http://support.amd.com https://drivers.amd.com/drivers/linux/amdgpu-pro-20.45-1188099-ubuntu-20.04.tar.xz
    

    Extract the contents:

    tar -Jxvf amdgpu-pro-20.45-1188099-ubuntu-20.04.tar.xz
    cd amdgpu-pro-20.45-1188099-ubuntu-20.04
    
  2. Install the graphics stack:

    ./amdgpu-pro-install --opencl=pal
    
  3. Follow the steps to Configure Secure Boot (if prompted):

    ../../../_images/secure_boot_1.png
    ../../../_images/secure_boot_2.png
    ../../../_images/secure_boot_3.png

    If you are not able to boot, check System Boot Error After AMD OpenCL Drivers Installation.

  4. Check OpenCL driver

    Open a terminal window by pressing Ctrl + Alt + T keys on the keyboard.

    Execute the following command to get a synthetic summary about all OpenCL platforms on the system and the devices they expose:

    Note

    You first have to install clinfo.

    /usr/bin/clinfo -l
    

    If clinfo doesn’t print anything, you might have to add your user to group Video.

    If your system does not boot up after installing the OpenCL driver, click System Boot Error After AMD OpenCL Drivers Installation.