the heroic launcher was recently updated to support gamescope (installed it through flatpak by installing org.freedesktop.Platform.VulkanLayer.gamescope 23.08 through the terminal using >flatpak install).
it can be configured with a simple GUI (as seen above) and gives you all the options you could reasonably need. One of the big improvements is that on wayland, unlike when used through steam, it will actually close the game when told to, without requiring you to maunally kill the gamescope process.
valve still requires you to edit text launch options to enable and configure gamescope.
Valve needs to do better with gamescope, this 3rd party FOSS app is embarrasing them.
Probably intended for laptops
No, i meant there should be an option to select which card gamescope will use The game will run on the dgpu but gamescope uses the igpu which should help solve problems with nvidia cards, btw gamescope has an option for that
--prefer-vk-device vendorID:deviceID
I think it would be nice having it in the gui