Blinking windows with plasma screen recording

I seem to have an issue with screen recording on plasma.
Anyone else have an idea what this is coming from / how to fix it.

Se attached video for an example: https://youtu.be/1KkM1QkAaRw

System Info:

OS Garuda Linux x86_64
Kernel Linux 6.17.9-zen1-1-zen
DE KDE Plasma 6.5.3
Window Manager KWin (Wayland)
Login Manager sddm-autologin 0.21.0 (Wayland)
CPU Intel(R) Core™ i7-8700K (12) @ 4.70 GHz
GPU NVIDIA GeForce RTX 3070 Ti [Discrete]
Display 3840x2160 @ 1.5x in 85", 60 Hz [External]

What is the video card driver and its version?

NVIDIA related packages:
lib32-nvidia-utils 580.105.08-1
lib32-opencl-nvidia 580.105.08-1
linux-firmware-nvidia 20251125-1
nvidia-open-dkms 580.105.08-4
nvidia-prime 1.0-5
nvidia-utils 580.105.08-4
opencl-nvidia 580.105.08-4

Mesa and vulkan packages:
lib32-mesa 1:25.2.7-1
lib32-vulkan-icd-loader 1.4.328.1-1
lib32-vulkan-intel 1:25.2.7-1
lib32-vulkan-mesa-device-select 1:25.2.7-1
lib32-vulkan-mesa-layers 1:25.2.7-1
lib32-vulkan-radeon 1:25.2.7-1
mesa 1:25.2.7-1
mesa-utils 9.0.0-7
vulkan-icd-loader 1.4.328.1-1
vulkan-intel 1:25.2.7-1
vulkan-mesa-device-select 1:25.2.7-1
vulkan-mesa-layers 1:25.2.7-1
vulkan-radeon 1:25.2.7-1
vulkan-swrast 1:25.2.7-1
vulkan-tools 1.4.328.1-1

its to note that the issue is only visible in recordings, so on my display it looks good as long as i don’t look at the obs window or the recording itself.

Might be interesting to note that the issue is only with desktop capture.
If I capture a window it works, but its only one window of course, so not usable if i want to record the desktop, but works if I just want to record a window.