Repository navigation
Feature: Add Wayland support #55
Description
Activity
Check if it is possible load xwayland on your phone, it should work transparently then. It does not look like support for colour adjustments have been added to Wayland yet, or at least I have not been able to find the API. Personally I am eagerly waiting for Wayland and Haiku to add colour adjustments support.
Reacted by Paul and Céleste Woutersredshift doesn't work on XWayland (here on Fedora 21 Alpha under wayland/gnome-session) at least without any changes.
According to http://lists.freedesktop.org/archives/wayland-devel/2014-February/ (via: https://en.wikipedia.org/wiki/RandR ) there is a randr extension in wayland since February, but I didn't find any API or cli tool for it.
Running
grep -rni randrover the source code for Wayland and Weston reveals that there is no RandR support merged into either Wayland or Weston. However the reference for Wayland's support in the Wikipedia article contains mailing list posts with patches to add RandR support in Weston, nothing about RandR support in Wayland however (probably elsewhere).In March I did successfully run Redshift in XWayland, so I don't know what has happened. (Have not retried.)
redshift is broken on Fedora 21: Gnome Wayland
~ $ redshift -l 55.7:12.6 -t 5700:3600 -g 0.8 -m vidmode -v & Location: 55.700001, 12.600000 Temperatures: 5700K at day, 3600K at night Brightness: 1.00:1.00 Gamma: 0.800, 0.800, 0.800 Xlib: extension "XFree86-VidModeExtension" missing on display ":1". X request failed: XF86VidModeQueryVersion Failed to start adjustment method vidmode
Have you tried
-m randr?Ya:
$ redshift -l 55.7:12.6 -t 5700:3600 -g 0.8 -m randr Screen 1 could not be found. Failed to start adjustment method randr. Job 1, “redshift -l 55.7:12.6 -t 5700:3600 -g 0.8 -m randr &” has endedI'm also running Sailfish and I'd be interested too in this feature. Any updates on Wayland supporting randr?
Try removing your redshift.conf. Most people with
two or more monitors do not have a "Screen 1",
only "Screen 0"; they usually have a "CRTC 1"
in "Screen 0".It looks like there still is no support in Wayland and that Weston only supports it but utilising colord.
So it looks like XWayland is still required, which does (or atleast did in March) support RandR.now it doesn't do anything, it just wait after running the commnad.
Are you running a virtual or physical machine?
Doesxgammaorxrandrwork for you?I'm running it on my laptop, it's not a virtual machine.
~ $ redshift -l 55.7:12.6 -t 5700:3600 -g 0.8 -m xrandr Unknown adjustment method `xrandr'. ~ $ redshift -l 55.7:12.6 -t 5700:3600 -g 0.8 -m xgamma Unknown adjustment method `xgamma'.
Ok.
I meant to programsxrandrandxgamma. For examplexgamma -gamma 0.8.112 remaining items
I do think this project is dead though. Last commit was over a year ago.
Hopefully someone might fork it and bring it back to life -- in the meantime, that fork is perfectly usable.
abandonware!=deadware; that will turn out to be true or not when it wont work anymore if ppl will fix it or not, while the pending issues probably belong to those who dont care enough, not to the happy users :D
I do think this project is dead though. Last commit was over a year ago.
Hopefully someone might fork it and bring it back to life -- in the meantime, that fork is perfectly usable.
What's stopping you from using this at it's state/packaging for your favorite distro?
@prahal Thanks for the gnomerr fork! Is there any way to restrict it to specific display(s) on a screen?
ie, an equivilant to:[randr] crtc=0,2@jonjonw gnomerr is based on randr plugin. I was not aware of the config syntax for the crtc handling. Thanks for the pointer.
All that is required is change the section from randr to gnomerr.
[gnomerr] crtc=0,2Reacted by Jonathan WiersmaWhat's stopping you from using this at it's state/packaging for your favorite distro?
This exact issue. I don't think there's been any activity on this repository in general though. The fork kinda works for me, so I guess that's good enough. 🤷
Reacted by Antonín Dach and Martin MichlmayrIt doesn't. redshift makes the screen less bright, which is critical. With gnome Night Shift, one gets a bright redlight screen.
https://bugzilla.gnome.org/show_bug.cgi?id=784810Reacted by Tomasz CzGNOME's night light also does not adjust colour temperature during the day.
Reacted by Anwar and Alexander BrowneAnything new?
A fork, gammastep, exists with some light fixes to the PR linked above. https://gitlab.com/chinstrap/gammastep
Reacted by Florent Lévigne, Paul, Maxime Louet, Siddhartha Golu, Felice, John Ericson and Oliver KoppReacted by Marcel Partap and Heitor de Bittencourt@CameronNemo thanks for the link. I have now moved gammastep to Arch Linux' [community] repository instead.
I don't believe this ticket will go anywhere and I'll unsubscribe.
Reacted by sephore, Hugo, rwanyoike and Siddhartha GoluI'd suggest others needing this feature just jump onto
gammastep, seems to do just what everyone here is asking. Good luck!Another alternative: https://sr.ht/~kennylevinsen/wlsunset/
Reacted by Cameron Nemo, Nicolas Dietrich, Matt Molyneaux, Peter Schroeder, Katalin Rebhan, Martynas M, Arthur, Andrew Athalye, Pierre Rouveyrol, Jorge Gomez and 4 more


I use a Jolla phone with SailfishOS which already uses Wayland as display server. One thing I'm really missing is color shift in the dark. Is there something similar to the X server extension used for Wayland?