Bug 505705

Summary: [AMD GPU] "Prefer color accuracy" option makes the display flash a small white horizontal lines
Product: [Plasma] kwin Reporter: kde.lgjll
Component: colour-managementAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: dazorplasma, i.r.e.c.c.a.k.u.n+bugs.kde.org, jlp, kdedev, nate
Priority: NOR    
Version First Reported In: 6.3.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
URL: https://gitlab.freedesktop.org/drm/amd/-/issues/4466
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description kde.lgjll 2025-06-17 17:12:01 UTC
SUMMARY
On wayland, when choosing the "Prefer color accuracy" option in the Color accuracy setting available at the Display Configuration, the display flashes a small white horizontal line. This only happens consistently after logging in and for a few seconds. Then, it seems to happen at a random time and once in a while. May not be related, but increasing the power limit of the GPU seems to have a positive effect on the number of times that the white line is shown and the time is takes to go away after logging in.

STEPS TO REPRODUCE
1. Go to the System Settings application;
2. On the Input & Output section, choose the Display & Monitor menu;
3. On the Color accuracy setting, change from "Prefer efficiency" to "Prefer color accuracy";
4. Press the Apply button;
5. Reboot;
6. Log in and after the Splash Screen, verify if the small white horizontal lines show on the screen.

ADDITIONAL INFORMATION
For additional context, I have an AMD 7900 series GPU. I do not have HDR enabled, only adaptive sync (disabling it did not change anything).
Comment 1 TraceyC 2025-06-17 21:21:41 UTC
Thanks for the bug report. We'll need a little more information to be able to investigate. 

First, please let us know this information, from the template:
SOFTWARE/OS VERSIONS

(available in About System)
KDE Plasma Version:
KDE Frameworks Version:
Qt Version:

Also, please paste the information from kscreen-doctor -o

Thanks.
Comment 2 kde.lgjll 2025-06-18 20:59:28 UTC
SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1

kscreen-doctor -o output:
Output: 1 DP-1
        enabled
        connected
        priority 1
        DisplayPort
        Modes:  1:3840x2160@60*!  2:3840x2160@30  3:2560x1440@60  4:1920x1200@60  5:1920x1080@60  6:1920x1080@60  7:1920x1080@60  8:1600x1200@60  9:1680x1050@60  10:1600x900@60  11:1280x1024@60  12:1440x900@60  13:1280x800@60  14:1152x864@60  15:1280x720@60  16:1280x720@60  17:1280x720@60  18:1024x768@60  19:800x600@60  20:720x480@60  21:720x480@60  22:640x480@60  23:640x480@60  24:640x480@60  25:1600x1200@60  26:1280x1024@60  27:1024x768@60  28:2560x1600@60  29:1920x1200@60  30:3200x1800@60  31:2880x1620@60  32:2560x1440@60  33:1920x1080@60  34:1600x900@60  35:1368x768@60  36:1280x720@60 
        Geometry: 0,0 2560x1440
        Scale: 1.5
        Rotation: 1
        Overscan: 0
        Vrr: Always
        RgbRange: Full
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: sRGB
        Color power preference: prefer accuracy
        Brightness control: supported, set to 100% and dimming to 100%
Comment 3 dazorplasma 2025-06-23 11:08:46 UTC
Happens to me as well, on gpu RX 7600, display Dell Alienware AW2724DM.
Video: https://www.youtube.com/watch?v=2dnet_HdzD8

Operating System: Arch Linux 
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600X 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 7600
Manufacturer: Micro-Star International Co., Ltd
Product Name: MS-7C02
System Version: 1.0


