Bug 505730 - Excessive GPU usage in the filemap view
Summary: Excessive GPU usage in the filemap view
Status: RESOLVED FIXED
Alias: None
Product: filelight
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.2
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-18 08:29 UTC by alm.nx
Modified: 2025-07-08 17:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Filelight in the background with radeontop displaying noticeable GPU use. (256.92 KB, image/png)
2025-06-18 08:29 UTC, alm.nx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alm.nx 2025-06-18 08:29:51 UTC
Created attachment 182351 [details]
Filelight in the background with radeontop displaying noticeable GPU use.

SUMMARY
Filelight appears to be constantly using the GPU when in the directory map view. I could reproduce this both on an Intel Haswell and AMD Raven Ridge system. I also tested this with the version from Debian Bookworm (22.12.3), where I couldn't reproduce this issue. As such, this might be a regression from commit https://invent.kde.org/utilities/filelight/-/commit/e06fcc2e‍.

STEPS TO REPRODUCE
1. Open Filelight
2. Analyze any directory
3. Inspect GPU usage (with intel_gpu_top, radeontop or any sufficient tool)

OBSERVED RESULT
Filelight consistently uses a noticeable amount of GPU resources.

EXPECTED RESULT
Filelight only uses GPU resources right after analyzing is finished or when being interacted with.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
Haswell: Intel Celeron 2955U w/ HD Graphics GT1, 1366×768, Wayland
Raven: Ryzen 3 2300U w/ Radeon Vega 6, 1080×1920@125%, Wayland (screenshot included)
Comment 1 alm.nx 2025-06-18 08:46:12 UTC
(also occurs on X11)
Comment 2 Bug Janitor Service 2025-06-18 10:40:33 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/filelight/-/merge_requests/181
Comment 3 Harald Sitter 2025-06-18 16:40:22 UTC
Git commit c8e46f2b47d852a154cbcd848b84dd27d0f4f74a by Harald Sitter.
Committed on 18/06/2025 at 16:37.
Pushed by sitter into branch 'master'.

only force a shape update on the initial ready state

otherwise we may end up forcing an update in response to a forced update

M  +4    -1    src/qml/CenterShape.qml
M  +4    -1    src/qml/SegmentShape.qml

https://invent.kde.org/utilities/filelight/-/commit/c8e46f2b47d852a154cbcd848b84dd27d0f4f74a
Comment 4 Harald Sitter 2025-07-08 17:40:30 UTC
Git commit 74386391658f7a6f4d5080b8ca4284ac7e1d6559 by Harald Sitter.
Committed on 08/07/2025 at 17:37.
Pushed by sitter into branch 'release/25.04'.

only force a shape update on the initial ready state

otherwise we may end up forcing an update in response to a forced update


(cherry picked from commit c8e46f2b47d852a154cbcd848b84dd27d0f4f74a)

Co-authored-by: Harald Sitter <sitter@kde.org>

M  +4    -1    src/qml/CenterShape.qml
M  +4    -1    src/qml/SegmentShape.qml

https://invent.kde.org/utilities/filelight/-/commit/74386391658f7a6f4d5080b8ca4284ac7e1d6559