this post was submitted on 17 Mar 2024
12 points (92.9% liked)
Linux Gaming
15286 readers
337 users here now
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.
Resources
WWW:
Discord:
IRC:
Matrix:
Telegram:
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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
NVIDIA Latest Drivers:
Fixes Game Flicker:
file:
/etc/modprobe.d/nvidia.conf
options nvidia NVreg_RegistryDwords="PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3"
General Wayland Fixes:
These can also be set under modprobe, but I was troubleshooting a while back and it was easier to edit them this way before booting. So here's my kernel parameters I have set:
nvidia-drm.modeset=1 nvidia-modeset.hdmi_deepcolor=1 nvidia-drm.fbdev=1 nvidia.NVreg_TemporaryFilePath=/var/tmp
ENV Variables
https://lemmy.world/comment/8500390
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.