ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.09k stars 206 forks source link

Using gamescope with Dark Souls 2: Scholar of the First Sin results in a black screen #1572

Open wantija opened 2 weeks ago

wantija commented 2 weeks ago

Is there an existing issue for this?

Are you using any gamescope patches or a forked version of gamescope?

Current Behavior

When launching Dark Souls 2: Scholar of the First Sin from Steam using gamescope causes the game to only render a black window , sounds from the game can still be heard.

Steps To Reproduce

Launch Dark Souls 2: Scholar of the First Sin from Steam with the launch arguments "gamescope -- %command%"

Hardware information

- Distro: Arch Linux
- CPU: R7 5800X
- GPU: RX 6700XT
- Driver Version: Mesa 24.2.4

Software information

- Desktop environment: KDE Plasma 6.2
- Session type: Wayland
- Gamescope version: Mesa 24.2.4
- Gamescope launch command(s): see above

Which gamescope backends have the issue you are reporting?

Logging, screenshots, or anything else

No response

matte-schwartz commented 2 weeks ago

I'm able to repro this on Arch with all backends. what's bizarre is that on SteamOS it seems to work completely fine for me with the DRM backend, so I would've expected the same on Arch while using the same Gamescope package.

Separate from this, it seems to put my external display into a very weird colorspace with the DRM backend where mangohud and the Steam UI are super washed out. Disabling WSI fixes the colorspace issue but not the black screen.

I'm also on Mesa 24.2.4 right now so perhaps I should poke around there a bit for the black screen.

matte-schwartz commented 1 week ago

@wantija in ~/.local/share/Steam/steamapps/compatdata/335300/pfx/drive_c/users/steamuser/AppData/Roaming/DarkSoulsII/GraphicsConfig_SOFS.xml try changing:

<Resolution-FullScreenWidth>1280</Resolution-FullScreenWidth>
<Resolution-FullScreenHeight>720</Resolution-FullScreenHeight>

to

<Resolution-FullScreenWidth>1920</Resolution-FullScreenWidth>
<Resolution-FullScreenHeight>1080</Resolution-FullScreenHeight>

for some reason this fixed it on my PC. on my SteamOS device it defaulted to 1920x1080p which is why I did not run into the issue. Window screen width and height are still set to 1280x720

image