Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2023 21:56:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 273931] www/firefox: Crash when trying to share screen
Message-ID:  <bug-273931-21738-dbU9bRgt0w@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273931-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273931-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273931

Jesper Schmitz Mouridsen <jsm@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jsm@FreeBSD.org

--- Comment #6 from Jesper Schmitz Mouridsen <jsm@FreeBSD.org> ---
Not tested on recent firefox but pipewire and wayland support seems to bug =
x11
screen sharing.=20
If I remove the following from
third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
(After bsd patches are applied) it works under X11..=20


if CONFIG["CPU_ARCH"] =3D=3D "x86_64":

    DEFINES["WEBRTC_ENABLE_AVX2"] =3D True
    DEFINES["WEBRTC_USE_PIPEWIRE"] =3D True

    LOCAL_INCLUDES +=3D [
        "/gfx/angle/checkout/include/",
        "/third_party/drm/drm/",
        "/third_party/drm/drm/include/",
        "/third_party/drm/drm/include/libdrm/",
        "/third_party/gbm/gbm/",
        "/third_party/libepoxy/libepoxy/include/",
        "/third_party/pipewire/"
    ]

    SOURCES +=3D [
=20=20=20=20=20=20=20
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer=
_pipewire.cc",
=20=20=20=20=20=20=20
"/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_linux.=
cc"
    ]

    UNIFIED_SOURCES +=3D [
=20=20=20=20=20=20=20
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc=
",
=20=20=20=20=20=20=20
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/mouse_cursor_=
monitor_pipewire.cc",
=20=20=20=20=20=20=20
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/restore_token=
_manager.cc",
=20=20=20=20=20=20=20
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_captur=
e_portal_interface.cc",
=20=20=20=20=20=20=20
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_po=
rtal.cc",
=20=20=20=20=20=20=20
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_st=
ream_utils.cc",
=20=20=20=20=20=20=20
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screen=
cast_stream.cc",
=20=20=20=20=20=20=20
"/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc",
=20=20=20=20=20=20=20
"/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc"
    ]

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273931-21738-dbU9bRgt0w>