Lets Subnautica 2 (and any other game) opt into the GE-Proton build via Steam's per-game compatibility tool override, as a workaround for the Proton Experimental + DXVK D3D12 Mercuna hang. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
22 lines
722 B
Nix
22 lines
722 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
# Steam
|
|
programs.steam = {
|
|
enable = true;
|
|
dedicatedServer.openFirewall = true;
|
|
extraCompatPackages = [ pkgs.proton-ge-bin ];
|
|
};
|
|
|
|
# Proton Experimental ships an accessibility bridge (xalia) that hangs during
|
|
# game launch when AT-SPI is not running on the host. This host has no AT-SPI,
|
|
# so disable xalia globally to avoid wedging iscriptevaluator.exe.
|
|
environment.sessionVariables.PROTON_USE_XALIA = "0";
|
|
|
|
# Gamescope — micro-compositor for game fullscreen/resolution management.
|
|
# Use as Steam launch option: gamescope -W 2560 -H 1440 -f -- %command%
|
|
programs.gamescope = {
|
|
enable = true;
|
|
capSysNice = true; # Allow gamescope to set realtime scheduling
|
|
};
|
|
}
|