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

No controls work (output is deleted) after gamma_control::Event::Failed #30

Open
codebling opened this issue Nov 22, 2024 · 0 comments
Open

Comments

@codebling
Copy link

When I attempt to invert the screen, I get Output 50: gamma_control::Event::Failed. Seems like it might be a hardware thing, since Picom under X also complains (error 160 GLX_BAD_DRAWABLE request 152 minor 29 ) - I don't think this is a problem with ws-gammarelay-rs.

All of the controls except invert work, until we try to invert, then nothing works.

When zwlr_gamma_control_v1::Event::Failed is received, we destroy the output (lines 191-194). The documentation states that the control is no longer valid, but makes no statement about the output, so maybe destroying the output is not the correct behavior.

Since everything (except invert) works until the output is destroyed, so maybe we should just recreate the control (though having tried this, it didn't work -- not sure if this is a problem with my implementation), or maybe it's ok to ignore this and accept it as a limitation of wl-gammarelay-rs that you cannot try to manipulate gamma in an unsupported way.

So in the end maybe this is more of a question than a bug report !

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

1 participant