Closed ailin-nemui closed 1 year ago
could be related to #86
@ailin-nemui seems to be a duplicate of #86. I had the same symptoms as you, when running ddcutil manually in parallel and after each other.
Do you run the monitors in a Daisy-Chain Configuration? That's what it looks like to me, at least, from the ddcutil output.
I think you both have very similar issue, lets keep the discussion here.
I believe this is ddcutil issue rather than extension issue. Have you both checked this info about docking stations from ddcutil's faq? There are some similar issues like yours with docking station label in ddcutil's repo. I would suggest to create an issue in ddcutil's repo.
As a workaround may be you could create a ddcutil wrapper in your $HOME/bin/ddcutil (which should be in your path), which would check if there is /usr/bin/ddcutil running every second, then run a new /usr/bin/ddcutil
only if no other processes were detected. You need to update this line change /usr/bin/ddcutil
to ddcutil
there.
In early days of extension I did try to use normal loop, the results were not that satisfactory, when you move the sliders and when the brightness was updated was not smooth at all, some unexpected error in one display would leave rest of the actions unperformed. So you will probably feel the same once you have that wrapper.
I have added a new advanced settings sleep multipler
, may be if you have really low sleep multipler, the action will be done faster and you wont run into similar issue, could you give it a try?
You can read about sleep multipler in Performance and Tuning Options section of the documentation.
Reopen the issue if needed.
@daitj yes, this fixes the issue.
Thanks a lot :+1: Would be nice if you could publish a version for GNOME 42 (Ubuntu 22.04 LTS)
I built it myself by reverting the two GNOME 43 support commits.
Describe the bug I have 2 monitors connected, but only 1 of them shows up in the menu. Even though both are in
ddcutil detect
To Reproduce Steps to reproduce the behavior:
open the menu -> only 1 monitor is visible
Journal logs
Screenshots
Desktop (please complete the following information):
Additional context I could reproduce the issue in a shell: if I run this command
ddcutil getvcp --brief D6 --bus 15 & ddcutil getvcp --brief D6 --bus 16 &
I get most of the time, from either the one or the other monitor:
or
and sometimes
The extension seems to follow a similar path with the
Convenience.spawnWithCallback
in a loop. It might be better to run thegetvcp
commands sequentially instead, first waiting for the response. I could never evoke the "No monitor detected" when runningddcutil getvcp --brief D6 --bus 15 ; ddcutil getvcp --brief D6 --bus 16 ;
i.e.
;
instead of&