daitj / gnome-display-brightness-ddcutil

Display brightness slider for gnome shell using ddcutil backend
GNU General Public License v3.0
291 stars 34 forks source link

Response times with ddcutil are slow - use DDCControl DBUS service if available #137

Open slaclau opened 4 months ago

slaclau commented 4 months ago

ddcutil is slow as it opens a new DDC connection each time it's called, DDCControl provides a DBUS service which maintains the connection.

daitj commented 4 months ago

I can see that how having a service with open connection would benefit the core idea of this extension, to change brightness and fast. I haven't tested anything yet, but if DDCControl does provide faster get/set vcp actions, I cannot decide which option is better.

  1. Rewrite everything with ddccontrol as the only requirement.
  2. Write extra functions and settings to switch between ddccontrol or ddcutil
  3. Make a new extension (same as 1) but leave this as it is for people wishing to stay with ddcutil

Have you been already working on that or is it just something you thought of? I can look this on my free time.

Just something I noticied, ddcutil relies on ddc/ci standard and is very actively maintained by the main contributor whereas ddccontrol relies on monitor database and isn't maintained as much as ddcutil.