-
Notifications
You must be signed in to change notification settings - Fork 43
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
Clamp is lost when monitor wakes up from stand-by #46
Comments
Which version are you using? |
Latest one 4.0 Note that the PC itself does not go to sleep, only the display. |
Try to use Enabling Override to reference mode in Adjust Desktop Color Settings by NV Control Panel ? |
I've always had "Override to reference mode" enabled. Makes no difference. |
As a workaround, I created a quick .NET core background app that does the following:
Gets the job done, but would be nice for this behavior to exist in novideo_srgb itself. |
Does the |
I could not find any reliable way to detect when the monitor is sleeping or in standby using WMI or by hooking to the OS System/Power Events. The only thing that works 100% of the time is querying the NvApi using:
|
@ledoge Just noticed that novideo_srgb is a .NET app. I downloaded the repo, added a method with the routine I mentioned above in |
Do you have the code for this available? I'd like to test it as well! |
@exscape Here you go: https://gist.github.com/jxlarrea/4594d4676bcf96d33399967ed55b2dcf Just replace those 2 files and compile. The |
Thanks! However the code crashes as soon as my display goes to sleep. GetGDIPrimaryDisplayDevice() throws an exception when called during standby, it seems like. |
I realise that srgb clamp is just a registry hack like dithering hack by name GuZZ on a forum users report is same bug like this they say the problem is newest win 10 version and suggest only use only 1607 and win7. "https://hub.displaycal.net/forums/topic/how-to-enable-dithering-on-nvidia-geforce-with-windows-os/" |
The reason is novideo_srgb didn't watch screen off event which is not provided by .NET Framework. It really need some trick. |
Sadly, this doesn't work. When I play game with ULMB, the monitor switches off to change the mode and the clamp is lost. |
I had a fix for this in my pull request, but there was a bug causing it to crash on multi-monitor systems so it was left out of the merge. Now that I have access to a 2nd displayport monitor to test with, I went to investigate the crash only to find that this issue was fixed by a recent Nvidia driver or Windows update. If someone else can verify that the clamp is now persisting through monitor sleep/wake events, then I think @ledoge can probably close this and we can stop worrying about my janky power broadcast event listening nonsense. |
My PC runs 24/7 but the Windows power plan that I use sends my AW3423DW to stand-by mode after 10 minutes of inactivity.
Unfortunately, the clamp is lost when my display turns back on when I come back to the PC and move my mouse to wake up the display.
Is there any workaround for this?
The text was updated successfully, but these errors were encountered: