DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

Brightness slider shows 0% at startup for DDC monitor despite correct value being readable via CLI

Open yassinely6 opened this issue 3 months ago • 0 comments

Compositor

Niri

Distribution

Arch Linux

If Other, please specify

No response

Select your Installation Method

Distro Packaging

Was this your original Installation method?

Yes

If no, specify

No response

dms doctor -vC

██████╗ █████╗ ███╗ ██╗██╗ ██╗ ██╔══██╗██╔══██╗████╗ ██║██║ ██╔╝ ██║ ██║███████║██╔██╗ ██║█████╔╝ ██║ ██║██╔══██║██║╚██╗██║██╔═██╗ ██████╔╝██║ ██║██║ ╚████║██║ ██╗ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝

System Health Check

──────────────────────────────────────

System ● Operating System ····· Arch Linux └─ ID: arch, Version: rolling, Arch: amd64 ● Architecture ········· amd64 ● Display Server ······· Wayland └─ WAYLAND_DISPLAY=wayland-1

Versions ● DMS CLI ·············· dms v1.5.3 └─ /usr/bin/dms ● Quickshell ··········· Quickshell 0.3.0 (revision , distributed by Arch Linux) └─ /usr/bin/qs ● DMS Shell ············ v1.5.3 └─ /usr/share/quickshell/dms

Installation ● DMS Configuration ···· Found └─ /usr/share/quickshell/dms ● shell.qml ············ Present └─ /usr/share/quickshell/dms/shell.qml ○ Install Type ········· System package └─ /usr/share/quickshell/dms

Compositor ● niri ················· 26.04 └─ /usr/bin/niri ○ Active ··············· niri ● Background Blur ······ Supported └─ Compositor supports ext-background-effect-v1

Quickshell Features ● Polkit ··············· Available └─ Authentication prompts ● IdleMonitor ·········· Available └─ Idle detection ● IdleInhibitor ········ Available └─ Prevent idle/sleep ● ShortcutInhibitor ···· Available └─ Allow shortcut management (niri) ● BackgroundBlur ······· Available └─ Background blur API support in Quickshell

Optional Features ● accountsservice ······ Available └─ User accounts ● power-profiles-daemon Available └─ Power profile management ● logind ··············· Available └─ Session management ● cups-pk-helper ······· Not available (install cups-pk-helper) └─ Printer management → https://danklinux.com/docs/dankmaterialshell/cli-doctor#optional-features ● I2C/DDC ·············· 1 monitor(s) detected └─ External monitor brightness control ● qt6-imageformats ····· Installed (1 formats) └─ Formats: GIF (/usr/lib/qt6/plugins/imageformats:/usr/lib64/qt6/plugins/imageformats) ● kimageformats ········ Installed (4 formats) └─ Formats: AVIF, HEIF, JXL, EXR (/usr/lib/qt6/plugins/imageformats:/usr/lib64/qt6/plugins/imageformats) ● Terminal ············· ghostty ● Network ·············· NetworkManager └─ NetworkManager present. Using NM API. ● matugen ·············· Installed └─ Dynamic theming ● dgop ················· Installed └─ System monitoring ● cava ················· Installed └─ Audio visualizer ○ khal ················· Not installed └─ Calendar events ○ danksearch ··········· Not installed └─ File search ○ dankcalendar ········· Not installed └─ Calendar app ○ fprintd ·············· Not installed └─ Fingerprint auth

Config Files ● settings.json ········ Present └─ /home/voidwalker/.config/DankMaterialShell/settings.json ○ clsettings.json ······ Not yet created └─ /home/voidwalker/.config/DankMaterialShell/clsettings.json ● plugin_settings.json · Present └─ /home/voidwalker/.config/DankMaterialShell/plugin_settings.json ● session.json ········· Present └─ /home/voidwalker/.local/state/DankMaterialShell/session.json ● dms-colors.json ······ Present └─ /home/voidwalker/.cache/DankMaterialShell/dms-colors.json

Services ● dms.service ·········· disabled, active ● greetd ··············· enabled

Environment ○ QT_QPA_PLATFORMTHEME · Not set ○ QS_ICON_THEME ········ Not set ○ XDG_MENU_PREFIX ······ Not set

Fonts ● Normal Font ·········· Inter Variable └─ Available ● Monospace Font ······· Fira Code └─ Available

────────────────────────────────────── 1 warning(s), 34 ok

╭─ voidwalker @BLACK ~ ╰─❯ ddcutil detect Invalid display I2C bus: /dev/i2c-7 DRM_connector: card1-HDMI-A-1 EDID synopsis: Mfg id: GSM - LG Electronics Model: 19LG3000 Product code: 6400 (0x1900) Serial number: Binary serial number: 16843009 (0x01010101) Manufacture year: 2008, Week: 8 This monitor does not support DDC/CI. (I2C slave address x37 is unresponsive.)

Display 1 I2C bus: /dev/i2c-8 DRM_connector: card1-DP-3 EDID synopsis: Mfg id: DEL - Dell Inc. Model: DELL P2419H Product code: 53465 (0xd0d9) Serial number: HX64FZ2 Binary serial number: 942885698 (0x38334b42) Manufacture year: 2019, Week: 48 VCP version: 2.1

