{"action":"created","issue":{"url":"https://api.github.com/repos/jonls/redshift/issues/121","labels_url":"https://api.github.com/repos/jonls/redshift/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/jonls/redshift/issues/121/comments","events_url":"https://api.github.com/repos/jonls/redshift/issues/121/events","html_url":"https://github.com/jonls/redshift/issues/121","id":45483032,"number":121,"title":"Random temperature adjustment failure using WinGDI (windows)","user":{"login":"dan9550","id":2210900,"avatar_url":"https://avatars.githubusercontent.com/u/2210900?v=3","gravatar_id":"","url":"https://api.github.com/users/dan9550","html_url":"https://github.com/dan9550","followers_url":"https://api.github.com/users/dan9550/followers","following_url":"https://api.github.com/users/dan9550/following{/other_user}","gists_url":"https://api.github.com/users/dan9550/gists{/gist_id}","starred_url":"https://api.github.com/users/dan9550/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dan9550/subscriptions","organizations_url":"https://api.github.com/users/dan9550/orgs","repos_url":"https://api.github.com/users/dan9550/repos","events_url":"https://api.github.com/users/dan9550/events{/privacy}","received_events_url":"https://api.github.com/users/dan9550/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jonls/redshift/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2014-10-10T13:57:33Z","updated_at":"2016-01-01T14:22:27Z","closed_at":null,"body":"Getting some errors trying to run on the Windows Technical Preview.\r\n\r\n`````\r\nC:\\Users\\Danny\\Downloads>redshift -v -c C:\\Users\\Danny\\Documents\\redshift.conf\r\nLocation: 0, 0\r\nTemperatures: 6500K at day, 5000K at night\r\nBrightness: 1.00:1.00\r\nGamma: 1.000, 1.000, 1.000\r\nStatus: Enabled\r\nPeriod: Night\r\nColor temperature: 6500K\r\nBrightness: 1.00\r\nPeriod: Night\r\nColor temperature: 6484K\r\nBrightness: 1.00\r\nUnable to set gamma ramps.\r\nTemperature adjustment failed.\r\n`````\r\n\r\nHere is my config:\r\n`````\r\n; Global settings for redshift\r\n[redshift]\r\n; Set the day and night screen temperatures\r\ntemp-day=6500\r\ntemp-night=5000\r\n\r\n; Enable/Disable a smooth transition between day and night\r\n; 0 will cause a direct change from day to night screen temperature. \r\n; 1 will gradually increase or decrease the screen temperature\r\ntransition=1\r\n\r\n; Set the screen brightness. Default is 1.0\r\n;brightness=0.9\r\n; It is also possible to use different settings for day and night since version 1.8.\r\n;brightness-day=0.7\r\n;brightness-night=0.4\r\n; Set the screen gamma (for all colors, or each color channel individually)\r\n;gamma=0.8\r\n;gamma=0.8:0.7:0.8\r\n\r\n; Set the location-provider: 'geoclue', 'gnome-clock', 'manual'\r\n; type 'redshift -l list' to see possible values\r\n; The location provider settings are in a different section.\r\nlocation-provider=manual\r\n\r\n; Set the adjustment-method: 'randr', 'vidmode'\r\n; type 'redshift -m list' to see all possible values\r\n; 'randr' is the preferred method, 'vidmode' is an older API\r\n; but works in some cases when 'randr' does not.\r\n; The adjustment method settings are in a different section.\r\nadjustment-method=wingdi\r\n\r\n; Configuration of the location-provider:\r\n; type 'redshift -l PROVIDER:help' to see the settings\r\n; ex: 'redshift -l manual:help'\r\n[manual]\r\nlat=0\r\nlon=0\r\n\r\n; Configuration of the adjustment-method\r\n; type 'redshift -m METHOD:help' to see the settings\r\n; ex: 'redshift -m randr:help'\r\n; In this example, randr is configured to adjust screen 1. \r\n; Note that the numbering starts from 0, so this is actually the second screen.\r\n[randr]\r\nscreen=0\r\n`````\r\n"},"comment":{"url":"https://api.github.com/repos/jonls/redshift/issues/comments/168310199","html_url":"https://github.com/jonls/redshift/issues/121#issuecomment-168310199","issue_url":"https://api.github.com/repos/jonls/redshift/issues/121","id":168310199,"user":{"login":"akuntsch","id":4771806,"avatar_url":"https://avatars.githubusercontent.com/u/4771806?v=3","gravatar_id":"","url":"https://api.github.com/users/akuntsch","html_url":"https://github.com/akuntsch","followers_url":"https://api.github.com/users/akuntsch/followers","following_url":"https://api.github.com/users/akuntsch/following{/other_user}","gists_url":"https://api.github.com/users/akuntsch/gists{/gist_id}","starred_url":"https://api.github.com/users/akuntsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akuntsch/subscriptions","organizations_url":"https://api.github.com/users/akuntsch/orgs","repos_url":"https://api.github.com/users/akuntsch/repos","events_url":"https://api.github.com/users/akuntsch/events{/privacy}","received_events_url":"https://api.github.com/users/akuntsch/received_events","type":"User","site_admin":false},"created_at":"2016-01-01T14:22:27Z","updated_at":"2016-01-01T14:22:27Z","body":"Same issue as @LordJABA here. \r\n\r\nI'm on Windows 10 running a dual monitor setup in extended mode and I always get the following error messages:\r\n\r\n    C:\\Users\\Alex\\Desktop>redshift.exe -O 4500\r\n    Using method `wingdi'.\r\n    Unable to set gamma ramps.\r\n    Temperature adjustment failed.\r\n\r\nThe manual temperature adjustment does however work on both screens. \r\nContinuous adjustment doesn't work because the program exits after the error messages."}}