Redshift: WINGDI not working with extend screen settings in win 10 version 1903 os build 18362.418

Created on 15 Oct 2019  路  4Comments  路  Source: jonls/redshift

I am using the precompiled version for WIN
I got the following issue
Unable to save current gamma ramp.
Failed to start adjustment method wingdi.

I am a developer of simillar app and setting windows gdi was working in previous builds of win 10, I am sure. I was wondering wether other apps solved the issue. Maybe you know wingdi api better than me and you will be able to find the solution.
duplicate screen is working, independent screen is working. it will be something about the two screens in extended mode.

help wanted

All 4 comments

Same problem here. :(

Unable to save current gamma ramp.
Failed to start adjustment method wingdi.

Same issue here, worked on prior windows build (1803), now on Win 1909 and receive the error. The only change has been the Windows build update. using version precompiled for Windows, installed via chocolatey, redshift 1.12.

same here with latest windows 10 64bit v1909
tried from release section

redshift.exe -O 4800

Unable to save current gamma ramp.
Failed to start adjustment method wingdi.
Trying next method...
No more methods to try.

I'm seeting this problem too. In my testing, I found that if you use GetDC(NULL), the resulting DC will not let you call SetDeviceGammaRamp. However, if you pass it a monitor DC instead, it will work. Here are the steps I took:

  • Get all monitor names using EnumDisplayMonitors
  • Then, for each monitor:

    • Obtain a DC with CreateDC

    • Call SetDeviceGammaRamp

    • Clean up using DeleteDC

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cbcoutinho picture cbcoutinho  路  6Comments

da2x picture da2x  路  6Comments

amosbird picture amosbird  路  4Comments

planemad picture planemad  路  6Comments

ForsakenHarmony picture ForsakenHarmony  路  4Comments