Comments (6)
Hello, thanks for the report. Do you know if the path is preserved between reboots, or its getting a random value assigned on every boot?
from wluma.
the paths for my monitors are always /dev/ic2-6 and /dev/i2c-7. However I'm not sure if they are implementation defined as persistent
from wluma.
First, a disclaimer: Personally I don't use external screens and ddc feature, I trust and rely on community to guide the best implementation for it. Your feedback is very appreciated!
I just confirmed with @cyrinux who implemented support for ddcutil, that the reason the code didn't use paths in the first place was because those paths were not stable, at least on his setup, and changed with every reboot. That's why we had to go for something that is stable, like model and serial number.
In any case, I was thinking it could be a good idea to actually switch to https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux - not only should it let us remove custom code for using ddc in the first place, but it should (hopefully) also get rid of all those DDC/CI error:
that you see in your logs, and make it more robust to adjust brightness on external screens.
What do you think about this idea? Would you be interested to try to install that driver, and see if after that you are able to control brightness using /sys/class/backlight/
, i.e. using tools like light
, or even using wluma
and [[output.backlight]]
for those external displays?
We don't have to remove support for [[output.ddcutil]]
, especially if installing or configuring that driver turns out to be not trivial, but we could at least recommend it to folks, if it truly provides a better experience!
But back to the existing implementation of ddcutil
, because the paths are not stable (at least not for everyone), I'm not sure including support for paths is a good idea, because it would provide a false sense that you should be able to rely on those, when in fact you are not...
from wluma.
I have actually been using the ddcci-driver-linux and then just native Linux backlight interface (for months now), it has worked great. However after updating to kernel 6.2 the DKMS module no longer enumerates displays for me and I don't have time to figure it out right now + the driver is unmaintained.
from wluma.
I do actually agree with you on the paths thing, I was trying to switch to ddcutil on here as a quick and dirty workaround to the driver not working
from wluma.
For the record, I've gotten around this by overriding the EDID on the monitors using kernel parameters. Each monitor now has a unique serial number which fixes this (although the EDID's are of course linked to display outputs instead of physical devices... this is a workaround). I think I will close this issue as not planned
from wluma.
Related Issues (20)
- [Bug]: ALS data not parsed/calculated correctly HOT 2
- [Bug]: Can't find display, but shows up in ddcutil detect HOT 8
- [Bug]: Cargo failling to compile v4l-sys HOT 5
- [Bug]: Unable to start wluma from the command line HOT 3
- [Feature request]: gracefully disable capture when not wlroots HOT 2
- [Feature request]: be lenient with config file and assume defaults HOT 1
- [Feature request]: print more debug info HOT 3
- [Feature request]: Add timeout for keyboard backlight HOT 3
- How do I adjust the brightness HOT 2
- [Feature request]: Support Hyprland screen capturing (after its transition away from wlroots) HOT 18
- [Bug]: Panicked when running both with sudo and not HOT 6
- 'predictor-eDP-1' panicked at 'Did not receive initial ALS value in time' on Microsoft Surface Pro 8 HOT 3
- [Feature request]: Support monitor disconnect HOT 6
- [Bug]: Unable to initialize Vulkan: ERROR_EXTENSION_NOT_PRESENT HOT 4
- [Bug]: wluma refuses to read my config file HOT 2
- configuration question HOT 6
- [Feature request]: Add gamma control HOT 9
- [Bug]: `Backlight::new` returns early instead of using dbus
- [Bug]: No binary in Github artifacts HOT 3
- [Feature request]: Support custom external sources for luminance value HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wluma.