-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
[Bug]: Unable to get brightness value: DDC/CI error: invalid DDC/CI length
#114
Comments
I believe the problem is related to the phantom display (with serial
|
Hello! I believe you can match on the serial number of your display in wluma config, in case the serial number doesn't change across reboots. Otherwise it's a bit tough to find a solution to skip phantom displays without necessary hardware, what worked so far was to filter displays only for those that can successfully respond to "update capabilities" request, but clearly in your case the phantom display is able to respond to that 🤔 If you'd like to tinker with the code and see if you can identify another condition that can distinguish a phantom from a real display in your setup, the necessary parts are here, and any findings would be very appreciated: wluma/src/brightness/ddcutil.rs Lines 71 to 73 in 8df0b8e
|
Actually the serials are the same, so I get two exact strings for phantom and nonphantom.
Thanks for the idea! However I will unlikely will have time to look into this, but someone probably will 🙂
|
Sure thing! Your output of Let's keep it open for some time and see if anyone is able to help. I do think it's a bit hard to investigate this without having the hardware to test against, but maybe there will be someone else having the exact same problem. |
I have have same problem but in my case there is no phantom display
ddcutil output
so when i manually try to change brightness it takes some time (a second or 2) each time the key is pressed which is very frustrating. |
Steps for reproducing the issue
ddcutil
in wluma with nameHP
and capturerWlroots
ERROR wluma::brightness::controller] Unable to get brightness value: DDC/CI error: invalid DDC/CI length
Setting the brightness via
ddcutil
works.What is the buggy behavior?
Wluma cannot get the brightness value
What is the expected behavior?
Wluma should be able to get the brightness value
Logs
The text was updated successfully, but these errors were encountered: