Thread View: linux.debian.bugs.dist
2 messages
2 total messages
Started by Paul Menzel
Mon, 30 Nov 2026 22:50
Bug#1155982: firefox: Please enable media.webrtc.camera.allow-pipewire (MIPI cameras unusable)
Author: Paul Menzel
Date: Mon, 30 Nov 2026 22:50
Date: Mon, 30 Nov 2026 22:50
92 lines
4215 bytes
4215 bytes
Package: firefox
Version: 160.0.1-1
Severity: normal
Dear Debian folks,
Firefox still defaults to media.webrtc.camera.allow-pipewire=false, so
it uses the V4L2 camera backend. On laptops with a MIPI camera driven
through libcamera, like Intel IPU6 (most current business laptops), the
V4L2 video devices are raw CSI-2 receivers that only libcamera can
drive. Firefox offers a camera, but getUserMedia() fails:
NotReadableError: Starting videoinput failed
With the preference set to true, Firefox goes through the camera portal
and PipeWire (libcamera SPA plugin), and the camera works:
track: Interne vordere Kamera {"height":480,"width":640, ...}
Tested on a Dell XPS 9315 (IPU6, OV01A10 sensor) with Debian sid, GNOME
51 on Wayland:
firefox 160.0.1-1
libcamera0.7 0.7.2-1
libspa-0.2-libcamera 1.6.11-2
pipewire 1.6.11-2
wireplumber 0.5.19-1
xdg-desktop-portal 1.22.1+ds-1
xdg-desktop-portal-gnome 51.0-2
The default value was checked in Firefox’s default preference branch:
media.webrtc.camera.allow-pipewire=false (camera),
media.webrtc.capture.allow-pipewire=true (screen sharing, see Debian bug
#960645). Upstream’'s modules/libpref/init/StaticPrefList.yaml on main
still has value false.
Fedora has shipped the preference as true since Fedora 41 [1]. The
firefox.spec appends it to firefox-redhat-default-prefs.js:
echo 'pref("media.webrtc.camera.allow-pipewire", true);' >> ...
The risk for systems without a camera portal looks small: since Firefox
124, Firefox falls back to V4L2 if the portal request fails or is
rejected [2].
Proposed change, for debian/browser.js.in (it ends up in
/etc/firefox/firefox.js):
// Use the camera portal and PipeWire for cameras, as Fedora does.
// Without it, MIPI cameras driven by libcamera (for example
// Intel IPU6) do not work.
pref("media.webrtc.camera.allow-pipewire", true);
firefox-esr has the same default, so it probably wants the same change.
Workaround for affected users: set the preference in about:config, or
system-wide in a file in /etc/firefox/defaults/pref/.
Kind regards,
Paul
[1]: https://src.fedoraproject.org/rpms/firefox/c/b9b254a
"Enable PipeWire camera support for F41+" (2024-08-14)
[2]: https://bugzilla.mozilla.org/show_bug.cgi?id=1849608
"Fallback to v4l2 camera backend if the pipewire backend is in use
and access request failed or was rejected"
Bug#1155982: firefox: Please enable media.webrtc.camera.allow-pipewire (MIPI cameras unusable)
Author: Mike Hommey
Date: Tue, 01 Dec 2026 00:40
Date: Tue, 01 Dec 2026 00:40
83 lines
4589 bytes
4589 bytes
Please file this upstream.
Mike
On Mon, Nov 30, 2026 at 11:42:57PM +0100, Paul Menzel wrote:
> Package: firefox
> Version: 160.0.1-1
> Severity: normal
>
> Dear Debian folks,
>
>
> Firefox still defaults to media.webrtc.camera.allow-pipewire=false, so it
> uses the V4L2 camera backend. On laptops with a MIPI camera driven through
> libcamera, like Intel IPU6 (most current business laptops), the V4L2 video
> devices are raw CSI-2 receivers that only libcamera can drive. Firefox
> offers a camera, but getUserMedia() fails:
>
> NotReadableError: Starting videoinput failed
>
> With the preference set to true, Firefox goes through the camera portal and
> PipeWire (libcamera SPA plugin), and the camera works:
>
> track: Interne vordere Kamera {"height":480,"width":640, ...}
>
> Tested on a Dell XPS 9315 (IPU6, OV01A10 sensor) with Debian sid, GNOME 51
> on Wayland:
>
> firefox 160.0.1-1
>
> libcamera0.7 0.7.2-1
>
> libspa-0.2-libcamera 1.6.11-2
>
> pipewire 1.6.11-2
>
> wireplumber 0.5.19-1
>
> xdg-desktop-portal 1.22.1+ds-1
>
> xdg-desktop-portal-gnome 51.0-2
>
>
> The default value was checked in Firefox’s default preference branch:
> media.webrtc.camera.allow-pipewire=false (camera),
> media.webrtc.capture.allow-pipewire=true (screen sharing, see Debian bug
> #960645). Upstream’'s modules/libpref/init/StaticPrefList.yaml on main still
> has value false.
>
>
> Fedora has shipped the preference as true since Fedora 41 [1]. The
> firefox.spec appends it to firefox-redhat-default-prefs.js:
>
>
> echo 'pref("media.webrtc.camera.allow-pipewire", true);' >> ...
>
> The risk for systems without a camera portal looks small: since Firefox 124,
> Firefox falls back to V4L2 if the portal request fails or is rejected [2].
>
> Proposed change, for debian/browser.js.in (it ends up in
> /etc/firefox/firefox.js):
>
> // Use the camera portal and PipeWire for cameras, as Fedora does.
> // Without it, MIPI cameras driven by libcamera (for example
> // Intel IPU6) do not work.
> pref("media.webrtc.camera.allow-pipewire", true);
>
> firefox-esr has the same default, so it probably wants the same change.
>
> Workaround for affected users: set the preference in about:config, or
> system-wide in a file in /etc/firefox/defaults/pref/.
>
>
> Kind regards,
>
> Paul
>
>
> [1]: https://src.fedoraproject.org/rpms/firefox/c/b9b254a
> "Enable PipeWire camera support for F41+" (2024-08-14)
> [2]: https://bugzilla.mozilla.org/show_bug.cgi?id=1849608
> "Fallback to v4l2 camera backend if the pipewire backend is in use and
> access request failed or was rejected"
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads