WayfireWM / WayfireWM/wf-shell

panel : slow startup with ddcutil

Open
#555 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue panel
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.