Bug 499926 - "Preffer color accuracy" Freezes plasma when set and bricks it
Summary: "Preffer color accuracy" Freezes plasma when set and bricks it
Status: RESOLVED DUPLICATE of bug 499789
Alias: None
Product: kwin
Classification: Plasma
Component: colour-management (show other bugs)
Version: git-stable-Plasma/6.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-12 21:27 UTC by Greeniac
Modified: 2025-02-13 18:49 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greeniac 2025-02-12 21:27:07 UTC
SUMMARY
When i set "Color accuracy" to "Preffer color accuracy" the system immediately freezes. And when i force shut down and i try to log in to the Wayland session, it freezes before the plasma splash screen. So it is basically a black screen. 
And in order to fix it, i had to log in to the X11 Session (tty did not work for some bizzare reason), and edit the file ".config/kwinoutputconfig.json" and change "colorPowerTradeoff" to "PreferEfficiency", and a reboot later; it started fine.
STEPS TO REPRODUCE
1.  Open system settings.
2.  Go to the display settings section.
3.  Set "Color accuracy" to "Preffer color accuracy".

OBSERVED RESULT
System freezes.

EXPECTED RESULT
System doesn't freeze.

SOFTWARE/OS VERSIONS 

Operating System: Arch Linux 
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.13.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-7600K CPU @ 3.80GHz
Memory: 23.4 GB of RAM
Graphics Processor: AMD Radeon Pro 580X
Manufacturer: Apple Inc.
Product Name: iMac18,3
System Version: 1.0

ADDITIONAL INFORMATION
The display i tried to set was a 2k 144hz display connected via DP.
Comment 1 electro707 2025-02-13 04:22:57 UTC
Can confirm since a recent Plasma update to 6.3.0

The following gets spat out in journalctl.

```
Feb 12 23:10:26 Arch kwin_wayland[1563]: kwin_wayland_drm: Atomic modeset commit failed! Invalid argument
Feb 12 23:10:26 Arch kwin_wayland[1563]: kwin_core: Applying output config failed!
Feb 12 23:10:26 Arch kwin_wayland[1563]: kwin_core: Applying output config failed!
```


Operating System: Arch Linux 
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.13.2-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 580 Series
Comment 2 Zamundaaa 2025-02-13 16:46:49 UTC
Could you please get a drm debug log for the issue? How to do that is explained at https://invent.kde.org/plasma/kwin/-/wikis/Debugging/Debugging-DRM-issues

Most likely this is the GPU driver not handling the increased resolution properly, but I'd like to be sure.
Comment 3 David 2025-02-13 18:46:29 UTC
I can also confirm this. Just updated plasma to 6.3, on Fedora 41, and setting color accuracy to "prefer accuracy" completely breaks DE rendering.
A pile of pixels is randomly layed out on the screen, depending on the specific moment I can spot some parts of the UI.
Also, luckily for me I had a second screen to plug in and revert the setting, otherwise I would have been cooked.
- I wasn't able to find where this settings is stored, in order to revert it from tty
- the auto revert functionality is not active for this setting, even though it would have been crucial.
Comment 4 Vlad Zahorodnii 2025-02-13 18:49:06 UTC

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