FS#76684 - [firefox] screensharing patch breaks screensharing
Attached to Project:
Arch Linux
Opened by Andrew Martens (mrtilo) - Sunday, 27 November 2022, 21:48 GMT
Last edited by Toolybird (Toolybird) - Sunday, 03 September 2023, 08:37 GMT
Opened by Andrew Martens (mrtilo) - Sunday, 27 November 2022, 21:48 GMT
Last edited by Toolybird (Toolybird) - Sunday, 03 September 2023, 08:37 GMT
|
Details
Description:
Current version of firefox share a black screen. I used the downgrade utility to downgrade firefox. Firefox 106.0.1 can share screen correctly. Firefox 106.0.2 shares a completely black screen. I went to Mozilla Firefox mercurial repo, but couldn't find commits about screencasting from 106.0.1 to 106.0.2. Then I see that Arch has added a patch that has to do with screencasting in 106.0.2, which was apparently not there in 106.0.1. See [here](https://github.com/archlinux/svntogit-packages/commit/7c5cd818f2574660d6f48442382983f9fabf0d62). Could this be it? Detailed information about my configuration can be found in the [xdg-desktop-portal-wlr bug report](https://github.com/emersion/xdg-desktop-portal-wlr/issues/250). Additional info: * package version(s) 106.0.2 * config and/or log files etc.: see above * link to upstream bug report, if any: see above Steps to reproduce: Go [here](https://mozilla.github.io/webrtc-landing/gum_test.html) and try to share the screen. |
This task depends upon
Closed by Toolybird (Toolybird)
Sunday, 03 September 2023, 08:37 GMT
Reason for closing: Fixed
Additional comments about closing: patch gone as of firefox 111.0-1
Sunday, 03 September 2023, 08:37 GMT
Reason for closing: Fixed
Additional comments about closing: patch gone as of firefox 111.0-1
FS#76231. Does it work if you compile firefox without the patch?❯ makepkg --cleanbuild
==> Making package: firefox 107.0-1 (Mon 28 Nov 2022 04:38:45 PM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading firefox-107.0.source.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 487M 100 487M 0 0 49.2M 0 0:00:09 0:00:09 --:--:-- 49.5M
-> Downloading firefox-107.0.source.tar.xz.asc...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 833 100 833 0 0 10763 0 --:--:-- --:--:-- --:--:-- 10960
-> Found firefox.desktop
-> Found identity-icons-brand.svg
==> ERROR: Integrity checks (sha256) differ in size from the source array.
patch -Np1 -i ../0001-libwebrtc-screen-cast-sync.patch
[1] https://wiki.archlinux.org/title/Arch_Build_System
[2] https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
I think it will be an academic curiosity, since version 109 of Firefox, which will be out in January, is built against latest version of libwebrtc and that fixes the problem with GNOME/KDE DE that this patch addresses.
So this patch should be gone anyway with version 109.
He told me that the patch is still needed with FF 109, but can be dropped in the future with FF 110 or 111 as they already fixed it on their side apparently. You will find out once it doesn't apply.