Screens freezing in KDE Plasma Wayland

After Plasma puts my monitors to sleep and or locks me out, my screens keep randomly freezing for like 10 seconds. Everything continue to run normally as I can still talk to my friends on discord while my screens are frozen. Also after my screens start freezing like this the KDE Power Options menu does not want to open.
I tried switching kernel to LTS, didn’t help.
I have 2 monitors with different refresh rates idk if that’s causing KDE to bug out.

Machine:
  Type: Desktop Mobo: Micro-Star model: B450 TOMAHAWK MAX (MS-7C02) v: 1.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: 3.F0
    date: 07/23/2022
CPU:
  Info: 8-core model: AMD Ryzen 7 5800X3D bits: 64 type: MT MCP arch: Zen 3+
    rev: 2 cache: L1: 512 KiB L2: 4 MiB L3: 96 MiB
  Speed (MHz): avg: 1753 min/max: 550/4550 boost: enabled cores: 1: 1753
    2: 1753 3: 1753 4: 1753 5: 1753 6: 1753 7: 1753 8: 1753 9: 1753 10: 1753
    11: 1753 12: 1753 13: 1753 14: 1753 15: 1753 16: 1753 bogomips: 108843
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT
    / 6900 XT] vendor: Tul / PowerColor driver: amdgpu v: kernel arch: RDNA-2
    pcie: speed: 16 GT/s lanes: 16 ports: active: DP-3,HDMI-A-1
    empty: DP-1,DP-2,Writeback-1 bus-ID: 28:00.0 chip-ID: 1002:73bf
  Display: wayland server: X.org v: 1.21.1.16 with: Xwayland v: 24.1.6
    compositor: Hyprland v: 0.49.0 driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu d-rect: 1920x1080 display-ID: 1
  Monitor-1: DP-3 pos: primary model: Gigabyte G24F 2 res: 1920x1080 hz: 180
    dpi: 94 diag: 595mm (23.4")
  Monitor-2: HDMI-A-1 pos: primary model: Philips PHL 226E9Q res: 1920x1080
    hz: 75 dpi: 102 diag: 547mm (21.5")
  API: EGL v: 1.5 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: 25.0.5-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6800 XT (radeonsi
    navi21 LLVM 19.1.7 DRM 3.61 6.12.29-1-lts) device-ID: 1002:73bf
  API: Vulkan v: 1.4.313 surfaces: N/A device: 0 type: discrete-gpu
    driver: mesa radv device-ID: 1002:73bf
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: corectrl wl: wayland-info
    x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 21/23 HDMI/DP Audio
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 28:00.1 chip-ID: 1002:ab28
  Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s
    lanes: 16 bus-ID: 2a:00.4 chip-ID: 1022:1487
  Device-3: FiiO K5 Pro driver: snd-usb-audio type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 1-2:11 chip-ID: 2972:0047
  Device-4: Focusrite-Novation Vocaster One USB driver: snd-usb-audio
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-2:22
    chip-ID: 1235:8216
  API: ALSA v: k6.12.29-1-lts status: kernel-api
  Server-1: PipeWire v: 1.4.2 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 22:00.0 chip-ID: 10ec:8168
  IF: enp34s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: zt6ov27suj state: unknown speed: 10000 Mbps duplex: full
    mac: <filter>
Drives:
  Local Storage: total: 2.06 TiB used: 1.18 TiB (57.1%)
  ID-1: /dev/nvme0n1 vendor: Kingston model: SNV2S500G size: 465.76 GiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 38.9 C
  ID-2: /dev/sda vendor: Western Digital model: WD10EZEX-00BN5A0
    size: 931.51 GiB speed: 6.0 Gb/s serial: <filter>
  ID-3: /dev/sdb vendor: Patriot model: P210 256GB size: 238.47 GiB
    speed: 6.0 Gb/s serial: <filter>
  ID-4: /dev/sdc vendor: Intel model: SSDSC2KW512G8 size: 476.94 GiB
    speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 446.75 GiB used: 53.68 GiB (12.0%) fs: ext4
    dev: /dev/nvme0n1p2
Swap:
  ID-1: swap-1 type: partition size: 8.8 GiB used: 33.1 MiB (0.4%)
    priority: -2 dev: /dev/nvme0n1p3
Sensors:
  System Temperatures: cpu: 57.8 C mobo: N/A gpu: amdgpu temp: 56.0 C
    mem: 54.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
  Memory: total: 16 GiB available: 15.54 GiB used: 7.85 GiB (50.5%)
  Processes: 354 Power: uptime: 5h 12m wakeups: 0 Init: systemd v: 257
    default: graphical
  Packages: 1201 pm: pacman pkgs: 1190 pm: flatpak pkgs: 11 Compilers:
    clang: 19.1.7 gcc: 15.1.1 Shell: Bash v: 5.2.37 running-in: kitty
    inxi: 3.3.38

some errors i found in journalctl

May 22 14:52:28 burek-pc org_kde_powerdevil[1557]: [  2723] busno=10, sleep-multiplier= 1.00.Retesting for supported feature 0x10 returned Error_Info[DDCRC_RETRIES in ddc_write_read_with_retry, causes: EREMO>
May 22 14:49:26 burek-pc org_kde_powerdevil[1557]: [  1788] (dw_remove_display_by_businfo) No Display_Ref found for i2c bus: 10
May 22 14:49:42 burek-pc kernel: uvcvideo 3-1.1.1:1.1: Failed to set UVC probe control : -32 (exp. 26).
May 22 14:49:43 burek-pc pipewire[1376]: spa.v4l2: '/dev/video0' VIDIOC_QUERYCTRL: Input/output error

Hello! I got the same problem, i have the same graphic card, i have rollback to a snapshot taken 1 week ago, and now is going well. Please check my post here: System freeze with driver AMD ATI Radeon RX 6800/6800 XT / 6900 XT on wayland - #8 by 1sn0m3

Maybe we must wait for a fix of mesa…

There’s a lot of development going on with the amdgpu kernel driver. https://gitlab.freedesktop.org/drm/amd/-/issues
A lot of my issues were mostly fixed with the 6.14.7 kernel. One issue I’m tracking is definitely fixed in the 6.15 testing builds.