gist/gayming

Notes related to gayming

A lot of older files that I havent touched recently were moved to this directory. I dont think anyone was using them, so I am not afraid of breaking links.

Wayland / Sway

Issues and solutions

Constant camera rotation

Reload Sway in-game, $Mod+Shift+C and it should stop.

Cursor doesnt stick to game window

Run the game with gamescope.

Steam? Edit launch options for the game (second click, properties, general, launch options):

SteamDeck=1 gamescope --steam --borderless -- %command%

See also gamescope --help

  • SteamDeck=1 sends same variable as Steam Deck and magically fixes some games. E.g. Kingdom Hearts: Birth by Sleep (part of KH 1.5 + 2.5 HD), except that it has screen tearing which gamescope fixes.
  • --steam - enables Steam integration, whatever that is
  • --borderless borderless full-screen mode (that Sway may be making windowed though)
Graphics corruption such as display full of black dots

When the previous launch options cause this,

INTEL_DEBUG=norbc gamescope --steam --borderless -- %command%

I saw this advice at gamescope#356 which says its tracked at freedesktop.org/mesa/mesa#6029.

Steam client itself is laggy

Close/logoff friends window/network or disable its animations.

Fedora Atomic

Means Fedora Kinoite unless otherwise specified. Read also aminda.eu/n/essentialsoftware which may cross-reference here.

Heroic Games flatpak

  • When asked for Steam flatpak location, its ~/.var/app/com.valvesoftware.Steam/data/Steam. The data/Steam confuses me too.
  • No input in Skyrim Special Edition GOG? Try quitting Steam. That may also affect other games (KH:MoM didnt care whether Steam was running or not).
  • Gamescope and Mangohud installed, but not found? Pay attention to their branch, at the time of writing they want branch 23.08.
    • Remember the dualslash shortpaw! sudo flatpak install flathub org.freedesktop.Platform.VulkanLayer.MangoHud//23.08 org.freedesktop.Platform.VulkanLayer.gamescope//23.08

Actually using gamescope

Having gamescope and mangohud installed and found? That is not enough to use it.

Its weird. You have to check the “enable upscaling” box, then set “Game Width” and “Game Height”, but leave “Upscale {Width,Height}” empty.

Same page may have hinted me on the branch version numbers, but I lost the source for that.

Steam flatpak

See also above and below. Remember to sudo flatpak install flathub com.valvesoftware.Steam.CompatibilityTool.Proton-GE and in Steam settings find the checkbox to make everything run with compatibility tool Proton GE (flatpak).

Steam Deck

If using Fedora Kinoite, life may be easier by making symlinks to autostart the gayming apps on login

mkdir -p ~/.config/autostart/
ln -nsfv /var/lib/flatpak/exports/bin/com.valvesoftware.Steam ~/.config/autostart/
ln -nsfv /var/lib/flatpak/exports/bin/com.heroicgameslauncher.hgl ~/.config/autostart/

Visit Steam settings to enable launching in big picture mode and Heroic Games Launcher settings to start minimized.

Other flatpak lifehacks

Dont forget scripts/bash/flatpak-workarounds.bash!