40 lines
1.7 KiB
Markdown
40 lines
1.7 KiB
Markdown
# Dell XPS 16 (DA16250) webcam on Fedora
|
|
|
|
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`.
|