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

DDCI #105

Open
SL-RU opened this issue Mar 31, 2024 · 4 comments
Open

DDCI #105

SL-RU opened this issue Mar 31, 2024 · 4 comments

Comments

@SL-RU
Copy link

SL-RU commented Mar 31, 2024

Hello!

There are plans to add direct DDCI support? There are ideas how to implement it?

@Hummer12007
Copy link
Owner

Use the kernel module (see #76)
Though I didn't manage to get it working on my desktop with nvidia tbh :)

@sofiedotcafe
Copy link

sofiedotcafe commented Jun 2, 2024

Use the kernel module (see #76) Though I didn't manage to get it working on my desktop with nvidia tbh :)

Same, even on NixOS AMD (though, probably an different issue; see https://bbs.archlinux.org/viewtopic.php?id=282805).

For the time being, I just use ddcutil, i2c and some udev rules for it.

https://blog.tcharles.fr/ddc-ci-screen-control-on-linux/
https://def.lakaban.net/2021-06-25-ddcutil-controlling-the-brightness-of-an-external-monitor/

@Hummer12007
Copy link
Owner

If someone wants to add a backend that shells out to ddcutil to fix this while there is no viable way to do things using sysfs (and it doesn't seem like anyone upstream is interested to merge the driver or work on promised alternative stuff for years), I would not be against merging the PR.

@Hummer12007
Copy link
Owner

@SL-RU @sofiedotcafe please try this random piece of code i got by reducing the libddciutil examples (link it agains -lddcutil, depends on ddcutil, and your distro packaging the shared library): https://paste.sr.ht/~hummer12007/5fd8573abcdb8671aa9fa45aff7b50c73a99abe9

Does it do what's expected? (I won't get access to any monitor for the next 2 months)

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

3 participants