WayfireWM / WayfireWM/wf-shell
panel : slow startup with ddcutil
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 179
- Forks
- 55
- Avg merge
- 16d 1h
- Merged PRs (30d)
- 3
Description
Doing MCCS operations with ddcutil takes a bit of time, which is the reason that writing and reading operations are done on other threads. However, initialisation is done on the main thread, which causes panel startup to be quite slow if using the widget.
Doing the initialisation and enumeration on another thread would be pretty nice for that situation.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the widget code that performs ddcutil MCCS initialization and enumeration, then trace how its existing read and write worker threads are created. Move the startup work off the main thread while preserving the widget's behavior; done means panels start without waiting on ddcutil initialization and the widget still discovers displays correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, performance
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100