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”.
Prerequisite: RPM Fusion first
Section titled “Prerequisite: RPM Fusion first”Steam’s full dependencies and the NVIDIA driver both come from RPM Fusion. Skip this and nothing below works:
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.rpmSix repo files land in /etc/yum.repos.d/.
Installing Steam
Section titled “Installing Steam”sudo dnf install -y steamMeasured versions of the relevant packages:
| Package | Version | Purpose |
|---|---|---|
steam | 1.0.0.87 | launcher (self-updates the client on first run) |
steam-devices | 1.0.0.101 | udev rules for gamepads |
gamescope | 3.16.29 | Valve’s micro-compositor, the Steam Deck one |
mangohud | 0.8.3~rc1 | FPS overlay |
gamemode | 1.8.2 | temporary performance profile while gaming |
protontricks | 1.14.1 | per-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:
| Package | For | Measured version |
|---|---|---|
akmod-nvidia | everything current (Turing and later) | 615.78.08 |
xorg-x11-drv-nvidia-580xx | older branch | — |
xorg-x11-drv-nvidia-470xx | much older (early Kepler/Fermi) | — |
xorg-x11-drv-nvidia-390xx | relics | — |
For a current card one line is enough:
sudo dnf install -y akmod-nvidiaakmod-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.
If you run Secure Boot
Section titled “If you run Secure Boot”The module is compiled locally and not Microsoft-signed, so with Secure Boot on it will not load. Two options:
# 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.derRoute 2 shows a MOK enrolment screen on the next reboot. If you do not want the ceremony, turn Secure Boot off.
Verify the driver actually works
Section titled “Verify the driver actually works”nvidia-smiA 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:
sudo dnf install -y mesa-vulkan-drivers vulkan-tools # AMD/Intelmesa-vulkan-drivers measured at 26.2.3. Verify:
vulkaninfo --summary | head -20You should see your GPU name and an API version. On N-cards Vulkan comes up automatically once the driver is in.
Proton: running Windows games
Section titled “Proton: running Windows games”Proton ships inside Steam, nothing extra to install. Two things to do:
- Settings → Compatibility → enable Steam Play for all titles, pick the newest Proton
- 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 installersprotontricksaddsdotnet/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%gamemodeswitches the CPU governor to performance while playing (it does not fight tuned; it requests a temporary boost)mangohuddraws the FPS overlay,Right Shift+F12toggles it
Common traps
Section titled “Common traps”| Symptom | Cause |
|---|---|
| Steam crashes on launch | RPM Fusion missing, or steam-devices not installed |
| black screen / still on nouveau after NVIDIA install | rebooted before akmods finished; akmods --force then reboot |
| NVIDIA unusable with Secure Boot | unsigned module; enrol MOK or disable Secure Boot |
| 32-bit game Vulkan error | missing i686 Vulkan driver package |
| gamepad not recognised | steam-devices missing |
| mojibake in Chinese game titles | CJK fonts missing, see Chinese input |
| no GUI after a kernel update | NVIDIA module not rebuilt yet; wait or akmods --force |
Related pages
Section titled “Related pages”- Wine for Windows apps — the non-Steam route
- System tuning — how gamemode relates to tuned
- Mirrors — why RPM Fusion cannot use CN mirrors
- Upstream: ProtonDB · RPM Fusion How-to