redshift
redshift copied to clipboard
Redshift fails when using VR headset
Describe the bug A clear and concise description of what the bug is.
- I have checked the FAQ (https://github.com/jonls/redshift/blob/master/README.md#faq) and my issue is not mention there.
To Reproduce Steps to reproduce the behavior:
- Let redshift be started automatically by the Plasma applet or start it manually using redshift-gtk or just redshift
- start SteamVR
- error message " `RANDR Set CRTC Gamma' returned error 10 Temperature adjustment failed. " is shown as a notification
Expected behavior I expected redshift to ignore non-desktop displays and only control normal
Error output/logs/screenshots I'll gladly give logs if pointed to where they are
Software versions (please complete the following information):
- OS: Linux
- Redshift version: 1.12
- Distribution: Manjaro KDE
- Redshift installed from: the Octopi packet manager
As a note for other VR players, should one find this issue: Switching the mode to "vidmode" works as a fine workaround! No more blinding screens in the afternoon
Seeing this here (1.12-4.2, installed via Devuan). As noted above, adjustment-method=vidmode
works.
Another option to use the randr
method is to specify the allowed CRTCs (roughly, graphics card outputs). In my case, as my desktop monitor is the first CRTC, I've added -m randr:crtc=0
:
redshift-gtk -l $LAT:$LON -t 6500:2200 -m randr:crtc=0
That said, I'm not sure if there's any limitations to vidmode
that would make randr
a preferred option. It still seems to coexist with color correction.
(I'm still using Redshift as KDE Plasma 5.24's Night Color option does not maintain applied color correction on Xorg.)