OBS can't capture screen on KDE Plasma Wayland

I often use OBS studio in Plasma Wayland, it works fine. But I am in the unstable branch.

  • OBS version
$ obs --version
OBS Studio - 29.1.3-1
  • xdg-desktopo-portal-kde version: 5.27.7-1

  • pipewire version

$ pipewire --version
pipewire
Compiled with libpipewire 0.3.79
Linked with libpipewire 0.3.79
  • pipewire and its dependencies were installed:
$ pacman -Qq | grep pipewire
kpipewire
libpipewire
pipewire
pipewire-alsa
pipewire-audio
pipewire-jack
pipewire-pulse
pipewire-zeroconf
  • Installed non-free mesa vaapi driver to enable video en/decoding acceleration for AMD GPU
  • Installed mesa driver and utils
$ pacman -Qq | grep mesa
lib32-mesa
libva-mesa-driver
mesa
mesa-utils