Bug 500658 - Black artifacts in plasmashell and KRunner with color accuracy
Summary: Black artifacts in plasmashell and KRunner with color accuracy
Status: RESOLVED DUPLICATE of bug 499935
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 6.3.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-24 10:52 UTC by Жора Змейкин
Modified: 2025-02-24 15:50 UTC (History)
3 users (show)

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


Attachments
Demonstration (3.31 MB, video/mp4)
2025-02-24 10:52 UTC, Жора Змейкин
Details
Plasma popup with black artifacts (194.44 KB, video/webm)
2025-02-24 10:59 UTC, Yaroslav Sidlovsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Жора Змейкин 2025-02-24 10:52:41 UTC
Created attachment 178793 [details]
Demonstration

SUMMARY
In Plasma 6.3, it is now possible to set "Color accuracy: Prefer color accuracy." However, for some reason, this causes strange black artifacts in plasmashell and KRunner on my hardware. These artifacts appear when opening applets or entering edit mode, flickering rapidly or even flooding the entire screen.

Switching between desktops temporarily fixes the issue. I tested this on two different distributions, and it seems to be a hardware-related problem. Interestingly, there is no black flickering in KWin effects or within applications themselves.

It may be related to this bug: https://bugs.kde.org/500477

STEPS TO REPRODUCE
1. Go to System Settings, open "Display & Monitor", and set "Color Accuracy: Prefer color accuracy."
2. Actively interact with plasmashell or KRunner: open applets, enter edit mode, etc.

OBSERVED RESULT
Black artifacts appear (see video)

SOFTWARE/OS VERSIONS
Operating System: ALT Regular KDE
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.4-6.13-alt1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-5200U CPU @ 2.20GHz
Memory: 15.5 GiB of RAM
Graphics Processor 1: Mesa Intel® HD Graphics 5500
Graphics Processor 2: llvmpipe
Manufacturer: Acer
Product Name: Aspire E5-573G
System Version: V3.72

$ inxi -Gxxx
Graphics:
  Device-1: Intel HD Graphics 5500 vendor: Acer Incorporated ALI driver: i915
    v: kernel arch: Gen-8 ports: active: HDMI-A-1 empty: DP-1 bus-ID: 00:02.0
    chip-ID: 8086:1616 class-ID: 0300
  Device-2: NVIDIA GM108M [GeForce 940M] vendor: Acer Incorporated ALI
    driver: nvidia v: 570.86.16 arch: Maxwell pcie: speed: 5 GT/s lanes: 4
    bus-ID: 04:00.0 chip-ID: 10de:1347 class-ID: 0302
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.5
    compositor: kwin_wayland driver: X: loaded: modesetting,nvidia
    unloaded: fbdev,nouveau,vesa alternate: nv dri: iris gpu: i915
    display-ID: 0
  Monitor-1: HDMI-A-1 model: Huawei SSN-24 res: mode: 1920x1080 hz: 75
    scale: 100% (1) dpi: 93 size: 527x296mm (20.75x11.65") diag: 604mm (23.8")
    modes: max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
    drv: nvidia gbm: drv: nvidia surfaceless: drv: nvidia wayland: drv: iris
    x11: drv: iris
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.3.4 glx-v: 1.4
    direct-render: yes renderer: Mesa Intel HD Graphics 5500 (BDW GT2)
    device-ID: 8086:1616 display-ID: :1.0
  API: Vulkan v: 1.4.304 layers: 9 surfaces: xcb,xlib,wayland device: 0
    type: integrated-gpu driver: N/A device-ID: 8086:1616 device: 1
    type: discrete-gpu driver: N/A device-ID: 10de:1347 device: 2 type: cpu
    driver: N/A device-ID: 10005:0000
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
    wl: wayland-info x11: xdpyinfo, xprop, xrandr



However, on THIS equipment the problem does NOT occur:
Operating System: EndeavourOS 
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.3-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Xeon® CPU E5-2640 v3 @ 2.60GHz
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 470 Graphics

Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX
    470/480/570/570X/580/580X/590] vendor: PC Partner / Sapphire
    driver: amdgpu v: kernel arch: GCN-4 pcie: speed: 8 GT/s lanes: 16 ports:
    active: HDMI-A-2 empty: DP-1, DP-2, DVI-D-1, HDMI-A-1 bus-ID: 03:00.0
    chip-ID: 1002:67df class-ID: 0300 temp: 47.0 C
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.5
    compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: 0
  Monitor-1: HDMI-A-2 model: Huawei AD80HW res: mode: 1920x1080 hz: 75
    scale: 100% (1) dpi: 93 size: 527x296mm (20.75x11.65") diag: 604mm (23.8")
    modes: max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi
    wayland: drv: radeonsi x11: drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.3.4-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 470 Graphics
    (radeonsi polaris10 LLVM 19.1.7 DRM 3.60 6.13.3-zen1-1-zen)
    device-ID: 1002:67df display-ID: :1.0
  API: Vulkan v: 1.4.303 layers: 4 surfaces: xcb,xlib,wayland device: 0
    type: discrete-gpu driver: N/A device-ID: 1002:67df
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info
    x11: xdpyinfo, xprop, xrandr