╭─ voidwalker @BLACK ~ ╰─❯ dms brightness list --ddc Device Class Name Brightness ─────────────────────────────────────────────────── ddc:i2c-8 ddc I2C-8 40%

╭─ voidwalker @BLACK ~ ╰─❯ dms doctor -v

██████╗ █████╗ ███╗ ██╗██╗ ██╗ ██╔══██╗██╔══██╗████╗ ██║██║ ██╔╝ ██║ ██║███████║██╔██╗ ██║█████╔╝ ██║ ██║██╔══██║██║╚██╗██║██╔═██╗ ██████╔╝██║ ██║██║ ╚████║██║ ██╗ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝

System Health Check

──────────────────────────────────────

System ● Operating System ····· Arch Linux └─ ID: arch, Version: rolling, Arch: amd64 ● Architecture ········· amd64 ● Display Server ······· Wayland └─ WAYLAND_DISPLAY=wayland-1

Versions ● DMS CLI ·············· dms v1.5.3 └─ /usr/bin/dms ● Quickshell ··········· Quickshell 0.3.0 (revision , distributed by Arch Linux) └─ /usr/bin/qs ● DMS Shell ············ v1.5.3 └─ /usr/share/quickshell/dms

Installation ● DMS Configuration ···· Found └─ /usr/share/quickshell/dms ● shell.qml ············ Present └─ /usr/share/quickshell/dms/shell.qml ○ Install Type ········· System package └─ /usr/share/quickshell/dms

Compositor ● niri ················· 26.04 └─ /usr/bin/niri ○ Active ··············· niri ● Background Blur ······ Supported └─ Compositor supports ext-background-effect-v1

Quickshell Features ● Polkit ··············· Available └─ Authentication prompts ● IdleMonitor ·········· Available └─ Idle detection ● IdleInhibitor ········ Available └─ Prevent idle/sleep ● ShortcutInhibitor ···· Available └─ Allow shortcut management (niri) ● BackgroundBlur ······· Available └─ Background blur API support in Quickshell

Optional Features ● accountsservice ······ Available └─ User accounts ● power-profiles-daemon Available └─ Power profile management ● logind ··············· Available └─ Session management ● cups-pk-helper ······· Not available (install cups-pk-helper) └─ Printer management → https://danklinux.com/docs/dankmaterialshell/cli-doctor#optional-features ● I2C/DDC ·············· 1 monitor(s) detected └─ External monitor brightness control ● qt6-imageformats ····· Installed (1 formats) └─ Formats: GIF (/usr/lib/qt6/plugins/imageformats:/usr/lib64/qt6/plugins/imageformats) ● kimageformats ········ Installed (4 formats) └─ Formats: AVIF, HEIF, JXL, EXR (/usr/lib/qt6/plugins/imageformats:/usr/lib64/qt6/plugins/imageformats) ● Terminal ············· ghostty ● Network ·············· NetworkManager └─ NetworkManager present. Using NM API. ● matugen ·············· Installed └─ Dynamic theming ● dgop ················· Installed └─ System monitoring ● cava ················· Installed └─ Audio visualizer ○ khal ················· Not installed └─ Calendar events ○ danksearch ··········· Not installed └─ File search ○ dankcalendar ········· Not installed └─ Calendar app ○ fprintd ·············· Not installed └─ Fingerprint auth

Config Files ● settings.json ········ Present └─ /home/voidwalker/.config/DankMaterialShell/settings.json ○ clsettings.json ······ Not yet created └─ /home/voidwalker/.config/DankMaterialShell/clsettings.json ● plugin_settings.json · Present └─ /home/voidwalker/.config/DankMaterialShell/plugin_settings.json ● session.json ········· Present └─ /home/voidwalker/.local/state/DankMaterialShell/session.json ● dms-colors.json ······ Present └─ /home/voidwalker/.cache/DankMaterialShell/dms-colors.json

Services ● dms.service ·········· disabled, active ● greetd ··············· enabled

Environment ○ QT_QPA_PLATFORMTHEME · Not set ○ QS_ICON_THEME ········ Not set ○ XDG_MENU_PREFIX ······ Not set

Fonts ● Normal Font ·········· Inter Variable └─ Available ● Monospace Font ······· Fira Code └─ Available

────────────────────────────────────── 1 warning(s), 34 ok

Description

The brightness slider in the Control Center shows 0% on login/reboot for my DDC-capable external monitor, even though the monitor's actual brightness is not 0. Dragging the slider "fixes" it (sets a real value), but the initial displayed value is always 0 instead of querying the current hardware brightness.

Expected Behavior

On startup, the slider should query and display the monitor's actual current brightness, not default to 0.

Steps to Reproduce

Log out or reboot. Log back in and open the Control Center (top bar). Observe the brightness slider for the DDC monitor — it shows 0%, not the monitor's actual current brightness. Drag the slider — it then correctly sets/updates the brightness.

Error Messages/Logs

No response

Screenshots/Recordings

Image

yassinely6 avatar Aug 13 '26 21:08 yassinely6