Bug 492839 - Severe performance drop when enabling color profiles on Wayland
Summary: Severe performance drop when enabling color profiles on Wayland
Status: RESOLVED DUPLICATE of bug 491452
Alias: None
Product: kwin
Classification: Plasma
Component: performance (show other bugs)
Version: 6.1.4
Platform: Solus Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2024-09-08 20:01 UTC by Zenurik
Modified: 2024-09-14 07:32 UTC (History)
1 user (show)

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


Attachments
bug reproduction (3.77 MB, video/mp4)
2024-09-08 20:01 UTC, Zenurik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zenurik 2024-09-08 20:01:45 UTC
Created attachment 173457 [details]
bug reproduction

SUMMARY
After enabling any ICC color profile (imported or "Internal" if there's one), the `kwin_wayland` process completely takes over my "Render/3D" budget when any cursor interaction/compositing happens (moving the mouse, interacting with Plasma, interacting with windows etc.) It doesn't affect FPS games where the cursor is captured (tested with ULTRAKILL on Proton) or GPU screen recording.

STEPS TO REPRODUCE
1. Open Screen settings
2. Make sure "Color Profile" field is set to "None"
3. Select the "Internal" option or import a color profile on the "ICC Profile" option
4. Apply changes

OBSERVED RESULT
- Some colors change and the blur effect is noticeably different (more transparent and with more contrast)
- Desktop performance will be severely impacted

EXPECTED RESULT
There shouldn't be any (?) performance loss after enabling a color profile.

SOFTWARE/OS VERSIONS
Linux: 6.10.8-301.current (64-bit) (Solus 4.5)
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
I'm not very knowledgeable here, maybe this is just an incompatibility with my system, I wouldn't know.
Comment 1 Zenurik 2024-09-08 20:05:27 UTC
Hardware:

Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
Manufacturer: Dell Inc.
Comment 2 cwo 2024-09-14 07:32:08 UTC
Thank you for the bug report!

This issue was already reported in bug 491452, and some improvements to this are already implemented and will be released in Plasma 6.2, coming out in early October. (It's also available in the recent Plasma 6.2 beta, in case you want to help test things).

I'm marking this as a duplicate of that bug; in case this isn't solved for you with the changes in 6.2, please feel free to reopen this bug or file a new one.

*** This bug has been marked as a duplicate of bug 491452 ***