8

I'm a fan of the f.lux program but I couldn't find any way to install it on the arm architecture. However, there is an alternative called Redshift.

Redshift installed fine; however, when I run it, it doesn't seem to have any effect, I am running the following as a test:

pi@blackpi ~ $ redshift -l 40:75 -b 0.1 -g 0.5 -o 
Gamma ramp size too small: 0
Failed to start adjustment method randr.
Trying next method...
Using method `vidmode'.

Then it kicks me back to the console. No matter what input commands I try, it doesn't seem to change the screen color or brightness at all.

1
  • Absence of “blue filter” functionality on rpi is a serious usability issue. My lame temporary solution for passive user scenario is window overlay, e.g. terminal with red orange color background, semi-transparent by e.g. transset 0.75 after launching xcompmgr.
    – mykhal
    May 13, 2021 at 21:40

2 Answers 2

4

The closed source graphics driver doesn't expose gamma ramps, which are what redshift relies on. To get gamma ramps, you'll need to switch to the open source graphics driver.

Using raspi-config (assuming you're using Raspbian), enable the experimental OpenGL driver (in native mode, not "firmware KMS") and reboot, at which point redshift should work.

2
  • 1
    I can confirm that the GL driver that Raspbian (now Raspberry Pi OS) includes doesn't resolve this issue. The driver can be selected within raspi-config, however upon rebooting the Pi and restarting redshift (which is running), the visual effects (colour temperature, brightness, gamma) are not produced. I have also tried this by installing other Debian distros on the Pi, where I have confirmed redshift to work on those distros but on other architectures, i386, amd64. I have included the raspbian repository to enable the GL KMS driver, but still to no avail.
    – jimjamz
    Mar 13, 2021 at 7:53
  • This seems to be outdated; the described option is now longer available in raspi-config. Jun 24, 2023 at 8:06
0

Not yet, but maybe soon (~2017).

With the new experimental OpenGL driver in Raspbian, it may be possible for Redshift to work.

1
  • I can confirm this doesn't work. Please see my comment on the post above.
    – jimjamz
    Mar 13, 2021 at 7:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.