Skip to content

fix(pannel): offload ddcutil initialization to background thread to f… - #558

Open
ayush213 wants to merge 1 commit into
WayfireWM:masterfrom
ayush213:fix-ddcutil-startup-555
Open

fix(pannel): offload ddcutil initialization to background thread to f…#558
ayush213 wants to merge 1 commit into
WayfireWM:masterfrom
ayush213:fix-ddcutil-startup-555

Conversation

@ayush213

@ayush213 ayush213 commented Sep 5, 2026

Copy link
Copy Markdown

Problem:
During the initialization of the Wayfire panel widget, MCCS operations and device enumeration via ddcutil are executed synchronously on the main thread. Because querying external monitors through ddcutil involves noticeable I/O latency, this blocks the main thread and introduces significant startup lag and unresponsiveness when launching the panel.

Solution:
Offloaded blocking ddcutil initialisation and MCCS device enumeration tasks away from the main thread into a background thread.
Ensured that panel startup remains fast, smooth, and fully responsive by avoiding synchronous blocking calls during component initialization.
Closes #555

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

panel : slow startup with ddcutil

1 participant