From nobody Thu Dec 21 21:56:34 2023
X-Original-To: gecko@mlmmj.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
	by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sx45H6801z54KSB
	for <gecko@mlmmj.nyi.freebsd.org>; Thu, 21 Dec 2023 21:56:35 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
	 client-signature RSA-PSS (4096 bits) client-digest SHA256)
	(Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK))
	by mx1.freebsd.org (Postfix) with ESMTPS id 4Sx45H55Ykz4R7b
	for <gecko@FreeBSD.org>; Thu, 21 Dec 2023 21:56:35 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703195795; a=rsa-sha256; cv=none;
	b=UprFrvqyXkCFSGom2J6aNwFY7r1hc1XPslfGTAdeUSozkJa0vBccvcr+LMC0LeZoKRwTl7
	hle740P1YzquwkOLebHSbPbebznczW5mFeo1J173dZQfnKFlVePwoBBh5WLlLDIpGxc1qJ
	q7C5Y79sycd7jAaLw4uKbYL9sAyn8AYDfVHo4vDRaH1bwoEXuV3/ikHt5CixheqDdsvsgn
	vavpQmxdSBCyNQ9J6vqm6xEbFI7ddFWqG+l7l5BArfWgyFdxXJkGf/3eLMz9riuKaewTjT
	6ZpSLr1mkBReveOm1YhqOTRUQV3t0u5IsHq+OPuQW3OECUh2971Da8aUfPFM3g==
ARC-Authentication-Results: i=1;
	mx1.freebsd.org;
	none
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1703195795;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=8cHUAhvAiS5fouusqCNrpculSuGIB0b8ePOJF7W4ZWU=;
	b=HKowEDjKdYV8UoW5aDSI2JnXZNBDHZe63ATn7qUBRyL5ztbMGrMVJo2kcKLFfREp4UJR69
	cRaB7TdkBriM9s2mYHHqgClM+BqJHiVzWdV1IUWIZcV6lRA3IdcF8NEKHc2rCLF8GBZNLl
	c2QRSo4vhCTcg3RXSBx+64MOB7/tzAgYYEx8opRKF6sJY+DLTIj30caB8J3XpjzCKV3Aou
	ylyG4E8oUBl7kPz6K6obPmNaM/i8iwd6eNfUyk29PTNdsT1gk7/HnOiNIp8gz0ophETW16
	1quTbmnGVomsJzc+C7SL4QiqfZgEdK+TdmJCuFVdSWDJDe0Aj0Ygk9eb4qybTQ==
Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(Client did not present a certificate)
	by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sx45H46nvzq9Y
	for <gecko@FreeBSD.org>; Thu, 21 Dec 2023 21:56:35 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org ([127.0.1.5])
	by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3BLLuZEd015862
	for <gecko@FreeBSD.org>; Thu, 21 Dec 2023 21:56:35 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BLLuZfq015861
	for gecko@FreeBSD.org; Thu, 21 Dec 2023 21:56:35 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
From: bugzilla-noreply@freebsd.org
To: gecko@FreeBSD.org
Subject: [Bug 273931] www/firefox: Crash when trying to share screen
Date: Thu, 21 Dec 2023 21:56:34 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Ports & Packages
X-Bugzilla-Component: Individual Port(s)
X-Bugzilla-Version: Latest
X-Bugzilla-Keywords: crash, needs-qa
X-Bugzilla-Severity: Affects Many People
X-Bugzilla-Who: jsm@FreeBSD.org
X-Bugzilla-Status: Open
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: gecko@FreeBSD.org
X-Bugzilla-Flags: maintainer-feedback?
X-Bugzilla-Changed-Fields: cc
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/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
List-Id: Gecko Rendering Engine issues <freebsd-gecko.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-gecko
List-Help: <mailto:freebsd-gecko+help@freebsd.org>
List-Post: <mailto:freebsd-gecko@freebsd.org>
List-Subscribe: <mailto:freebsd-gecko+subscribe@freebsd.org>
List-Unsubscribe: <mailto:freebsd-gecko+unsubscribe@freebsd.org>
Sender: owner-freebsd-gecko@freebsd.org
MIME-Version: 1.0

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.=