-
-
Notifications
You must be signed in to change notification settings - Fork 30
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]: Can't find display, but shows up in ddcutil detect #101
Comments
Hello, thanks for the report! I'll have a proper look tomorrow, but I want to quickly ask you if you have considered or even had experience using https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux, and if so what your feedback on that project is. |
I haven't actually heard of that project until now! In a hilarious coincidence, I was just lamenting how easy it would be to fix this problem if the data was handled in the kernel and could be rewritten/cleaned up before reaching the application. |
Hehe - if you have time, give it a try, I'm curious if that would solve all your problems. It sounds like a cool idea, although I'm asking this question everyone who reports an issue with DDC in wluma, and curiously nobody seems to be using it, for various reasons - but I still have very little data 😁 |
Well the |
I know you are still testing, so no rush at all, but please do let me know what you end up with. And to answer your original question - you are totally right that it is the failing capabilities that prevents the monitor from being discovered. This happens because If you would like to try anyway whether removing the capabilities validation would work for your setup, you can basically remove lines 70 and 78 here: wluma/src/brightness/ddcutil.rs Line 70 in 0898416
|
Sorry, I didn't get a chance to really test this until this evening. The code changes you proposed seems to work, though I did have to wrap the return value of that I changed the brightness and it's reflected in the logs:
Along with all the (expected) errors from my monitors ;) Re: the |
Okay, so it sounds like you'd rather use the I'd propose to change that function as per following:
That way we hopefully won't break anyone's setup (as I recall capabilities check primarily serves the purpose to filter out invalid screens when another valid one is also present), and at the same time make it work out of the box for your setup, without introducing any new per-monitor configs that you or anyone else would need to know about and configure. What do you think? Would you like to send a PR? I don't have an external screen, so I would just trust your tests and green CI 😁 |
I opened #102 with changes made based on your suggestions - let me know what you think! |
Steps for reproducing the issue
Run wluma with an LG Ultragear 27GP83B and a Dell U2415.
What is the buggy behavior?
The LG monitor is not detected - the Dell shows up fine.
What is the expected behavior?
The monitor should be detected, and its brightness adjusted.
Logs
Version
4.3.0 - nixpkgs
Environment
The text was updated successfully, but these errors were encountered: