camera fixes

This commit is contained in:
2026-10-29 12:10:33 +02:00
parent 0d43827833
commit 5d166b2518
7 changed files with 1513 additions and 2 deletions
+38 -2
View File
@@ -1,3 +1,39 @@
# xps16-camera-fix-fedora
# Dell XPS 16 (DA16250) webcam on Fedora
Fix the built-in camera on Intel IPU6 laptops (Dell XPS 16) on Fedora, with a one-click Claude Code helper
Quick start: run `./fix-camera.sh`. It opens Claude Code with a prompt that
diagnoses and fixes the camera step by step.
For the full step-by-step guide (diagnosis, all fixes, other laptop models), see
[CAMERA-GUIDE.md](CAMERA-GUIDE.md).
Camera: OmniVision OV02C10 on the Intel IPU6 (Arrow Lake), driven by the
in-kernel `ov02c10` + `intel-ipu6-isys` drivers and libcamera's software ISP,
exposed to apps through PipeWire.
## Fixes
1. **Black image**: libcamera's GPU debayer failed on NVIDIA's EGL. Fixed by
`~/.config/systemd/user/wireplumber.service.d/camera-softisp-mesa.conf`,
which makes WirePlumber use Mesa (the Intel iGPU).
2. **Upside-down image**: the ACPI tables report 0° rotation for a sensor that
is mounted at 180°. `ipu-bridge` has a DMI quirk list for this. The
DA16250 entry is in mainline but not in Fedora's 7.2 kernels yet.
`ipu-bridge/` is Fedora's 7.2 source plus that one entry
(`ipu-bridge/dell-xps16-da16250.patch`).
```sh
sudo ./install.sh # build + install for the running kernel, add kernel-install hook
sudo ./install.sh --uninstall
```
The hook (`/etc/kernel/install.d/90-ipu-bridge-da16250.install`) rebuilds the
module for each new kernel, logs to `/var/log/ipu-bridge-da16250.log`, and
removes the override once a kernel's stock module already has the quirk. It
refuses to install if the stock module differs from this source by anything
other than the quirk.
## Apps
Only PipeWire-aware apps see the camera. In Chromium or Brave, enable
`chrome://flags/#enable-webrtc-pipewire-camera` (`brave://flags/...`). In
Firefox, `media.webrtc.camera.allow-pipewire` must be `true`.