AMD provides an open source driver that is part of the Linux kernel. For the best experience, use the latest development versions of the Linux kernel, Mesa, and LLVM. Compared to the open source driver, the AMDGPU-Pro proprietary driver provides a more stable interface with full OpenGL and Vulkan capabilities.

Installation (AMDGPU-Pro)

Supported operating systems:

  • CentOS 8

  • RHEL 8

  • Ubuntu 18.04

  • SLED/SLES 15


SUSE Linux Enterprise

The Enterprise Desktop, Enterprise Server, and openSUSE Leap variants are all supported.

  • Enable the stable kernel repository. Install Linux >= 5.4 and latest linux-firmware for the best stability with Navi cards. Linux 5.5 is required for overclocking support on Navi cards. [9]

  • Download the latest driver for the graphics card by putting in the product details here.

  • Extract the driver archive and run the amdgpu-pro-install script to install a local repository of the RPMs.

  • Install the required packages: zypper install amdgpu-pro libgl-amdgpu-pro vulkan-amdgpu-pro.

  • Reboot.





If the official Nvidia installer was originally used then those libraries need to be cleaned up.

$ sudo rm -f /usr/lib{,64}/* /usr/lib{,64}/*
$ sudo rm -f /usr/lib{,64}/xorg/modules/extensions/
$ sudo dnf reinstall xorg-x11-server-Xorg mesa-libGL mesa-libEGL libglvnd\*
$ sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.saved

The the unofficial Nvidia driver RPMs can be installed. Starting with Fedora 27 [2], the RPMFusion repository can be officially enabled and used to manage the driver.

$ sudo dnf install fedora-workstation-repositories
$ sudo dnf config-manager --set-enabled rpmfusion-nonfree-nvidia-driver
$ sudo dnf install xorg-x11-drv-nvidia akmod-nvidia vdpauinfo libva-vdpau-driver libva-utils vulkan



This is an unofficial utility for running an application or window manager on a different TTY that uses the dedicated Nvidia graphics card. This is useful for laptops as it removes the need to deal with Nvidia Optimus technology, provides a way to run games that require the Vulkan library, and fields better performance.

Install the Nvidia graphics driver, Bumblebee, OpenBox (openbox and obmenu packages), and nvidia-xrun. Bumblebee is optionally used to turn the graphics card off and on. OpenBox is the most common window manager to use.

Configure bbswitch kernel module from Bumblebee to handle power management of the Nvidia card. File: /etc/modprobe.d/bbswitch.conf.

options bbswitch load_state=0 unload_state=1

Set nvidia-xrun to launch OpenBox.

$ echo "openbox-session" >> ~/.nvidia-xinitrc

Switch to a free TTY. This is normally done in Linux by pressing CTRL + ALT + F2. Log in and then run nvidia-xrun. OpenBox will now be running with full access to the Nvidia graphics card.


optimus-manager (Arch Linux and Manjaro Linux)

optimus-manager provides an easy way to change the graphics card in use on a laptop.

$ yay -S optimus-manager
$ sudo systemctl start optimus-manager

Temporarily switch the primary graphics card mode (this will restart the Xorg session):

$ optimus-manager --switch [intel|nvidia|hybrid]

Or change it on the next boot (this way is more reliable):

$ optimus-manager --set-startup [intel|nvidia|hybrid]

For using a HDMI port, the laptop must be in the nvidia mode.


With Nvidia version >= 435 drivers and Xorg >= 1.20.6, the hybrid mode supports GPU offloading. This means the integrated Intel graphics can be used for power efficiency until the dedicated Nvidia GPU is required for gaming or productivity. The example below offloads graphical power to the Nvidia GPU for Vulkan and OpenGL while running Steam. [6]


Window Managers

Window managers (WMs) control the look and feel of windows.

  • Compiz

  • FluxBox

  • Kwin

  • Muffin

  • Mutter

  • Openbox

  • Xfwm

Tiled window managers specialize in splitting up windows into tiles/boxes that can be modified with keyboard shortcuts.

  • Awesome

  • Dwm

  • i3

  • Wmii


Desktop Environments

Desktop environments (DEs) are built on top of windows managers. They provide the full functionality of a graphical desktop by bundling applications for managing media, files, and network connections. Some DEs have created their own custom window managers as well. [4]

DE Name

Graphical Toolkit


Resource Usage



















  • Arch Linux: $ sudo pacman -S cinnamon

  • Debian (manual): $ sudo apt-get install cinnamon

  • Debian (automatic): $ sudo apt-get install task-cinnamon-desktop

  • Fedora: $ sudo dnf groupinstall "Cinnamon Desktop"



  • Arch Linux: $ sudo pacman -S gnome gnome-extras

  • Debian (manual): $ sudo apt-get install gnome

  • Debian (automatic): $ sudo apt-get install task-gnome-desktop

  • Fedora: $ sudo dnf groupinstall "GNOME Desktop Environment"

The gnome-tweaks package provides access to useful advanced settings of the GNOME desktop environment via the Tweaks application.

Suggested tweaks:

  • Extensions > Applications menu > On

  • Keyboard & Mouse > Mouse > Pointer Location > On

  • Top Bar > Battery Percentage > On

  • Window Titlebars > Titlebar Buttons > [Maximize|Minimize] > On



  • Arch Linux: $ sudo pacman -S plasma kde-applications

  • Debian (manual): $ sudo apt-get install kde-standard

  • Debian (automatic): $ sudo apt-get install task-kde-desktop

  • Fedora: $ sudo dnf groupinstall "KDE Plasma Workspaces"



  • Arch Linux: $ sudo pacman -S xfce4 xfce4-goodies

  • Debian (manual): $ sudo apt-get install xfce4

  • Debian (automatic): $ sudo apt-get install task-xfce-desktop

  • Fedora: $ sudo dnf groupinstall "Xfce Desktop"




Steam provides a runtime that is a chroot of pre-installed Linux libraries required for Steam to work. Sometimes these libraries may not work as expected. There are different ways to configure how Steam will or will not use its own runtime.

  • Use the Steam runtime libraries.

    $ STEAM_RUNTIME=1 steam
  • Use the system libraries and fall-back to Steam runtime libraries if they are missing on the system.

  • Use the system libraries.

    $ STEAM_RUNTIME=0 steam



The Flatpak for Steam can mount external devices into the isolated environment. Mount points are not exposed in the Flatpak by default. [10]

$ flatpak override --user --filesystem=<STEAM_LIBRARY_PATH> com.valvesoftware.Steam

Proton (Steam Play)

Proton allows Windows games to run on Linux. A full list of games that are officially whitelisted and guaranteed to work can be found here. Proton can be enabled for all games by going to Settings > Steam Play > Enable Steam Play for all other titles. Compatibility will vary. [11]

Remote Access


Parsec is a tool that can be used to remotely access macOS and Windows hosts. It supports Linux, macOS, and Windows hosts.

Virtual Monitors

Parsec requires a physical monitor to be plugged into the computer and turned on. There are a few ways to create virtual monitors so that a physical monitor is no longer required. [13]

  • Paid versions of Parsec Teams and Enterprise provide support for creating virtual monitors.

  • Hardware HDMI dummy plugs exist to fake having a monitor plugged in.

  • On Windows hosts, use the Amyuni Virtual Display Driver (usbmmid).

    • This virtual display is not persistent on reboots. Create a scheduled task to start it as the Administrator on boot.

      Task Scheduler (taskschd.msc) > Create Basic Task... > Name: Virtual Monitor > Next > When do you want the task to start? When the computer starts > Next > Start a program > Next > Program/script: (select the "usbmidd.bat" file) > Next > Finish
      Task Scheduler (taskschd.msc) > Task Scheduler (Local) > Task Scheduler Library > Virtual Monitor > Properties > (select "Run whether user is logged in or not" and "Run with highest privileges") > OK

Virtual Audio

Parsec does not create any virtual audio devices. Instead, it forwards connected hardware audio from the Parsec host to the client. There are a few ways around this for a headless setup.

Image Processing

  • Remove all metadata from an image.

    $ mogrify -strip <IMAGE_FILE_NAME>
  • Compress an image to a specified size.

    $ [jpegoptim|optipng] --size=500K <IMAGE_FILE_NAME>
  • Resize an image.

    $ convert <IMAGE_ORIGINAL> -resize <PERCENTAGE>% <IMAGE_NEW>
  • Rotate an image.

    $ convert <IMAGE_ORIGINAL> -rotate <DEGRESS> <IMAGE_NEW>


Error Messages

Missing libraries when starting the Steam runtime:

$ steam-runtime
Error: You are missing the following 32-bit libraries, and Steam may not run: <LIBRARY_FILE>


  • Run steam-runtime --reset to redownload the runtime libraries.


  1. “Howto NVIDIA.” RPM Fusion. May 28, 2018. Accessed October 7, 2018.

  2. “New third-party repositories - easily install Chrome & Steam on Fedora.” Fedora Magazine. April 27, 2018. Accessed October 7, 2018.

  3. “Nvidia-xrun.” Arch Linux Wiki. Accessed November 4, 2018. September 11, 2018.

  4. “DesktopEnvironment.” Debian Wiki. June 7, 2018. Accessed November 26, 2018.

  5. “NVIDIA Optimus.” ArchWiki. October 28, 2019. Accessed November 20, 2019.

  6. “Manjaro Gaming with Nvidia Offloading & D3 Power Managment.” Reddit r/linux_gaming. September 28, 2019. Accessed November 20, 2019.

  7. “Radeo Software for Linux 19.30 Release Notes.” AMD. November 5, 2019. Accessed December 10, 2019.

  8. “SDB:AMDGPU-PRO.” openSUSE Wiki. July 17, 2019. Accessed December 10, 2019.

  9. “AMD OverDrive Overclocking To Finally Work For Radeon Navi GPUs With Linux 5.5 Kernel.” Phoronix. November 16, 2019. Accessed December 10, 2019.

  10. “Frequently asked questions.” flathub/com.valvesoftware.Steam. April 12, 2020. Accessed July 3, 2020.

  11. “A simple guide to Steam Play, Valve’s technology for playing Windows games on Linux.” GamingOnLinux. July 12, 2019. Accessed July 3, 2020.

  12. “Steam/Client troubleshooting.” Gentoo Wiki. February 15, 2021. Accessed May 20, 2021.

  13. “Remote Streaming Without a Display.” r/ParsecGaming. June 29, 2022. Accessed August 27, 2022.

  14. “Unable To Hear The Game You’re Playing.” Parsec. Accessed September 6, 2022.