Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDR color is saturated at first run #116

Open
rairulyle opened this issue Jul 9, 2024 · 2 comments
Open

HDR color is saturated at first run #116

rairulyle opened this issue Jul 9, 2024 · 2 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists help wanted Extra attention is needed invalid This doesn't seem right

Comments

@rairulyle
Copy link

So I have my setup to run a display profile using MonitorSwitcher depending on use:

Non streaming
1 and 2 is my physical monitors that are enabled
3 is the virtual display that is disabled

image

Streaming:
1 and 2 is my physical monitors that are disabled
3 is the virtual display that is enabled

image

PROBLEM
Swapping display profile works but when the virtual display runs at first (from disabled to enabled) the HDR color is saturated. I have to turn off and on HDR to fix this.

@smokybroom
Copy link

Also have this issue.

@matheusfaustino
Copy link

Not the ideal scenario, but I found a workaround, and it is working pretty well for me.

I created an automation that triggers the Win+Alt+B shortcut from w11 (maybe 10 as well) that turns the hdr on and off (you need to have the Game Bar - from xbox - installed and working in order to have this shortcut) triggering the shortcut twice, and it solves the issue. Then, add the shortcut in sunshine pre-command-script, and it will trigger it every time that you start sunshine.

To Sum up:

  1. Install Autohotkey (v2)
  2. create an automation that trigger Win+Alt+B
; I added the sleep just to give some time for sunshine set up everything that it needs 
Sleep 2000 ; Wait for 5000 milliseconds (5 seconds)
Loop 2 {        
    Send("{LWin down}{Alt down}b{Alt up}{LWin up}")
    Sleep 1000
}
Exit
  1. Make it an exe
  2. Add to sunshine and have gaming.

ps: to make sure if that will work, log in using the Desktop option from sunshine (see saturated colors) and try the shortcut by yourself, using the keyboard. It solved for me and I just automated.

Shortcut: disable-enable-hdr.ahk.txt

@bud3699 bud3699 added bug Something isn't working duplicate This issue or pull request already exists help wanted Extra attention is needed invalid This doesn't seem right labels Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists help wanted Extra attention is needed invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

4 participants