Skip to content

Higher CPU usage when there are no layer-shell programs #3033

@pakhromov

Description

@pakhromov

Wayfire version

0.11.0-4ffa601d (May 11 2026) branch master wlroots-0.20.0

GPU / Driver

NVIDIA proprietary (595.71.05-2)

Describe the bug

CPU usage of wayfire becomes higher when there are no layer-shell applications running. If you are not running any bar/panel and do not have any other widget type applications opened - the CPU usage of wayfire process gets higher.

To Reproduce

Open a system monitoring tool and see the idle resource usage of wayfire process (not overall system cpu usage), then close all layer-shell applications and see the idle usage again - it becomes higher.

Expected behavior

Wayfire should not have higher CPU usage when there are no layer-shell programs opened.

Screenshots / Videos / Stacktrace

I uploaded video on YouTube (was higher than 10mb github limit) where I have btop opened and focused on wayfire process. Look at the CPU usage when I start and close different layer-shell programs. When there is such a program running - the idle CPU usage of wayfire itself is 0.0%, when I close such application - the usage becomes 0.5% and never drops below.
https://youtu.be/yORlY8yecas

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions