Plasma 6.4 & Wayland - mpv pausing/losing frames when switching to other virtual desktop

Ever since updating to Plasma 6.4 with wayland on arch, media players such as mpv and even youtube are having buggy behavior when switching to a different virtual desktop than the ones playing the video, which did not happen on previous plasma versions.

Most notable when playing a video on mpv, when switching to a different virtual desktop audio will, sometimes, stop and every time frames will just block or build up until you switch back to the virtual desktop with mpv playing and then it will suddenly fast forward through missed frames and result in very buggy behavior.

Did plasma change something in the way it blocks frames or tells media players not to run when switching virtual desktops?

I have the same issue. Looked around to no avail and ended up here.

Using an nvidia 4070 on wayland and here’s my launch options should it help

Blockquote
/usr/bin/mpv --really-quiet --ao=pipewire --vo=gpu-next --hwdec=nvdec --gpu-api=vulkan --cache=auto --monitoraspect=16:9 --no-sub-visibility --video-sync=display-resample --pipewire-buffer=1000 --input-ipc-server=/tmp/mpvsocket “filename”