Skip to content
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

Gamma control is ineffective under cage #168

Closed
project-repo opened this issue Aug 30, 2020 · 3 comments
Closed

Gamma control is ineffective under cage #168

project-repo opened this issue Aug 30, 2020 · 3 comments

Comments

@project-repo
Copy link
Contributor

Hi,
I've been trying to debug this for some time now and haven't come up with much yet, so I thought I'd report this here seeing as it is a common bug between cage and cagebreak:
Some time back, the gamma control protocol was implemented for cage which is why I expected that gammastep -o -O 1000 would allow me to set the color temperature. However, for some reason which is unknown to me it seems that this command produces no effect whatsoever in either cage or cagebreak. Running it under sway does produce the desired fact and adding wlr_gamma_control_manager_v1_create to tinywl allows one to set the gamma values there too. That's pretty much all I've been able to figure out about this bug exept that it is probably not a rendering bug. Do you have any idea what might be causing this behaviour?
cheers,
project-repo

@project-repo
Copy link
Contributor Author

OK, so I was able to figure out what the problem was and as it seems, this is a wlroots bug: Setting the redshift is broken only when scanning out a fullscreen view. The reason I was first unable to reproduce this in sway was that it does not display windows fullscreen by default meaning that it was not scanning out the views while cage and cagebreak were.
I will report this to the wlroots developers, feel free to close this issue if you like.
cheers,
project-repo

@project-repo
Copy link
Contributor Author

See swaywm/wlroots#2280

@Hjdskes
Copy link
Collaborator

Hjdskes commented Jan 14, 2022

Thanks. Closing this as it seems to be fixed in wlroots too :)

@Hjdskes Hjdskes closed this as completed Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants