Screen capture - stride issue
Affected version
My configuration:
Gentoo ~amd64
Gnome 3.38.3 (Wayland session)
mutter-3.38.3
pipewire-0.3.21
xdg-desktop-portal-1.8.0
xdg-desktop-portal-gtk-1.8.0
GPU information:
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 14 [Radeon RX 5500/5500M / Pro 5500M] (rev c5) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Navi 14 [Radeon RX 5500/5500M / Pro 5500M]
Flags: bus master, fast devsel, latency 0, IRQ 37, IOMMU group 1
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=2M]
I/O ports at e000 [size=256]
Memory at dfa00000 (32-bit, non-prefetchable) [size=512K]
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: amdgpu
Display resolution: 3840x2160
Fractional scaling: 175%
Bug summary
I've tried to run a simple screen capture test and I saw this result:
I see the same problem occurs when I share a screen in a firefox/webrtc. But at the same time, when I share a separate window (from firefox), this problem does not appear.
Bug also created here: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/728
Steps to reproduce
- Run Gnome wayland session
- Run pipewire
- Run python3 xdp-remote-deskto.py