Skip to content

DisplayBrightness V0.0.3

Choose a tag to compare

@Xiaoheixu Xiaoheixu released this 07 Nov 11:55
· 3 commits to main since this release

Added

  • -dbbootlog records kext startup, Lilu initialization, IOGraphics hook status, and initial DDC probe results. The manual exporter saves them to DisplayBrightness-boot.txt.
  • -dbcompat enables matching IOGraphics profiles for macOS Ventura, Sonoma, and Sequoia.
  • -dbhdr enables experimental endpoint recovery after display-mode changes. Recovery can re-probe the current connection without replaying the previous brightness request.
  • Added read-only DDC diagnostics and boot arguments for probe timing and retries.

Fixed

  • Failed DDC requests now stop at the retry limit. A new brightness input can start a fresh attempt.
  • Displays waiting for the shared DDC bus now yield their workers and keep the latest brightness request. Pending probes can resume when a slot becomes available.
  • Expired startup probes no longer start DDC transactions.
  • Displays with an existing native brightness provider keep that provider. DisplayBrightness retires its own endpoint and checks ownership before DDC operations.

Boot arguments

Argument Effect
-dboff Disable DisplayBrightness.
-dbcompat Enable matching profiles on older macOS versions.
-dbbootlog Record startup diagnostics for manual TXT export.
-dbnoddc Keep the hooks active while disabling the plugin's DDC operations and brightness capability publication.
-dbgetonly Run read-only GetVCP probes without publishing brightness controls.
-dbtrace Log display updates, brightness requests, and probes.
-dbnoedm Skip the plugin's EDM capability marker.
-dbnonotify Suppress brightness-change notifications.
-dbhdr Enable experimental display-mode recovery.
-dbhdrtrace Log recovery activity. Requires -dbhdr.
dbhdrdelay=N Extra delay before the first recovery probe. Requires -dbhdr. Default 0 ms.
dbhdrwindow=N Recovery probe window cap. Requires -dbhdr. Default 60 s.
dbslots=N Endpoint slot limit. Default 8.
dbcoalesce=N Delay for combining rapid brightness requests. Default 50 ms.
dbsettle=N Delay between a brightness write and readback. Default 50 ms.
dbreply=N Minimum I²C reply delay. Default 40 ms.
dbretries=N Automatic retries after a failed request. Default 2.
dbbootwindow=N Initial DDC probe window. Default 60 s.
dbbootinterval=N Delay before retrying a failed initial probe. Default 1,000 ms.