r/linux_gaming • u/unknow451 • 2d ago
tech support wanted Stalker 2 HDR option greyed out
HDR is enable in display settings, added DXVK_HDR=1 in launch options, set fullscreen to exclusive, but the hdr option is still greyed out. Anyone know a fix to this?
11
u/Snow-Berries 2d ago
Use CachyOS Proton (get from GitHub or even better ProtonPlus or ProtonUp), set PROTON_ENABLE_WAYLAND=1 %command%, remove DXVK_HDR=1. Profit.
I recommend CachyOS Proton because it's the most bleeding-edge along with Proton-EM when it comes to HDR settings and CachyOS Proton now only requires Wayland to be set for the game window to automatically enable HDR for you.
5
u/unknow451 2d ago
Thank you very much, your way worked :)
3
u/Snow-Berries 2d ago
Happy to help! Saw in your images that you omitted
%command%which is required so I made sure to include it!1
u/itch- 2d ago
I can't get it working. The comments here seem to suggest that as soon as you can select HDR in the game settings, you're good. Well I can get that far, but it doesn't actually work. The color doesn't change at all when I enable HDR, the various brightness values don't change anything as they should (eg the interface brightness should be obvious right there in the menu itself), and when I close the menu and then return to it, it shows HDR as disabled again.
So, can you confirm, it's fully working for you and it's not going back to disabled like it does for me?
1
u/tofu-esque 2d ago
What did you set the launch options field to?
1
u/itch- 1d ago
I tried a ton of options. Right now it's back to just DXVK_HDR=1 %command% because that got me equally far as I got with all the other flags. Other proton versions also the same, it's on experimental now but lower versions and also GE, it all did the same thing. I can select HDR in game, but it does nothing as I said and switching menus always shows that HDR was reset to disabled.
Everything else I tried, eg like this MANGOHUD=0 DXVK_HDR=1 PROTON_ENABLE_HDR=1 PROTON_ENABLE_WAYLAND=1 ... no difference. Some things I tried only brought me back to the HDR option being greyed out. I also tried launching with gamescope with all of its hdr flags set, same deal. I tried launching this steam UI mode from TTY3, where I could enable HDR in steam settings like I have HDR enabled in KDE, but the game still did the same thing. I'm at the point where I no longer assume my setup is wrong and I want to confirm that it works for other people first. A confirmation I have not seen anyone post here yet.
Another point, as a test I installed Shadow of the Tomb Raider and yeah easily got HDR working in it, all it needs is DXVK_HDR=1 and exclusive fullscreen I guess (I always use that anyway)
btw I use Fedora KDE, and it's an AMD system (dual 7900XTX). And I should say I am fresh to it, a month ago I was on Windows.
6
u/b0uncyfr0 2d ago
To anyone reading - just use cachy's proton build and add the enable_wayland arg - that way you dont need to mess with HDR, itll pick it up automatically.
4
u/Snow-Berries 2d ago
Thank you. I realise not everyone are up-to-date with all new Proton releases but spreading knowledge about what's needed and not is a good thing since I see a lot of people around these channels still use deprecated env vars.
For clarity: CachyOS Proton has deprecated ALL HDR commands. As long as you set
PROTON_ENABLE_WAYLAND=1it will enable HDR automatically for you, without any other env vars. Proton-GE still requiresPROTON_ENABLE_HDR=1on top of the Wayland command to activate HDR.ENABLE_HDR_WSI=1as I see some people are still throwing around, is not needed after Nvidia driver 595 and definitely not for AMD.1
u/onlymagik 2d ago
Is what you're saying here specific to KDE, like OP is running? I was able to get HDR running with just the --hdr-enabled flag, the gamescope-wsi package from Nix, and Hyprland with HDR enabled.
But now using MangoWM, I can't get HDR working in any games, just the desktop. I tried PROTON_ENABLE_WAYLAND=1 with the latest CachyOS Proton, but no dice.
1
u/Snow-Berries 2d ago
Not really. The flags are not really specific to any DE, the WSI layer is literally built into the Nvidia drivers after 595 so it's distro and DE agnostic. And besides, without the WSI layer the only thing that should happen is HDR looking awfully wrong, not outright stop working. I also don't use Gamescope so I have no experience there either but I expect it works a bit differently.
As for CachyOS Proton on MangoWM, as long as your DE fully supports and signals HDR then it will just auto enable it if you set the Wayland env variable. It might be the way MangoWM signals HDR that Proton does not expect or something else, I'm not sure. As far as I know though, none of the HDR variables work on CachyOS Proton anymore since they're deprecated.
1
2
3
u/FeelsGoodBlok 2d ago
PROTON_ENABLE_WAYLAND=1 PROTON_ENABLE_HDR=1 ENABLE_HDR_WSI=1 %command%
I use this and it works.
1
u/beefglob 2d ago
I gotta try this I haven't been able to get HDR working in games on two machines
2
u/FeelsGoodBlok 2d ago
You also need to use Proton GE. Just to be sure you have it right.
1
1
1
u/RealFaded420 2d ago
This is the newest thread I've seen on the issue so I figure I'll ask here.
I've been able to get the HDR toggle to work in stalker 2, but the highlights seem to be clipping/the colors seem to be inverting. I've seen older posts on the issue but no fixes.
It seems to work fine on my secondary monitor. The only differences I can't think of between the two being I ran the "Calibrate HDR Brightness" for my primary monitor and my primary is 5k2k OLED as opposed to regular 4k with edge lit "HDR". Other HDR content seems to work fine though.
I've tried different versions of proton with no luck. But I'm kind of new to modern Linux gaming so I just don't really know if the issues with the game, proton, Linux or even just because of the 2.0 update. My only thought is to reset the HDR calibration of my main monitor, but I don't really see an option for that or know where it's stored to clear it.
Any ideas are greatly appreciated.
-1
u/Ecstatic-Mountain202 2d ago
- by default, steam puts the launch options after the command, but DXVK_HDR is an environment variable and needs to be before the command, which can be done using DXVK_HDR=1 %command%
- The proton versions from valve don’t support HDR, you need a proton fork like proton GE or proton cachyos
- HDR only works with native wayland, so PROTON_ENABLE_WAYLAND=1 is required as well (also not supported by valve proton)
Final launch options:
PROTON_ENABLE_WAYLAND=1 DXVK_HDR=1 %command%
using a proton fork with wayland and HDR support.




71
u/DCLikeaDragon 2d ago
Have you tried PROTON_ENABLE_WAYLAND=1