Porting Redshift


Silent-Hunter

Hardcore Member
Joined
May 29, 2010
Messages
3,485
I'm attempting to port the software Redshift ( http://jonls.dk/redshift/ ), but it doesn't seem to work. It compiles OK, but it can't seem to set the color temperature.

Code:
/home/silent/Documents/build/PND/redshift-1.11$ ./redshift -l 39.9526:75.1652
Gamma ramp size too small: 0
Failed to start adjustment method randr.
Trying next method...
Gamma ramp size too small: 0
Failed to start adjustment method vidmode.
Trying next method...
No more methods to try.

I also tried using method "drm"

Code:
/home/silent/Documents/build/PND/redshift-1.11$ ./redshift -l 39.9526:75.1652 -m drm
open: No such file or directory
Failed to start adjustment method drm.

Does the Pandora not support changing the gamma in this way?
 
I'd guess this heavily depends on the supported extensions of the X driver, which is very limited when using fbdev - RandR surely won't work.
 
Does it all work as expected if you use 'redshift -m dummy'? Clearly that won't actually set the gamma anywhere, but it'll exercise the rest of the code, in case there's an error there.
 
Yes, dummy outputs the correct values. I am curious why the drm method did nothing though, I thought we were using that on the Pandora?
 
Back
Top