Article View: linux.debian.bugs.dist
Article #6957Bug#1155982: firefox: Please enable media.webrtc.camera.allow-pipewire (MIPI cameras unusable)
From: 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"
Technical Details
Message-ID:
<O5im5-fcTS-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod From: Paul Menzel <pmenzel@molgen.mpg.de> Newsgroups: linux.debian.bugs.dist Subject: Bug#1155982: firefox: Please enable media.webrtc.camera.allow-pipewire (MIPI cameras unusable) Date: Mon, 30 Nov 2026 23:50:01 +0100 Message-ID: <O5im5-fcTS-5@gated-at.bofh.it> X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Nov 30 22:45:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: Paul Menzel <pmenzel@molgen.mpg.de>, 1155982@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+pkg-mozilla@tracker.debian.org X-Debian-Pr-Message: report 1155982 X-Debian-Pr-Package: firefox X-Debian-Pr-Source: firefox, iceweasel MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006208 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 92 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 30 Nov 2026 23:42:57 +0100 X-Original-Message-ID: <b802d60a-6956-4819-9766-6fa106980e53@molgen.mpg.de>