Screen share with pipewire is distorted on Wayland
Hello, I was sent here by the folks at Pipewire Pipewire bug here
Whenever I screen share over pipewire, I get a distorted image on the screen:
The distorted image does, in a way, resemble the screen capture area. It's not completely random, but resembles the colors and such. It's just very strangely distorted to be unusable.
This image is from OBS Studio, but I get similar in Firefox when sharing my screen over WebRTC. It behaves the same whether I share a specific window or the entire screen. All of the controls to select a window or screen work properly, just the output image is distorted. If I share via X11/not pipewire, everything works okay, except I cannot share Wayland windows.
In debugging with the Pipewire guys, I used the script snippet from the Gnome gitlab to use GStreamer, and got the same results. It was suggested that perhaps mutter wasn't correctly setting the stride somewhere.
Here are details about my system:
- Manjaro Linux
- Mutter 3.36.6
- pipewire 0.3.10
- xdg-desktop-portal 1.7.2
- obs-studio 25.0.8-2 (with obs-xdg-portal-git)
- fedora-firefox-wayland-bin (Firefox compiled with pipewire) 80.0.1-1
- Video - AMD via Mesa
Thank you in advance for any help!