The below wiki article is based on user submitted content. Please verify all hyperlinks and terminal commands below!
See a mistake? Want to contribute? Edit this article on Github
The default installed version of Mesa provided by the distro is recommended. Users who are willing to experiment with their computer can follow the advice for AMD users below. There are no known advantages to updating Mesa past the stable version for Intel GPU users, so it is not recommended.
The latest available proprietary NVIDIA blob in the package manager is recommended. Drivers older than the 450 series may not be compatible with Linux 5.8 and above. CUDA is currently not working on Linux 5.9 source(https://phoronix.com/scan.php?page=news_item&px=NVIDIA-Linux-5.9-Delayed) (which doesn’t affect yuzu but is a consideration for someone who needs the compute capabilities of their GPU). Aside from these issues, users should expect a similar yuzu experience to that found on Windows, as the drivers are nearly identical.
- Ubuntu and Linux Mint: Install
- Debian: https://wiki.debian.org/NvidiaGraphicsDriver
- Fedora: Enable RPM Fusion (at least nonfree), update, then install
- Arch Linux: Use either
- Manjaro: Use Manjaro Settings Manager -> Hardware Configuration -> Auto Install Proprietary Driver
Setting the environment variable
__GL_THREADED_OPTIMIZATIONS=1 can net additional performance.
Mesa compiled with LLVM 12 is recommended. yuzu’s OpenGL shader decompiler generates shaders that are often incompatible with Mesa based on LLVM 10, resulting in frequent unrecoverable driver crashes. Using a version of Mesa built on LLVM 12 can circumvent most of this, but for games that already generate invalid shaders (e.g. FE:TH), unrecoverable crashes will still occur. - Ubuntu (and Debian, Linux Mint, etc.): No good solution, but you can try Oibaf’s Mesa driver (daily builds of Mesa git using LLVM 10) - Fedora: Enable and install Che’s Mesa COPR (daily builds of Mesa git using LLVM 12):
sudo dnf copr enable che/llvm sudo dnf copr enable che/mesa sudo dnf update
mesa-git(daily builds of Mesa git using LLVM 12):
sudo pacman -Syu mesa-gitUsers who have not setup multilib can safely skip 32-bit packages.
force_integer_tex_nearest=true fixes black textures in Kirby Fighters 2 and Kirby Star Allies.
AMD_DEBUG=nohyperz fixes black textures in The Legend of Zelda: Breath of the Wild and both Xenoblade Chronicles games for GCN ≥ 4.0 GPUs.