FS#73117 - [xdg-desktop-portal] 1.12.1 breaks WebRTC Screesharing for FF/Chrome

Attached to Project: Arch Linux
Opened by Robert Strube (rstrube) - Wednesday, 22 December 2021, 19:22 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 07 February 2022, 07:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
xdg-desktop-portal 1.12.1, xdg-desktop-portal-gtk 1.12.0 breaks WebRTC screensharing for FF/Chrome for Gnome running on Wayland session.

Additional info:
* xdg-desktop-portal 1.12.1-1
* xdg-desktop-portal-gtk 1.12.0-1
* xdg-desktop-portal-gnome 41.1-1
* Running FF with MOZ_ENABLE_WAYLAND=1
* Running Chrome with: --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=WebRTCPipeWireCapturer

Steps to reproduce:
* Upgrade to the latest versions of xdg-desktop-portal and xdg-desktop-portal-gtk
* Attempt to screenshare using WebRTC (The Mozilla gUM test page is great for testing: https://mozilla.github.io/webrtc-landing/gum_test.html)
* Screensharing no longer works correctly

Downgrading to:

* xdg-desktop-portal 1.10.1-1
* xdg-desktop-portal-gtk 1.10.0-3

Restores screesharing for FF/Chrome.

I'm not sure if 1.12 interface broke browser support again (similar to 1.10) but perhaps this package shouldn't be upgraded until browsers catch up?
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 07 February 2022, 07:21 GMT
Reason for closing:  Fixed
Additional comments about closing:  2021-12-27: A task closure has been requested. Reason for request: Screensharing appears to be functional again with FF/Chrome.
Comment by roman (blackout) - Wednesday, 22 December 2021, 22:34 GMT
It crashes as soon as you want to share the screen.
This is the generated coredump.
Comment by Robert Strube (rstrube) - Monday, 27 December 2021, 21:40 GMT
The issue appears to have resolved itself. I tried performing a full system update (-Syu), rebooting, and screensharing via WebRTC for FF/Chrome is working again.

Package versions are all the same:
* xdg-desktop-portal 1.12.1-1
* xdg-desktop-portal-gtk 1.12.0-1
* xdg-desktop-portal-gnome 41.1-1

I'll close this bug for now.

Loading...