this post was submitted on 28 Jun 2024
2 points (100.0% liked)

Linux Gaming

15289 readers
43 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 1 year ago
MODERATORS
 

I was recently experimenting with using Gamescope to check whether HDR works on Plasma.

The games run perfectly if I set the compositor resolution (via -W and -H arguments) to a lower value like 1920x1080 (I have a 1440p monitor). But if I were to maximize the compositor window or make it fullscreen (via the Super + F shortcut), the window becomes invisible and I see my desktop. In case of maximizing, the title bar is visible but nothing else.

I have not set --expose-wayland since games don't even start when I set that. When running gamescope with Steam integration (via the -e argument), steam starts and I am also able to make it fullscreen without any issues, but when I launch a game, I only see the Steam window.

During this time, I can hear the audio from the game, implying that the game is running in the background.

Has anyone else faced this issue and what could be done about this?

FWIW, I am on EndeavourOS with the git version of Gamescope installed from the AUR, though the non-git version does not fare any better. GPU is AMD Radeon with Mesa.

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 0 points 4 months ago (1 children)

I had this issue when I was using -F fsr, you could try disabling that if you're using it. I also have to do ENABLE_HDR_WSI=0, since I have that enabled for MPV but setting it to 1 makes Gamescope break.

My current launch options are ENABLE_HDR_WSI=0 DXVK_HDR=1 gamescope -f -H 2160 --force-grab-cursor --hdr-enabled --hdr-debug-force-output --hdr-itm-enable -- env MANGOHUD=1 %command%. I may also have ENABLE_GAMESCOPE_WSI=1 set as well, you could try that.

Using NixOS with Linux 6.8, Plasma 6.1, gamescope-wsi_git, and an RX 7600.

[–] [email protected] 0 points 4 months ago

Cool, I tried your launch options and it worked, though I have modified it a bit:

ENABLE_HDR_WSI=0 DXVK_HDR=1 gamescope -f -H 1440 --hdr-enabled --mangoapp -- %command%

Everything however had a slight blurriness and I wish FSR worked, however toggling FSR freezes the game. I never used FSR to begin with though.

gamescope-wsi_git

What is WSI exactly and what patches does this package of gamescope have?