GCC LTO breaks color management in Plasma 6.3.0

Vlad Zahorodnii vlad.zahorodnii at kde.org
Thu Feb 13 12:01:19 GMT 2025


Hello,

We've received a number of complaints from Plasma Wayland users about 
screen turning black when using an ICC profile (which contains a BToA 
tag) and the new "Prefer color accuracy" setting. [1]

The issue is reproducible only when kwin is built with GCC + LTO. If 
kwin is built in the debug mode or the release mode but without LTO, the 
issue is not reproducible. The issue is also not reproducible when using 
clang + LTO.

It might be worth to disable LTO when building kwin 6.3.0.

Regards,
Vlad

[1] https://bugs.kde.org/show_bug.cgi?id=499789



More information about the Distributions mailing list