Webcam streams all black in Dell Precision 5480 on Ubuntu 22.04

Ubuntu Version: 22.04 LTS

Desktop Environment (if applicable):

GNOME

Problem Description:

Can’t get my integrated webcam to work properly. The webcam is detected and can stream video, but applications only see a black image. For example, zoom shows my webcam as enabled but when I enable video it sends a black frame. ffmpeg -f v4l2 -i /dev/video0 -frames 1 test.jpg returns a black jpg.

Relevant System Information:

This is a Dell Precision 5480.
I’m using the 6.8.0-60-generic kernel.
On Additional drivers, I’m using the “hardware support for Dell Precision 5480 from oem-sommerville-torchic-meta (open source)” driver.

This webcam was working when I first installed Ubuntu and then it broke at some point (can’t tell when).

What I’ve Tried:

I tried installing the HWE (suggested here and here) with

sudo apt-get install --no-install-recommends --yes \
    linux-generic-hwe-22.04 \
    linux-modules-ipu6-generic-hwe-22.04 \
    linux-modules-usbio-generic-hwe-22.04

but I get this error:

Error! Bad return status for module build on kernel: 6.8.0-60-generic (x86_64)
Consult /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/make.log for more information.
dpkg: error processing package intel-ipu6-dkms (--configure):
 installed intel-ipu6-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 intel-ipu6-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

Here’s make.log with more details.

what is the output of:
lsusb
thanks :slight_smile:

This:

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 27c6:63cc Shenzhen Goodix Technology Co.,Ltd. Goodix USB2.0 MISC
Bus 003 Device 003: ID 8086:0b63 Intel Corp. USB Bridge
Bus 003 Device 005: ID 8087:0033 Intel Corp. 
Bus 003 Device 009: ID 413c:b06e Dell Computer Corp. Dell dock
Bus 003 Device 011: ID 413c:b06f Dell Computer Corp. Dell dock
Bus 003 Device 013: ID 413c:2110 Dell Computer Corp. Dell Wired Multimedia Keyboard
Bus 003 Device 012: ID 1ea7:0066 SHARKOON Technologies GmbH [Mediatrack Edge Mini Keyboard]
Bus 003 Device 010: ID 413c:1010 Dell Computer Corp. USB 2.0 Hub
Bus 003 Device 008: ID 0bda:5413 Realtek Semiconductor Corp. Dell dock
Bus 003 Device 007: ID 0bda:5487 Realtek Semiconductor Corp. Dell dock
Bus 003 Device 006: ID 1d5c:5801 Fresco Logic USB2.0 Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 006: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 002 Device 005: ID 0bda:0413 Realtek Semiconductor Corp. Dell dock
Bus 002 Device 004: ID 0bda:0487 Realtek Semiconductor Corp. Dell dock
Bus 002 Device 003: ID 8087:0b40 Intel Corp. USB3.0 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

OK, and the output of:
lspci; echo; dmesg | grep -i cam

I had to add sudo before dmesg. Here’s the output:

00:00.0 Host bridge: Intel Corporation Device a706
00:01.0 PCI bridge: Intel Corporation Device a70d
00:02.0 VGA compatible controller: Intel Corporation Device a7a0 (rev 04)
00:04.0 Signal processing controller: Intel Corporation Device a71d
00:05.0 Multimedia controller: Intel Corporation Device a75d
00:06.0 PCI bridge: Intel Corporation Device a74d
00:07.0 PCI bridge: Intel Corporation Device a76e
00:07.1 PCI bridge: Intel Corporation Device a73f
00:07.2 PCI bridge: Intel Corporation Device a72f
00:07.3 PCI bridge: Intel Corporation Device a71f
00:08.0 System peripheral: Intel Corporation Device a74f
00:0a.0 Signal processing controller: Intel Corporation Device a77d (rev 01)
00:0d.0 USB controller: Intel Corporation Device a71e
00:0d.2 USB controller: Intel Corporation Device a73e
00:0d.3 USB controller: Intel Corporation Device a76d
00:12.0 Serial controller: Intel Corporation Device 51fc (rev 01)
00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01)
00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01)
00:14.3 Network controller: Intel Corporation Device 51f1 (rev 01)
00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01)
00:15.1 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 (rev 01)
00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI Controller (rev 01)
00:1d.0 PCI bridge: Intel Corporation Device 51b3 (rev 01)
00:1e.0 Communication controller: Intel Corporation Alder Lake PCH UART #0 (rev 01)
00:1e.3 Serial bus controller: Intel Corporation Device 51ab (rev 01)
00:1f.0 ISA bridge: Intel Corporation Device 519d (rev 01)
00:1f.3 Multimedia audio controller: Intel Corporation Device 51ca (rev 01)
00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI Controller (rev 01)
01:00.0 3D controller: NVIDIA Corporation Device 25bc (rev a1)
02:00.0 Non-Volatile memory controller: SK hynix Device 1959
81:00.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
82:00.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
82:01.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
82:02.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
82:03.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
82:04.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
ab:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)

[    0.000000]   AMD AuthenticAMD
[    0.119508] PCI: ECAM [mem 0xc0000000-0xcfffffff] (base 0xc0000000) for domain 0000 [bus 00-ff]
[    3.504883] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    3.526766] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    3.530898] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    3.535137] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    3.547119] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    3.552215] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    3.557968] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    3.564730] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    3.571600] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    3.577958] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    3.606667] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    3.886386] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    3.909004] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    3.954728] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    4.016427] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    4.037766] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    4.503902] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    4.527331] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    4.543332] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    4.551140] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    4.566832] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    4.576568] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    4.589719] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    4.596445] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    4.632071] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    4.714981] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    4.718996] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    5.241802] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    5.285200] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    5.288327] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    6.001814] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    6.630925] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    7.025669] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    7.194268] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    7.215590] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    7.405041] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    7.589830] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    7.870154] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    7.890102] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    7.936058] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    7.939845] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    8.196924] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    8.252969] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    8.258433] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    8.422500] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[    8.733286] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[   10.049769] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[   15.686565] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[   15.714902] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[   15.718384] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[   15.831235] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[   15.852119] intel-ipu6 0000:00:05.0: Connected 1 cameras

This topic was automatically closed after 30 days. New replies are no longer allowed.