57
Plasma 6: How to use HDR with games?
(lemmy.world)
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.
WWW:
Discord:
IRC:
Matrix:
Telegram:
Hi! To enable HDR in most games you will need to set your game in fullscreen. Windowed or Borderless won't allow you to use HDR functionality.
You'll also need to use the
DXVK_HDR=1 %command%
startup variable in steam to enable HDR in any Proton game. Proton 8 and 9 should support HDR without issuez although there are some games that might need additional configuration.If you use an NVIDIA card, you might need to enable NVAPI with
DXVK_ENABLE_NVAPI=1
Happy gaming! :D
This only lets you enable hdr in game. Since proton runs under xwayland the hdr info won't reach the compositor.
Oh really? That sucks, how do you work around that?
Use Gamescope and a Vulkan layer. Here's a more detailed post: https://planet.kde.org/xavers-blog-2023-12-18-an-update-on-hdr-and-color-management-in-kwin/
If you get the latest gamescope from git. You no longer need the vulkan layer.
Gamescope supports hdr with --hdr-enabled --hdr-debug-force-output flags and running the game under it doesn't require xwayland in my understanding. It doesn't support nvidia though
So what is the benefit of KDE's HDR support at that? Could you do something similar under Gnome and get HDR support in games?
If gnome supports hdr too you can. Kde's support is a part of the stack that needs to support hdr for it to work. The programs and drivers can speak hdr all they want but if the compositor (kde) doesn't understand and relay the info to the monitor it won't work.
Excellent, thanks for this!
Well I was wondering this whole time how that works! Thanks a ton!
Nice, this appears to allow me to enable HDR at least in Resident Evil 8.
Is there a distinct command if the game is native Vulkan versus using the Direct3d to Vulkan layer?
Edit: Lojcs is saying this only allows you to enable it but it isn't actually working, https://a.lemmy.world/lemmy.world/comment/8535260