Problems with Gamescope

Hey there. Is someone able to use Gamescope at the moment? I can’t get it to work. Games are just crashing right after launch. This happens with Steam, Lutris and Heroic. I found several issues on GitHub regarding Gamescope, so mabe it is not just me beeing dumb?

Some context:

Launching Steam with Gamescope like mentioned in the Arch Wiki:

gamescope -e -- steam                                  
No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
wlserver: [backend/headless/backend.c:68] Creating headless backend
vulkan: selecting physical device 'AMD Radeon RX 6700 XT (RADV NAVI22)': queue family 1
vulkan: physical device supports DRM format modifiers
vulkan: supported DRM formats for sampling usage:
vulkan:   AR24 (0x34325241)
vulkan:   XR24 (0x34325258)
vulkan:   AB24 (0x34324241)
vulkan:   XB24 (0x34324258)
vulkan:   NV12 (0x3231564E)
vulkan:   AB4H (0x48344241)
vulkan:   XB4H (0x48344258)
vulkan:   AB48 (0x38344241)
vulkan:   XB48 (0x38344258)
vulkan:   AB30 (0x30334241)
vulkan:   XB30 (0x30334258)
vulkan:   AR30 (0x30335241)
vulkan:   XR30 (0x30335258)
[1]    10727 segmentation fault (core dumped)  gamescope -e -- steam

Steam installed like that:

programs.steam = {
  enable = true;
  remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
  gamescopeSession.enable = true;
  dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
};

Lutris installed like that:

environment.systemPackages = with pkgs; [
lutris
    (lutris.override {
	    extraPkgs = pkgs: [
		    wineWowPackages.stable
        gamescope
		    winetricks
	    ];
      extraLibraries = pkgs: [
        gamescope
      ];
	  })
];

Thx :slight_smile:

I’m using it successfully to wrap Wine. I don’t have any experience with Steam etc.

1 Like