OPINIONATED OMARCHY
TROUBLESHOOTING CORPUS
790
RECORDS
790
AUDITED
0
UNCHECKED
2388
SOURCES
LIVE
audio-input medium common DISPUTE

Pick the webcam node that works when one of two cameras is black

omarchyarchendeavouroscachyoshyprlandwaylandlaptopintel
AUDITED Audited against its sources and confirmed accurate.

Symptom

The webcam picker or a video app offers two cameras and only one works: selecting the first gives a black overlay or a Link severed error. On Intel 11th-gen and newer laptops, /dev/video0 is present but unusable while the real camera is at a much higher number such as /dev/video42. Auto-detect always picks the broken one.

Cause

Intel IPU6 MIPI cameras expose many /dev/video* nodes, most of which are raw-Bayer or output-only sub-device nodes rather than usable capture devices. Tools that just take the first /dev/video* open a node that will never produce a viewable frame. The usable stream is presented separately (commonly via a v4l2loopback node fed by the IPU6 userspace stack).

Fix

Enumerate the nodes and their capabilities instead of guessing:


sudo pacman -S --needed v4l-utils
v4l2-ctl --list-devices

For each node, check whether it really does video capture:


for d in /dev/video*; do
  echo "== $d"
  v4l2-ctl --device="$d" --info | grep -A4 'Device Caps'
done

Only nodes whose caps include Video Capture are usable. The udev property is a quicker filter:


udevadm info --query=property --name=/dev/video0 | grep ID_V4L_CAPABILITIES
# usable capture nodes report :capture:

Test the candidate directly and note the working path:


v4l2-ctl --device=/dev/video42 --list-formats-ext
ffplay -f v4l2 -i /dev/video42

Then point your app at that specific node. For example, in OBS choose the device by name rather than by index, and for Chromium/Firefox use the entry that matches the working node.

Verify

ffplay -f v4l2 -i /dev/videoN shows a live picture, and v4l2-ctl --device=/dev/videoN --info lists Video Capture in its Device Caps.

Sources

webcam-black-image-ipu6-wrong-node