Color Banding in Game Mode HDR

I am using Bazzite on my HTPC (-deck image, Radeon RX 7900XTX). When using HDR in Game Mode, significant color banding is visible, which is not present when using HDR on my Steam Deck, or when using HDR in Gamescope on KDE in desktop mode. The banding seems to go away when the developer setting "Disable Color Management" is enabled, which makes SDR content appear extremely dark, but makes HDR content look correct. Color banding is most obvious in the sky and clouds in The Witcher 3 and Death Stranding. Unfortunately the issue doesn't show up in steam screenshots or in-game screenshots, so here are smartphone pictures comparing Color Management being enabled vs disabled in The Witcher 3. Has anyone else experienced this issue? Can anyone point me to any relevant github issues or forum threads that may be relevant? Thank you very much!
No description
No description
Solution:
It’s an issue with the HDR patch used in that kernel, I think it should be fixed in an upcoming or newer build
Jump to solution
17 Replies
matt_schwartz
matt_schwartz2mo ago
What kernel
Turtlewit
Turtlewit2mo ago
6.9.8-202.fsync.fc40.x86_64
Solution
matt_schwartz
matt_schwartz2mo ago
It’s an issue with the HDR patch used in that kernel, I think it should be fixed in an upcoming or newer build
matt_schwartz
matt_schwartz2mo ago
I ran into the same thing a week or two ago, it’s because of an extra part of the patch from a valve contractor that didn’t end up being upstreamed. it only affects dcn32 (which the 7900xtx uses) In the developer settings of game mode it should go away if you enable Force Composition for now
Turtlewit
Turtlewit2mo ago
Good to know, thank you for the information! I'll update and try that if the fix isn't in stable yet.
Turtlewit
Turtlewit2mo ago
Did a system update, but the bug is still present on kernel 6.9.8-204. The force composite setting does fix it and is nicer than disabling color management, so I'll be patient and wait for the fix to hit stable. Thank you for the help!
porkloin
porkloin2mo ago
it doesn't seem like you need more reports of this, but i can confirm the same problem on 7900xtx, latest bazzite and kernel 6.9.8-204.fsync.fc40.x86_64
matt_schwartz
matt_schwartz2mo ago
Whenever 6.9.9 hits it should fix it looks like
porkloin
porkloin2mo ago
any idea when that will be?
matt_schwartz
matt_schwartz2mo ago
no clue. forcing composition does the exact same thing the kernel update will do in the meantime
porkloin
porkloin2mo ago
gotcha, I'm mostly using HDR on kde desktop by gamescope flag ENABLE_GAMESCOPE_WSI=1 flag, i'm assuming the force composition setting is something that would appear in the sidebar on the bazzite-deck image/game mode itself? ah yeah i see i can just use --force-composition flag on gamescope for anyone else who gets here through search and is running HDR per game on desktop via gamescope launch options, my fix was to add the flag --force-composition after gamescope in my launch options ENABLE_GAMESCOPE_WSI=1 DXVK_HDR=1 MANGOHUD_CONFIG=fps_only=1 gamescope -W {your-width-res} -H {your-height-res} -r {your-refresh} --hdr-enabled --force-composition --framerate-limit {your-refresh} --mangoapp %command% following up: can confirm this is fixed by upgrading to the latest kernel (6.9.9, released today)
Akanar
Akanar2mo ago
--adaptive-sync only works on gamescope when it is embedded. Not from launch options in steam. Even states this if you run gamescope --help. If you launch a game with or without it from steam desktop it will seem like it is working but it is using VRR from KDE and not working correctly. If you continue to monitor your fps provided by the monitor you will notice it will spike to your max refresh rate often causing a stutter. If I am in BG3 for example and not moving the camera it seems like it is working well but if I start panning the camera around it will spike to max refresh quite often. The only way to get HDR and VRR working on linux currently is to use for example the Bazzite HTPC edition that boots directly into Steam embedded. Which has both enabled out of the box.
Kyle Gospo
Kyle Gospo2mo ago
or, use a wayland build of wine that's it atm
porkloin
porkloin2mo ago
Good to know, but my note in this thread was specifically about force-composition fixing this specific issue. I’ll remove adaptive-sync from my launch flags in the meantime At one point when I was setting my desktop up for running HDR I added the flag, tbh never verified if it was working But HDR on desktop works fine with gamescope flags 🤷
Agent Scrubbles
Hey folks, sorry to revive a semi dead thread. I keep seeing the gamescope commands, how do I add those? Or, how do I know that they have been applied? I believe the color banding issue is happening to me too, same GPU
Want results from more Discord servers?
Add your server