DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

allow setting up brightness slider device per monitor

Open shalevc1098 opened this issue 3 months ago • 6 comments

i saw in the config you can change brightness with dms ipc call brightness increment 5 "" dms ipc call brightness decrement 5 ""

currently, there is a brightness slider allows changing the brightness for one device, but lets say i have two monitors, so if i pick one of them, it would pick that device for all of them, meaning if i want to change the brightness of my second monitor i would have to pick it up again. it would be nice if you could make that setting per monitor and not global like it is now. thank you

shalevc1098 avatar Oct 14 '25 07:10 shalevc1098

You mean in control center correct? That is done in 8bb2a64663936f24a1e94aee570916021d2fa7b6

bbedward avatar Oct 15 '25 14:10 bbedward

You mean in control center correct? That is done in 8bb2a64663936f24a1e94aee570916021d2fa7b6

Thank you, i would check that when the problem with the bar background color gets fixed and would let you know if this is exactly what i wanted or not😊

shalevc1098 avatar Oct 15 '25 16:10 shalevc1098

You mean in control center correct? That is done in 8bb2a64663936f24a1e94aee570916021d2fa7b6

Okay i tested it and it is almost there, just want them to save for each monitor independently. For first monitor for example i want to select device1 and for the second device2 lets say.

shalevc1098 avatar Oct 15 '25 16:10 shalevc1098

I got back around to this: a25e929200d166c5ed98494247c3ac7839231dde

you ccan pin to the monitor you open it on.

Image Image

bbedward avatar Oct 22 '25 20:10 bbedward

Hi, would it be possible to support displays that have more than 100% brightness?

I can set the brightness via ddcutil, but dms brightness throws with a value greater than 100.

Example:

~
❯ ddcutil detect
busno=5. Monitor apparently returns -EIO for unsupported features. This cannot be relied on.
Display 1
   I2C bus:  /dev/i2c-5
   DRM_connector:           card1-DP-2
   EDID synopsis:
      Mfg id:               DEL - Dell Inc.
      Model:                Dell AW3423DW
      Product code:         41444  (0xa1e4)
      Manufacture year:     2022,  Week: 48
   VCP version:         2.2

Display 2
   I2C bus:  /dev/i2c-6
   DRM_connector:           card1-DP-3
   EDID synopsis:
      Mfg id:               ACR - Acer Technologies
      Model:                XF270HU
      Product code:         1353  (0x0549)
      Manufacture year:     2019,  Week: 21
   VCP version:         2.2


~
❯ ddcutil --bus 5 getvcp 10
busno=5. Monitor apparently returns -EIO for unsupported features. This cannot be relied on.
VCP code 0x10 (Brightness                    ): current value =   225, max value =   250

~
❯ ddcutil --bus 5 setvcp 10 200
busno=5. Monitor apparently returns -EIO for unsupported features. This cannot be relied on.

~
❯ ddcutil --bus 5 getvcp 10
busno=5. Monitor apparently returns -EIO for unsupported features. This cannot be relied on.
VCP code 0x10 (Brightness                    ): current value =   200, max value =   250

~
❯ dms brightness list --ddc
Device       Class         Name     Brightness
───────────────────────────────────────────────────
ddc:i2c-6    ddc           I2C-6    100%
ddc:i2c-5    ddc           I2C-5    200%

~
❯ dms brightness set ddc:i2c-5 180
 FATAL  go: Percent must be between 0 and 100

mattchue avatar Nov 11 '25 15:11 mattchue

Hi, would it be possible to support displays that have more than 100% brightness?

I can set the brightness via ddcutil, but dms brightness throws with a value greater than 100.

Example:

~
❯ ddcutil detect
busno=5. Monitor apparently returns -EIO for unsupported features. This cannot be relied on.
Display 1
   I2C bus:  /dev/i2c-5
   DRM_connector:           card1-DP-2
   EDID synopsis:
      Mfg id:               DEL - Dell Inc.
      Model:                Dell AW3423DW
      Product code:         41444  (0xa1e4)
      Manufacture year:     2022,  Week: 48
   VCP version:         2.2

Display 2
   I2C bus:  /dev/i2c-6
   DRM_connector:           card1-DP-3
   EDID synopsis:
      Mfg id:               ACR - Acer Technologies
      Model:                XF270HU
      Product code:         1353  (0x0549)
      Manufacture year:     2019,  Week: 21
   VCP version:         2.2


~
❯ ddcutil --bus 5 getvcp 10
busno=5. Monitor apparently returns -EIO for unsupported features. This cannot be relied on.
VCP code 0x10 (Brightness                    ): current value =   225, max value =   250

~
❯ ddcutil --bus 5 setvcp 10 200
busno=5. Monitor apparently returns -EIO for unsupported features. This cannot be relied on.

~
❯ ddcutil --bus 5 getvcp 10
busno=5. Monitor apparently returns -EIO for unsupported features. This cannot be relied on.
VCP code 0x10 (Brightness                    ): current value =   200, max value =   250

~
❯ dms brightness list --ddc
Device       Class         Name     Brightness
───────────────────────────────────────────────────
ddc:i2c-6    ddc           I2C-6    100%
ddc:i2c-5    ddc           I2C-5    200%

~
❯ dms brightness set ddc:i2c-5 180
 FATAL  go: Percent must be between 0 and 100

It should be possible but in the next release, current git

bbedward avatar Nov 11 '25 15:11 bbedward