ValveSoftware / gamescope

SteamOS session compositing window manager
Other
2.88k stars 193 forks source link

Default to native resolution #797

Open YamiYukiSenpai opened 1 year ago

YamiYukiSenpai commented 1 year ago

I'd like to be able to use gamescope without needing to specify the resolution I'm in. Would that be possible?

As of right now, I appear to be able to launch only at 720p, unless I specify 1440p.

lennie420 commented 1 year ago

If running in nested mode it defaults to 720p. Embedded seems to set the native resolution.

YamiYukiSenpai commented 1 year ago

What’s the difference?

If I simply run gamescope, that’s nested?

lennie420 commented 1 year ago

Nested mode is when you are running it from a desktop environment/window manager or virtual terminal. Embedded mdoe is when you are running it directly from TTY.

YamiYukiSenpai commented 1 year ago

Nested mode is when you are running it from a desktop environment/window manager or virtual terminal. Embedded mdoe is when you are running it directly from TTY.

Ooh! Thanks. Didn’t know that’s a possibility.

When I tried to play Mass Effect: Legendary Edition on my Steam Deck (game mode), it was on 720p. Is it because it was nested?

NadeemSadiq commented 7 months ago

I ran gamescope in embedded mode and the resolution starts steam in native but runs the game under steam on the default (720p) resolution. Is this the expected behavior?

slagiewka commented 4 weeks ago

Use case when this is annoying:

  1. Sunshine + Moonlight streaming
  2. Sunshine setting client resolution with kscreen-doctor
  3. gamescope in use for HDR in KDE
  4. gamsecope needs to have -f -H 2160 added to Steam's custom command to not run in 720p
  5. When actual screen resolution gets modified by Sunshine (e.g. down to 1080p), gamescope will still run in 2160p

With gamescope not respecting actual full screen resolution, it's hard to set the entire thing to HDR + adjusting resolution for optimal streaming experience.