Operating System: EndeavourOS 
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.1-1-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5825U with Radeon Graphics
Memory: 5.6 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82RN
System Version: IdeaPad 3 15ABA7

Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Barcelo vendor: Lenovo
    driver: amdgpu v: kernel arch: GCN-5 pcie: speed: 8 GT/s lanes: 16 ports:
    active: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 04:00.0 chip-ID: 1002:15e7
    class-ID: 0300 temp: 31.0 C
  Device-2: Syntek Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 1-3:2 chip-ID: 174f:2465 class-ID: fe01
    serial: 0001
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.5
    compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: 0
  Monitor-1: eDP-1 model: Lenovo 0x9052 res: mode: 1920x1080 hz: 60
    scale: 125% (1.25) to: 1536x864 dpi: 142 size: 344x193mm (13.54x7.6")
    diag: 394mm (15.5") modes: max: 1920x1080 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi
    wayland: drv: radeonsi x11: drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.3.4-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
    renoir LLVM 19.1.7 DRM 3.59 6.13.1-1-cachyos) device-ID: 1002:15e7
    display-ID: :1.0
  API: Vulkan v: 1.4.303 layers: 9 surfaces: xcb,xlib,wayland device: 0
    type: integrated-gpu driver: N/A device-ID: 1002:15e7
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: corectrl wl: wayland-info
    x11: xdpyinfo, xprop, xrandr
Comment 1 Yaroslav Sidlovsky 2025-02-24 10:57:06 UTC
I've got almost similar artifacts but in lesser count and only on Plasma popup panels, see attached video.

System info:
```
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.12.11-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × 11th Gen Intel® Core™ i5-11600K @ 3.90GHz
Memory: 31.1 ГиБ of RAM
Graphics Processor: Intel® Graphics
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B560M DS3H V2
```

Output from `inxi -Gxxx`:
```
Graphics:
  Device-1: Intel RocketLake-S GT1 [UHD Graphics 750] vendor: Gigabyte
    driver: i915 v: kernel arch: Xe ports: active: HDMI-A-3
    empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:4c8a
    class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.5
    compositor: kwin_wayland driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: iris gpu: i915 display-ID: 0
  Monitor-1: HDMI-A-3 model: Philips PHL 274E5 serial: UHB1715003371
    res: 1920x1080 dpi: 82 size: 598x336mm (23.54x13.23") diag: 686mm (27")
    modes: max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
    device: 1 drv: swrast gbm: drv: iris surfaceless: drv: iris wayland:
    drv: iris x11: drv: iris
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.3.4 glx-v: 1.4
    direct-render: yes renderer: Mesa Intel Graphics (RKL GT1)
    device-ID: 8086:4c8a display-ID: :0.0
  API: Vulkan v: 1.4.304 layers: 7 surfaces: xcb,xlib,wayland device: 0
    type: integrated-gpu driver: N/A device-ID: 8086:4c8a device: 1 type: cpu
    driver: N/A device-ID: 10005:0000
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: corectrl, intel_gpu_top, lsgpu
    wl: swaymsg, wayland-info, wlr-randr x11: xdriinfo, xdpyinfo, xprop,
    xrandr
```
Comment 2 Yaroslav Sidlovsky 2025-02-24 10:59:11 UTC
Created attachment 178794 [details]
Plasma popup with black artifacts
Comment 3 John 2025-02-24 15:19:02 UTC
I think a lot of us are having them when we enable that option.
This is possibly a duplicate of:
https://bugs.kde.org/show_bug.cgi?id=500477
Comment 4 John 2025-02-24 15:32:21 UTC
(In reply to John from comment #3)
> I think a lot of us are having them when we enable that option.
> This is possibly a duplicate of:
> https://bugs.kde.org/show_bug.cgi?id=500477

Which probably is a duplicate too, of this one:
https://bugs.kde.org/show_bug.cgi?id=499935
Comment 5 Zamundaaa 2025-02-24 15:50:37 UTC

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