Skip to content
Search Fedora

    Browse this documentation

    Gaming on Fedora: Steam, Proton, and the NVIDIA driver, end to end

    Fedora is not a gaming distro, but its gaming stack is already complete. This page covers everything between “fresh install” and “playing”.

    Steam’s full dependencies and the NVIDIA driver both come from RPM Fusion. Skip this and nothing below works:

    Terminal window
    sudo dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-45.noarch.rpm \
    https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-45.noarch.rpm

    Six repo files land in /etc/yum.repos.d/.

    Terminal window
    sudo dnf install -y steam

    Measured versions of the relevant packages:

    PackageVersionPurpose
    steam1.0.0.87launcher (self-updates the client on first run)
    steam-devices1.0.0.101udev rules for gamepads
    gamescope3.16.29Valve’s micro-compositor, the Steam Deck one
    mangohud0.8.3~rc1FPS overlay
    gamemode1.8.2temporary performance profile while gaming
    protontricks1.14.1per-game winetricks components

    First launch downloads the Steam client itself (roughly 400 MB); the UI follows the system language.

    NVIDIA driver (only if you have an N-card)

    Section titled “NVIDIA driver (only if you have an N-card)”

    RPM Fusion nonfree ships three branches; pick by GPU age:

    PackageForMeasured version
    akmod-nvidiaeverything current (Turing and later)615.78.08
    xorg-x11-drv-nvidia-580xxolder branch—
    xorg-x11-drv-nvidia-470xxmuch older (early Kepler/Fermi)—
    xorg-x11-drv-nvidia-390xxrelics—

    For a current card one line is enough:

    Terminal window
    sudo dnf install -y akmod-nvidia

    akmod-nvidia compiles the kernel module locally on the next boot (the akmods mechanism, akmods 0.6.2 measured), so the first boot after installing is noticeably slow. Let it finish.

    The module is compiled locally and not Microsoft-signed, so with Secure Boot on it will not load. Two options:

    Terminal window
    # Route 1: disable Secure Boot in firmware (simplest)
    # Route 2: enrol your own MOK key (mokutil 0.7.2 is in the repo)
    sudo mokutil --import /etc/pki/akmods/certs/public_key.der

    Route 2 shows a MOK enrolment screen on the next reboot. If you do not want the ceremony, turn Secure Boot off.

    Terminal window
    nvidia-smi

    A table with GPU/driver/temperature means success. The most common failure is that akmods has not finished compiling; sudo akmods --force then reboot.

    Vulkan: the other half of whether games run

    Section titled “Vulkan: the other half of whether games run”

    Vulkan drivers come in two families: N-cards get it with the proprietary driver; AMD/Intel use Mesa:

    Terminal window
    sudo dnf install -y mesa-vulkan-drivers vulkan-tools # AMD/Intel

    mesa-vulkan-drivers measured at 26.2.3. Verify:

    Terminal window
    vulkaninfo --summary | head -20

    You should see your GPU name and an API version. On N-cards Vulkan comes up automatically once the driver is in.

    Proton ships inside Steam, nothing extra to install. Two things to do:

    1. Settings → Compatibility → enable Steam Play for all titles, pick the newest Proton
    2. For a specific title, check ProtonDB — Gold/Platinum ratings are generally safe

    Windows games bought elsewhere (GOG/Epic):

    • lutris (0.5.22, in the repo) manages one-click installers
    • protontricks adds dotnet/fonts to an installed game

    Out-of-the-box performance: gamemode + mangohud

    Section titled “Out-of-the-box performance: gamemode + mangohud”

    Put this in the game’s Steam launch options:

    gamemoderun mangohud %command%
    • gamemode switches the CPU governor to performance while playing (it does not fight tuned; it requests a temporary boost)
    • mangohud draws the FPS overlay, Right Shift+F12 toggles it
    SymptomCause
    Steam crashes on launchRPM Fusion missing, or steam-devices not installed
    black screen / still on nouveau after NVIDIA installrebooted before akmods finished; akmods --force then reboot
    NVIDIA unusable with Secure Bootunsigned module; enrol MOK or disable Secure Boot
    32-bit game Vulkan errormissing i686 Vulkan driver package
    gamepad not recognisedsteam-devices missing
    mojibake in Chinese game titlesCJK fonts missing, see Chinese input
    no GUI after a kernel updateNVIDIA module not rebuilt yet; wait or akmods --force