Gaming
The launchers
Pulsar installs these from Flathub on the first boot with a network. That install runs once, and a launcher you remove isn’t put back.
| App | Flatpak ID |
|---|---|
| Steam | com.valvesoftware.Steam |
| Heroic | com.heroicgameslauncher.hgl |
| Faugus Launcher | io.github.Faugus.faugus-launcher |
| Bottles | com.usebottles.bottles |
| ProtonPlus | com.vysp3r.ProtonPlus |
| protontricks | com.github.Matoking.protontricks |
| MangoHud (the Vulkan layer) | org.freedesktop.Platform.VulkanLayer.MangoHud |
The image itself has gamescope, gamemode, MangoHud and the steam-devices udev
rules for controllers and headsets.
Launch options
gg runs a game through gamescale and gamemode.
ggm also turns on MangoHud. In Steam, set a game’s Launch Options to one of:
gg %command% # gamescale and gamemode
ggm %command% # the same, with the MangoHud overlay
gg -x %command% # flags before %command% go to gamescale
The Steam and Faugus Flatpaks need no setup. At every boot pulsar-steam-grants.service
puts the image’s gg, ggm and gamescale on their sandboxes’
PATH (what the grant allows).
Other Flatpak launchers need pulsar setup gamescale --platform <name> once. It
puts gg and ggm in ~/.local/bin beside gamescale, and
leaves alone any gg or ggm of your own already there. If you ran it for
Steam or Faugus on an older image, run pulsar setup gamescale --platform steam faugus
to point them at the image’s copies and remove old copies that match them.
gamemode
/etc/gamemode.ini sets three things. igpu_power_threshold=-1 stops
gamemode dropping the CPU to powersave mid-game on dual-GPU laptops, where it
misreads the integrated GPU’s power. renice=10 only works for members of the
gamemode group, and the first boot adds every account that exists by then. Its
start and end hooks turn GNOME’s “not responding” check off and on (see
Loading screens).
gamemoderun %command% # Steam: a game’s launch options
sudo pulsar setup gamemode # enroll accounts made since first boot, then log out and in
Group changes apply at your next login, and pulsar doctor gamemode tells you if
you need to log out.
Proton and the kernel
ntsync loads at boot and /dev/ntsync is given to the seat user. Proton
can use it to do Windows sync in the kernel instead of through esync or fsync. Newer Proton builds
use it by default. Older ones need PROTON_USE_NTSYNC=1.
Kernel settings:
| Setting | Why |
|---|---|
kernel.split_lock_mitigate = 0 | The kernel stalls a process about 10 ms for every split lock, as a deterrent. Some Windows games, God of War and THPS 1+2 among them, split-lock constantly and their frame rate collapses under it. |
vm.max_map_count = 2147483642 | Proton games that make a lot of memory mappings, such as Star Citizen and some UE5 games, run past Fedora’s 1M default and crash. |
transparent_hugepage/defrag = defer+madvise | Fedora’s default is madvise, and with transparent_hugepage/enabled also at madvise (Fedora’s default) this behaves the same. It matters if you set enabled to always: the kernel then defragments for ordinary memory in the background instead of stalling the program that faulted. |
vm.compaction_proactiveness = 0 | Turns off compaction on a timer. The kernel still compacts when memory is actually needed. |
vm.min_free_kbytes = 524288 | Keeps 512 MB free. The kernel’s own formula gave 66 MB on a 62 GB machine, and a game that allocates faster than kswapd frees memory makes its own thread reclaim it. |
The scheduler is the kernel’s own, EEVDF. scx_bpfland shipped as the default until
26.11.1, but on hybrid Intel CPUs it kept GNOME Shell on the efficiency cores and animations
stuttered. It’s opt-in now. sudo systemctl enable --now scx.service turns it on,
and pulsar doctor tells you whether it attached.
NVIDIA and Flatpak games
Flatpak apps need a GL extension matching the NVIDIA driver, read at app start.
-
pulsar-gl-nvidia.serviceinstalls it for the running driver at boot, and for the next driver when an update is staged. - An app started before its extension arrived renders on the integrated GPU (often a black window). When that happens Pulsar shows Restart Steam to use the NVIDIA GPU. Quit Steam completely and open it again.
- The Steam client’s own window runs with the NVIDIA driver’s vsync off, through a driver profile matched on its process name. With vsync on, it stuttered on every scroll. Games Steam starts keep their own vsync setting.
The MangoHud Flatpak layer only works on the matching runtime branch; when Steam changes runtime
the overlay stops showing, with no error. pulsar doctor mangohud checks this.
Loading screens
GNOME’s “not responding” check waits 20 seconds instead of 5. gamemode’s start hook turns it off while a game runs, and the end hook turns it back on when the game exits or crashes.
Checking it
$ pulsar doctor ntsync gamemode mangohud flatpak-gl
ok ntsync /dev/ntsync present
crw-rw-r-- root:root
ok gamemode proto is in gamemode; renice=10 available
igpu governor demotion disabled (igpu_power_threshold=-1)
ok mangohud MangoHud layer 26.08 matches Steam's runtime
ok flatpak-gl running Flatpak apps have the NVIDIA 615.71.09 driver
Every doctor check is explained in Troubleshooting.
Written with help from AI and reviewed by a person before publishing. If you find a mistake, open an issue on GitHub.