© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
BazziteB
Bazzite•6mo ago•
1 reply
Taco

How to automatically disable/enable HDR with Sunshine

I've noticed that when I toggle HDR using the below command that colours remain washed out on the display in question, even though it's definitely working (the HDR toggle switch in Display Config is changing). When toggling HDR via the actual Display Config area it forces some sort of refresh/flicker on the monitor itself which causes the colours to render properly after - I believe this is the key to getting HDR working. I need to know what exactly this screen refresh is and how to trigger it via terminal so I can use it with Sunshine to automatically enable/disable HDR when using Sunshine to stream (TV doesn't support HDR).

HDR toggle command:
alias hdr='if [ "$(kscreen-doctor -o | ansi2txt | grep -cm1 "HDR: enabled"| cut -d= -f2)" -ge 1 ]; then kscreen-doctor output.DP-1.hdr.disable; else kscreen-doctor output.DP-1.hdr.enable; fi;'
BazziteJoin
The operating system for the next generation of gamers.
29,482Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Enable HDR over Sunshine without HDR-capable monitor?
BazziteBBazzite / 🛟bazzite-help
5mo ago
Instant wake, HDR, Sunshine mouse
BazziteBBazzite / 🛟bazzite-help
2y ago
Cannot Disable HDR anymore !
BazziteBBazzite / 🛟bazzite-help
15mo ago
Is there any way to enable hdr with an nvidia gpu?
BazziteBBazzite / 🛟bazzite-help
16mo ago