Output: 1 DP-3 a69bb880-4951-4d7f-bb70-6adfdde2571f
        enabled
        connected
        priority 1
        DisplayPort
        replication source:0
        Modes:  1:2560x1440@60!  2:2560x1440@165*  3:2560x1440@144  4:2560x1440@120  5:1920x1200@60  6:1920x1080@120  7:1920x1080@120  8:1920x1080@60  9:1920x1080@60  10:1920x1080@60  11:1920x1080@50  12:1920x1080@30  13:1920x1080@30  14:1920x1080@25  15:1920x1080@24  16:1920x1080@24  17:1600x1200@60  18:1680x1050@60  19:1600x900@60  20:1280x1024@75  21:1280x1024@60  22:1440x900@60  23:1280x800@60  24:1152x864@75  25:1280x720@60  26:1280x720@60  27:1280x720@50  28:1024x768@75  29:1024x768@60  30:800x600@75  31:800x600@60  32:720x576@50  33:720x480@60  34:720x480@60  35:720x480@60  36:720x480@60  37:640x480@75  38:640x480@60  39:640x480@60  40:640x480@60  41:720x400@70  42:1600x1200@165  43:1280x1024@165  44:1024x768@165  45:1920x1200@165  46:1280x800@165  47:1920x1080@165  48:1600x900@165  49:1368x768@60  50:1368x768@165  51:1280x720@165 
        Geometry: 0,0 2560x1440
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: Never
        RgbRange: Full
        HDR: disabled
        Wide Color Gamut: disabled
        ICC profile: none
        Color profile source: EDID
        Color power preference: prefer efficiency and performance
        Brightness control: supported, set to 100% and dimming to 100%
        DDC/CI: allowed
        Color resolution: 10 bits per color, range: [8; 16] bits per color
        Allow EDR: unsupported
Comment 4 Hanabishi 2025-06-29 12:32:14 UTC
I also see that on my RX 7700 XT. So basically this issue could be summarised to AMD RX 7000 GPUs being problematic.
It could be a driver issue though. But I actually use the mainline kernel (6.16-r3 atm), so no expected fixes from that side.
Comment 5 dazorplasma 2025-07-06 09:21:46 UTC
(In reply to Hanabishi from comment #4)
> I also see that on my RX 7700 XT. So basically this issue could be
> summarised to AMD RX 7000 GPUs being problematic.
> It could be a driver issue though. But I actually use the mainline kernel
> (6.16-r3 atm), so no expected fixes from that side.

Definitely not restricted to 7000 GPUs, just checked and it happens on my laptop as well.

Lenovo IdeaPad Slim 5 16AKP10, AMD Ryzen AI 7 350 / AMD Radeon 860M Graphics, OLED Display.

Doesn't happen on my intel laptop though, so this really may be an AMD driver issue.
Comment 6 Hanabishi 2025-07-06 18:59:51 UTC
Yep, it seems to be a driver issue of some kind. Because I faced the same artifacts in mpv's fullscreen mode using Vulkan renderer. Regardless of how Plasma is configured.
Comment 7 TraceyC 2025-07-07 15:59:15 UTC
The information thus far indicates that the problem is in the Mesa graphics drivers. Please read https://docs.mesa3d.org/bugs.html and submit a bug report for the Mesa developers. Thanks!
Comment 8 Hanabishi 2025-08-01 12:50:05 UTC
I waited for stable 6.16 kernel to confirm it's still there and reported the problem upstream: https://gitlab.freedesktop.org/drm/amd/-/issues/4466
Comment 9 Nate Graham 2025-08-01 19:35:29 UTC
Thanks a lot!
Comment 10 kde.lgjll 2025-08-01 19:55:21 UTC
I forgot to mention that I created this ticket: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13502
Comment 11 Hanabishi 2025-08-01 20:30:07 UTC
Well, you probably misunderstood my messages. By driver I meant amdgpu kernel driver, not Mesa.
Because there already was a similar report earlier (see BUG#501540 & https://gitlab.freedesktop.org/drm/amd/-/issues/4057), but for RDNA4 cards.
I think we suffers from the same problem, just with less pronounced artifacts. But unfortunately that kernel fix for RDNA4 have not fixed it for us.