Bug 507637 - Direct scanout doesn't work if ICC profile is set
Summary: Direct scanout doesn't work if ICC profile is set
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 6.4.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-29 16:02 UTC by Marcelo Bossoni
Modified: 2025-07-29 19:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Bossoni 2025-07-29 16:02:30 UTC
SUMMARY
When playing a full screen game direct scanout is not kicking in if the ICC profile is set for the display

STEPS TO REPRODUCE
1. Set an ICC profile
2. Enable the "Compositing" effect
3. Launch a full screen game

OBSERVED RESULT
Compositing still show up

EXPECTED RESULT
Compositing word is hidden meaning kwin is not compositing anymore

SOFTWARE/OS VERSIONS
Operating System: Nobara Linux 42
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.7-200.nobara.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: AMD Radeon RX 6750 XT
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7A37
System Version: 1.0

ADDITIONAL INFORMATION
This also happen on my archlinux box using cachyos kernel
Setting ICC profile no None make direct scanout work
Comment 1 Zamundaaa 2025-07-29 19:37:26 UTC
Yes, that is expected. There's no kernel API (that isn't totally buggy and broken) yet which we could use to apply the required color operations without a shader. Driver developers have been working on one for quite a while and it should be merged soon though.