-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support wlroots gamma control protocol #704
Conversation
Would appreciate recommendation on the CI failure. Is Ubuntu 14.04 still a targeted platform? |
Is this the place to report problems instead of the other PR?
I am wondering if
|
@CameronNemo However, there is another issue: I'm preparing Meson changes for this PR in my branch (only for testing) and Travis build passes. |
@kakurasan wlroots needs libwayland > 1.16.0 anyway, so disabling wlroots gamma on older build systems (i.e. xenial) is no big deal. |
@e00E can you test with wlroots 0.5 and sway 1.0? This is what I see:
|
It still does not work but I noticed the |
I have the same issue: no error with |
This branch has been working almost flawlessly for months now on my system (nvidia optimus laptop - occasionally connected to multiple monitors). is there any chance of it getting merged upstream? |
@zetorian I would personally love that, but it appears the maintainer has not had enough free time to devote to redshift. Hopefully that changes soon. |
FYI: Sway and wlroots just removed the gamma control protocols you were using in favor of ones under the Hope this helps. |
@cole-h AIUI, this issue only affects those running sway from master, yes? Also -- your diff seems to be missing the protocol file changes. |
And anything that uses wlroots (from master), I believe. It makes sense that was missing; I just made enough changes to the code for gamma to work with sway again. Mostly, I just wanted to put this out there for those who were running into the same issue or if it would in some way help you. |
This PR already uses |
I'm using redshift from this PR on two laptops with Arch Linux, sway and generally identical dotfiles, and on one of them I have weird problems:
If I run redshift from terminal, I get no errors in the console, but normally I use redshift from a systemd service, and my journalctl is full of the errors below:
I think when my screen flickers for a second, it is exactly the case when redshift coredumps and restarts. Any hints or ideas on what could be wrong, how to investigate? |
This seems to be the most recent implementation that has a chance to get merged into redshift proper. jonls/redshift#704
Continuation of #663. Squashed commits.
Adds support for the gamma control protocol that wlroots compositors (sway, wayfire) offer. I have tested this patch on Sway 1.0.
Summary of changes: