ValveSoftware / gamescope

SteamOS session compositing window manager
Other
2.98k stars 198 forks source link

Can't find 4K resolution in Elden Ring. #1427

Open laichiaheng opened 1 month ago

laichiaheng commented 1 month ago

Here is my setting in Steam: gamemoderun mangohud gamescope -f -e -W 3840 -H 2160 -w 3840 -h 2160 -r 160 --hdr-enabled %command%

I can't find 3840*2160 in the game setting, the highest resolution is 1440p. 螢幕截圖_20240719_233201 螢幕截圖_20240719_233310

matte-schwartz commented 1 month ago

I am able to repro this while using gamescope -f -e -W 3840 -H 2160 -r 160 --hdr-enabled -- %command% on Plasma 6 desktop which is running a Wayland session.

Interestingly, gamescope -f -e -W 3840 -H 2160 -r 160 --backend sdl -- %command% works properly, pointing towards a Wayland backend issue.

potatoattack commented 1 month ago

FYI you can work around this issue by manually editing the graphics config file: ~/.steam/steam/steamapps/compatdata/1245620/pfx/drive_c/users/steamuser/Application Data/EldenRing/GraphicsConfig.xml

HolySoap commented 1 month ago

Is there a reason why you use the upscale command with the same resolution as your actual resolution? Your gamescope command should look like this: gamescope -f -e -h 2160 -r 160 --hdr-enabled --

The reason why only -h is because gamescope defaults to 16:9, if you have anything else -w is needed as well. -- at the end ends your gamescope command and is the most important one. Lower case letter = the resolution you wanna use aka your monitor. Upper case letters = upscaling/downscaling, NOT the resolution of your monitor.

laichiaheng commented 1 month ago

Is there a reason why you use the upscale command with the same resolution as your actual resolution? Your gamescope command should look like this: gamescope -f -e -h 2160 -r 160 --hdr-enabled --

The reason why only -h is because gamescope defaults to 16:9, if you have anything else -w is needed as well. -- at the end ends your gamescope command and is the most important one. Lower case letter = the resolution you wanna use aka your monitor. Upper case letters = upscaling/downscaling, NOT the resolution of your monitor.

Because of this article: https://zamundaaa.github.io/wayland/2024/05/11/more-hdr-and-color.html I always see him adding upper case H and W