You are not logged in.

#1 2025-01-13 20:14:20

perronegro
Member
Registered: 2024-12-24
Posts: 2

[SOLVED] Artifacts on Wayland KDE Plasma

The problem:

Artifacts are appearing randomly when Im on Wayland, in X11 theres no problem. It started in October but I havent been able to figure it out on my own.

Additional info:
uname -r

6.12.9-arch1-1

lspci -v

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Root Complex (rev 01)
        Subsystem: Hewlett-Packard Company Device 8c30
        Flags: fast devsel
libkmod: kmod_config_parse: /etc/modprobe.d/amdctl_allow_msr.conf line 1: ignoring bad line starting with 'msr.allow_writes=on'

00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h-19h IOMMU
        Subsystem: Hewlett-Packard Company Device 8c30
        Flags: fast devsel, IRQ 24
        Capabilities: <access denied>

00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge (rev 01)
        Flags: fast devsel, IOMMU group 0

00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge (prog-if 00 [Normal decode])
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
        Flags: bus master, fast devsel, latency 0, IRQ 34, IOMMU group 1
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: f000-ffff [size=4K] [16-bit]
        Memory behind bridge: fb000000-fc0fffff [size=17M] [32-bit]
        Prefetchable memory behind bridge: 7e00000000-7f01ffffff [size=4128M] [32-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge (rev 01)
        Flags: fast devsel, IOMMU group 2

00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge (prog-if 00 [Normal decode])
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
        Flags: bus master, fast devsel, latency 0, IRQ 35, IOMMU group 3
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        I/O behind bridge: e000-efff [size=4K] [16-bit]
        Memory behind bridge: fcb00000-fcbfffff [size=1M] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge (prog-if 00 [Normal decode])
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
        Flags: bus master, fast devsel, latency 0, IRQ 36, IOMMU group 4
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: [disabled] [32-bit]
        Memory behind bridge: [disabled] [32-bit]
        Prefetchable memory behind bridge: 7f20300000-7f204fffff [size=2M] [32-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge (prog-if 00 [Normal decode])
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
        Flags: bus master, fast devsel, latency 0, IRQ 37, IOMMU group 5
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
        I/O behind bridge: [disabled] [32-bit]
        Memory behind bridge: fca00000-fcafffff [size=1M] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge (prog-if 00 [Normal decode])
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
        Flags: bus master, fast devsel, latency 0, IRQ 38, IOMMU group 6
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
        I/O behind bridge: [disabled] [32-bit]
        Memory behind bridge: fc900000-fc9fffff [size=1M] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge (rev 01)
        Flags: fast devsel, IOMMU group 7

00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge (rev 01)
        Flags: fast devsel, IOMMU group 8

00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge (rev 01)
        Flags: fast devsel, IOMMU group 9

00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h Internal PCIe GPP Bridge (rev 10) (prog-if 00 [Normal decode])
        Subsystem: Advanced Micro Devices, Inc. [AMD] Family 17h-19h Internal PCIe GPP Bridge
        Flags: bus master, fast devsel, latency 0, IRQ 39, IOMMU group 10
        Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
        I/O behind bridge: d000-dfff [size=4K] [16-bit]
        Memory behind bridge: fc200000-fc5fffff [size=4M] [32-bit]
        Prefetchable memory behind bridge: 7f10000000-7f201fffff [size=258M] [32-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h Internal PCIe GPP Bridge (rev 10) (prog-if 00 [Normal decode])
        Subsystem: Advanced Micro Devices, Inc. [AMD] Family 17h-19h Internal PCIe GPP Bridge
        Flags: bus master, fast devsel, latency 0, IRQ 40, IOMMU group 11
        Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
        I/O behind bridge: [disabled] [32-bit]
        Memory behind bridge: fc600000-fc8fffff [size=3M] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
        Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller
        Flags: 66MHz, medium devsel, IOMMU group 12
        Kernel driver in use: piix4_smbus
        Kernel modules: i2c_piix4, sp5100_tco

00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
        Subsystem: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge
        Flags: bus master, 66MHz, medium devsel, latency 0, IOMMU group 12

00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 0
        Flags: fast devsel, IOMMU group 13

00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 1
        Flags: fast devsel, IOMMU group 13

00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 2
        Flags: fast devsel, IOMMU group 13

00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 3
        Flags: fast devsel, IOMMU group 13
        Kernel driver in use: k10temp
        Kernel modules: k10temp

00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 4
        Flags: fast devsel, IOMMU group 13

00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 5
        Flags: fast devsel, IOMMU group 13

00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 6
        Flags: fast devsel, IOMMU group 13

00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 7
        Flags: fast devsel, IOMMU group 13

01:00.0 VGA compatible controller: NVIDIA Corporation GA107 [GeForce RTX 2050] (rev a1) (prog-if 00 [VGA controller])
        DeviceName: NVIDIA Graphics Device
        Subsystem: Hewlett-Packard Company Device 8c30
        Physical Slot: 0
        Flags: bus master, fast devsel, latency 0, IRQ 51, IOMMU group 14
        Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
        Memory at 7e00000000 (64-bit, prefetchable) [size=4G]
        Memory at 7f00000000 (64-bit, prefetchable) [size=32M]
        I/O ports at f000 [size=128]
        Expansion ROM at fc000000 [virtual] [disabled] [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia

01:00.1 Audio device: NVIDIA Corporation GA107 High Definition Audio Controller (rev a1)
        Subsystem: Hewlett-Packard Company Device 8c30
        Physical Slot: 0
        Flags: bus master, fast devsel, latency 0, IRQ 49, IOMMU group 14
        Memory at fc080000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 16)
        DeviceName: OnBoard Enthernets
        Subsystem: Hewlett-Packard Company Device 8c30
        Flags: bus master, fast devsel, latency 0, IRQ 72, IOMMU group 15
        I/O ports at e000 [size=256]
        Memory at fcb04000 (64-bit, non-prefetchable) [size=4K]
        Memory at fcb00000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: r8169
        Kernel modules: r8169

03:00.0 Network controller: MEDIATEK Corp. MT7921 802.11ax PCI Express Wireless Network Adapter
        DeviceName: Tequila 2x2 ax / BT5.3 (M.2)
        Subsystem: AzureWave Device 4682
        Flags: bus master, fast devsel, latency 0, IRQ 75, IOMMU group 16
        Memory at 7f20300000 (64-bit, prefetchable) [size=1M]
        Memory at 7f20400000 (64-bit, prefetchable) [size=16K]
        Memory at 7f20404000 (64-bit, prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: mt7921e
        Kernel modules: mt7921e

04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5228 (rev 01)
        DeviceName: Realtek PCIE CardReader
        Subsystem: Hewlett-Packard Company Device 8c30
        Flags: bus master, fast devsel, latency 0, IRQ 53, IOMMU group 17
        Memory at fca00000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: rtsx_pci
        Kernel modules: rtsx_pci

05:00.0 Non-Volatile memory controller: Sandisk Corp WD Black SN770 / PC SN740 256GB / PC SN560 (DRAM-less) NVMe SSD (rev 01) (prog-if 02 [NVM Express])
        Subsystem: Sandisk Corp WD Black SN770 / PC SN740 256GB / PC SN560 (DRAM-less) NVMe SSD
        Flags: bus master, fast devsel, latency 0, IRQ 52, IOMMU group 18
        Memory at fc900000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: nvme
        Kernel modules: nvme

06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] (rev 0b) (prog-if 00 [VGA controller])
        DeviceName:  Onboard IGD
        Subsystem: Hewlett-Packard Company Device 8c30
        Flags: bus master, fast devsel, latency 0, IRQ 43, IOMMU group 19
        Memory at 7f10000000 (64-bit, prefetchable) [size=256M]
        Memory at 7f20000000 (64-bit, prefetchable) [size=2M]
        I/O ports at d000 [size=256]
        Memory at fc500000 (32-bit, non-prefetchable) [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
        Subsystem: Hewlett-Packard Company Device 8c30
        Flags: bus master, fast devsel, latency 0, IRQ 77, IOMMU group 20
        Memory at fc5c8000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

06:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP
        Subsystem: Hewlett-Packard Company Device 8c30
        Flags: bus master, fast devsel, latency 0, IRQ 69, IOMMU group 21
        Memory at fc400000 (32-bit, non-prefetchable) [size=1M]
        Memory at fc5cc000 (32-bit, non-prefetchable) [size=8K]
        Capabilities: <access denied>
        Kernel driver in use: ccp
        Kernel modules: ccp

06:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #3 (prog-if 30 [XHCI])
        Subsystem: Hewlett-Packard Company Device 8c30
        Flags: bus master, fast devsel, latency 0, IRQ 41, IOMMU group 22
        Memory at fc300000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd

06:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #4 (prog-if 30 [XHCI])
        Subsystem: Hewlett-Packard Company Device 8c30
        Flags: bus master, fast devsel, latency 0, IRQ 43, IOMMU group 23
        Memory at fc200000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd

06:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 60)
        Subsystem: Hewlett-Packard Company Device 8c30
        Flags: bus master, fast devsel, latency 0, IRQ 74, IOMMU group 24
        Memory at fc580000 (32-bit, non-prefetchable) [size=256K]
        Capabilities: <access denied>
        Kernel driver in use: snd_pci_acp6x
        Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63, snd_sof_amd_acp70

06:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h/1ah HD Audio Controller
        Subsystem: Hewlett-Packard Company Device 8c30
        Flags: bus master, fast devsel, latency 0, IRQ 54, IOMMU group 25
        Memory at fc5c0000 (32-bit, non-prefetchable) [size=32K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

07:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #8 (prog-if 30 [XHCI])
        Subsystem: Hewlett-Packard Company Device 8c30
        Flags: bus master, fast devsel, latency 0, IRQ 45, IOMMU group 26
        Memory at fc800000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd

07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #5 (prog-if 30 [XHCI])
        Subsystem: Hewlett-Packard Company Device 8c30
        Flags: bus master, fast devsel, latency 0, IRQ 47, IOMMU group 27
        Memory at fc700000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd

07:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #6 (prog-if 30 [XHCI])
        Subsystem: Hewlett-Packard Company Device 8c30
        Flags: bus master, fast devsel, latency 0, IRQ 49, IOMMU group 28
        Memory at fc600000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd

My laptop has an integrated and dedicated gpu (radeon 680m and rtx2050) it look like the igpu is used for low demanding task (browser, wezterm, DE)  and the rtx2050 is used for high demanding task (games) but I have no artifacts problem while playing
(nvtop)

 Device 0 [NVIDIA GeForce RTX 2050] PCIe GEN 4@ 8x RX: 300.0 KiB/s TX: 350.0 KiB/s
 GPU 1455MHz MEM 5486MHz TEMP  54°C FAN N/A% POW   9 /  30 W
 GPU[                                 0%] MEM[||                  0.308Gi/4.000Gi]

 Device 1 [AMD Radeon 660M]         Integrated GPU RX: N/A TX: N/A
 GPU 1900MHz MEM 1000MHz TEMP  54°C CPU-FAN  POW   4 W
 GPU[||||||                          16%] MEM[||||||||||||||||499.289Mi/512.000Mi]

I tried to use only the rtx2050 but optimus-manager doesnt work for me heres the explanation.
Drivers:
pacman -Qs nvidia

local/egl-gbm 1.1.2-1
    The GBM EGL external platform library
local/egl-wayland 4:1.1.17-1
    EGLStream-based Wayland external platform
local/egl-x11 1.0.0-1
    NVIDIA XLib and XCB EGL Platform Library
local/lib32-nvidia-utils 565.77-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.5-3
    Nvidia VDPAU library
local/libxnvctrl 565.57.01-1
    NVIDIA NV-CONTROL X extension
local/nvidia 565.77-11
    NVIDIA kernel modules
local/nvidia-prime 1.0-5
    NVIDIA Prime Render Offload configuration and utilities
local/nvidia-settings 565.57.01-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 565.77-3
    NVIDIA drivers utilities
local/nvtop 3.1.0-1
    GPUs process monitoring for AMD, Intel and NVIDIA
local/opencl-nvidia 565.77-3
    OpenCL implemention for NVIDIA

pacman -Qs amd

local/libteam 1.32-2
    Library for controlling team network device
local/nvtop 3.1.0-1
    GPUs process monitoring for AMD, Intel and NVIDIA
local/vulkan-radeon 1:24.3.3-2
    Open-source Vulkan driver for AMD GPUs
local/xf86-video-amdgpu 23.0.0-2 (xorg-drivers)
    X.org amdgpu video driver

Example of artifacts:
bffoAu8.jpeg
Thanks a lot for reading, I appreciate any answers tongue

Last edited by perronegro (2025-01-14 12:18:12)

Offline

#2 2025-01-14 09:30:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,841

Re: [SOLVED] Artifacts on Wayland KDE Plasma

Potentially the PSR issues in the 6.12 kernel, check https://bbs.archlinux.org/viewtopic.php … 4#p2210504 whether setting that kernel parameter helps, and if it does, generally follow that thread for updates on the issue.

Offline

#3 2025-01-14 12:17:10

perronegro
Member
Registered: 2024-12-24
Posts: 2

Re: [SOLVED] Artifacts on Wayland KDE Plasma

V1del wrote:

Potentially the PSR issues in the 6.12 kernel, check https://bbs.archlinux.org/viewtopic.php … 4#p2210504 whether setting that kernel parameter helps, and if it does, generally follow that thread for updates on the issue.

That fixed it!! Thanks a lot

Offline

Board footer

Powered by FluxBB