Wayland - Native wayland apps & vulkan apps have graphical glitches similar to xwayland glamor


Lately there seems to be very similar graphical glitches on a wayland session which are similar to the xwayland glamor rendering problems.
The app would either flash black, render black window or go forward/backward during rendering regardless if it is native wayland app or xwayland. This doesn’t seem to affect all application, however for example running cs go through SDL2 for native wayland support if you leave the window in the background - game lowers fps and the visual glitches are all present, something similar is also seen when just trying to record something with lower fps through OBS through qt6-wayland + pipewire.
PCSX2 again which runs natively on wayland, when ran with Vulkan API and not OpenGL also sees the behavior of going forward/backward.

All is very similar to how the glitches are described here xwayland glamor renders incorrectly on nvidia (#1317) · Issues · xorg / xserver · GitLab only difference is that they apply for actual native wayland apps.

Operating System: EndeavourOS
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.3-zen1-2-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X3D 8-Core Processor
Memory: 31,2 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3090/PCIe/SSE2
Driver version: 535.86.05

Just a quick update PCSX2 seems to be a qt app and it exhibits this behavior using the vulkan renderer and ran by default on wayland session(as it automatically picks QT_QPA_PLATFORM=wayland, if you set it to xcb the issue is not present but then it runs through xwayland).
Not exactly sure, but if even native wayland apps exhibit this perhaps it should be checked ?