Steam: Difference between revisions

Ardenet (talk | contribs)
Marked this version for translation
Tags: Mobile edit Mobile web edit
Added section about getting steam game hdr to work within gamescope
Line 125: Line 125:


<translate>
<translate>
=== Gamescope HDR ===
In order for HDR to work within gamescope, you need to separately install the <code>gamescope-wsi</code> package alongside enabling the <code>gamescope</code> program.<syntaxhighlight lang="nix">
programs.gamescope = {
  enable = true;
  capSysNice = false;
};
environment.systemPackages = with pkgs; [
  gamescope-wsi # HDR won't work without this
];
</syntaxhighlight>Additionally, it may be necessary to force HDR in gamescope with the argument <code>--hdr-debug-force-output</code> when configuring your game's launch options in steam (see the example below).<syntaxhighlight lang="bash">
gamescope -W 3840 -H 2160 -r 120 -f --adaptive-sync --hdr-enabled --hdr-debug-force-output --mangoapp -- %command%
</syntaxhighlight>
=== steam-tui === <!--T:15-->
=== steam-tui === <!--T:15-->
</translate>
</translate>