You are not logged in.
Hello everyone,
I have a Dell XPS 13 9350 (2024 version), that I run arch on, and ever since the installation, I have encountered issues with my IPU7 webcam. On the wiki I found an entry for my device which has instructions on how to get the camera up and running, by following it, I've been able to see my camera when running cam -l (output below) and get the raw output through both qcam and gst:
cam -l
[0:50:15.458320674] [14792] INFO Camera camera_manager.cpp:340 libcamera v0.7.0
[0:50:15.476479222] [14793] ERROR V4L2 v4l2_subdevice.cpp:1192 'ov02c10 16-0036': Unable to get rectangle 2 on pad 0/0: Inappropriate ioctl for device
[0:50:15.476519769] [14793] WARN CameraSensor camera_sensor_legacy.cpp:402 'ov02c10 16-0036': The PixelArraySize property has been defaulted to 1928x1092
[0:50:15.476526830] [14793] ERROR V4L2 v4l2_subdevice.cpp:1192 'ov02c10 16-0036': Unable to get rectangle 1 on pad 0/0: Inappropriate ioctl for device
[0:50:15.476529866] [14793] WARN CameraSensor camera_sensor_legacy.cpp:413 'ov02c10 16-0036': The PixelArrayActiveAreas property has been defaulted to (0, 0)/1928x1092
[0:50:15.476535860] [14793] ERROR V4L2 v4l2_subdevice.cpp:1192 'ov02c10 16-0036': Unable to get rectangle 0 on pad 0/0: Inappropriate ioctl for device
[0:50:15.476538311] [14793] WARN CameraSensor camera_sensor_legacy.cpp:421 'ov02c10 16-0036': Failed to retrieve the sensor crop rectangle
[0:50:15.476541143] [14793] WARN CameraSensor camera_sensor_legacy.cpp:427 'ov02c10 16-0036': The sensor kernel driver needs to be fixed
[0:50:15.476543309] [14793] WARN CameraSensor camera_sensor_legacy.cpp:429 'ov02c10 16-0036': See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
[0:50:15.476707557] [14793] WARN CameraSensorProperties camera_sensor_properties.cpp:538 No static properties available for 'ov02c10'
[0:50:15.476717435] [14793] WARN CameraSensorProperties camera_sensor_properties.cpp:540 Please consider updating the camera sensor properties database
[0:50:15.476724374] [14793] WARN CameraSensor camera_sensor_legacy.cpp:502 'ov02c10 16-0036': No sensor delays found in static properties. Assuming unverified defaults.
[0:50:15.487914840] [14793] WARN IPAProxy ipa_proxy.cpp:192 Configuration file 'ov02c10.yaml' not found for IPA module 'simple', falling back to '/usr/share/libcamera/ipa/simple/uncalibrated.yaml'
[0:50:15.487977493] [14793] ERROR V4L2 v4l2_subdevice.cpp:1192 'ov02c10 16-0036': Unable to get rectangle 0 on pad 0/0: Inappropriate ioctl for device
[0:50:15.487989105] [14793] WARN CameraSensor camera_sensor_legacy.cpp:881 'ov02c10 16-0036': The analogue crop rectangle has been defaulted to the active area size
[0:50:15.488038334] [14793] WARN IPASoft soft_simple.cpp:104 IPASoft: Failed to create camera sensor helper for ov02c10
[0:50:15.488274053] [14793] INFO Camera camera_manager.cpp:223 Adding camera '\_SB_.LNK1' for pipeline handler simple
Available cameras:
1: Internal front camera (\_SB_.LNK1)However, when I try to use my camera in Firefox, despite the fact that I set "media.webrtc.camera.allow-pipewire" to true, instead of being able to select (and authorize) my camera, I am shown several "ipu7" entries, none of which work, even if I select to "remember this decision for all cameras". If I then try to get the raw output, I'm hit with:
qcam
[0:58:47.109971860] [15654] INFO Camera camera_manager.cpp:340 libcamera v0.7.0
[0:58:47.120657381] [15658] ERROR V4L2 v4l2_subdevice.cpp:1192 'ov02c10 16-0036': Unable to get rectangle 2 on pad 0/0: Inappropriate ioctl for device
[0:58:47.120706076] [15658] WARN CameraSensor camera_sensor_legacy.cpp:402 'ov02c10 16-0036': The PixelArraySize property has been defaulted to 1928x1092
[0:58:47.120713954] [15658] ERROR V4L2 v4l2_subdevice.cpp:1192 'ov02c10 16-0036': Unable to get rectangle 1 on pad 0/0: Inappropriate ioctl for device
[0:58:47.120717409] [15658] WARN CameraSensor camera_sensor_legacy.cpp:413 'ov02c10 16-0036': The PixelArrayActiveAreas property has been defaulted to (0, 0)/1928x1092
[0:58:47.120722887] [15658] ERROR V4L2 v4l2_subdevice.cpp:1192 'ov02c10 16-0036': Unable to get rectangle 0 on pad 0/0: Inappropriate ioctl for device
[0:58:47.120725455] [15658] WARN CameraSensor camera_sensor_legacy.cpp:421 'ov02c10 16-0036': Failed to retrieve the sensor crop rectangle
[0:58:47.120728299] [15658] WARN CameraSensor camera_sensor_legacy.cpp:427 'ov02c10 16-0036': The sensor kernel driver needs to be fixed
[0:58:47.120731081] [15658] WARN CameraSensor camera_sensor_legacy.cpp:429 'ov02c10 16-0036': See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
[0:58:47.120849931] [15658] WARN CameraSensorProperties camera_sensor_properties.cpp:538 No static properties available for 'ov02c10'
[0:58:47.120856199] [15658] WARN CameraSensorProperties camera_sensor_properties.cpp:540 Please consider updating the camera sensor properties database
[0:58:47.120861912] [15658] WARN CameraSensor camera_sensor_legacy.cpp:502 'ov02c10 16-0036': No sensor delays found in static properties. Assuming unverified defaults.
[0:58:47.132550843] [15658] WARN IPAProxy ipa_proxy.cpp:192 Configuration file 'ov02c10.yaml' not found for IPA module 'simple', falling back to '/usr/share/libcamera/ipa/simple/uncalibrated.yaml'
[0:58:47.132616344] [15658] ERROR V4L2 v4l2_subdevice.cpp:1192 'ov02c10 16-0036': Unable to get rectangle 0 on pad 0/0: Inappropriate ioctl for device
[0:58:47.132628777] [15658] WARN CameraSensor camera_sensor_legacy.cpp:881 'ov02c10 16-0036': The analogue crop rectangle has been defaulted to the active area size
[0:58:47.132664606] [15658] WARN IPASoft soft_simple.cpp:104 IPASoft: Failed to create camera sensor helper for ov02c10
[0:58:47.132895787] [15658] INFO Camera camera_manager.cpp:223 Adding camera '\_SB_.LNK1' for pipeline handler simple
[0:58:47.192541801] [15654] INFO Camera camera.cpp:1215 configuring streams: (0) 1920x1092-ABGR8888/sRGB
[0:58:47.192700049] [15658] INFO IPASoft soft_simple.cpp:258 IPASoft: Exposure 4-2320, gain 16-248 (1)
Zero-copy enabled
[0:58:47.198964453] [15658] ERROR V4L2 v4l2_videodevice.cpp:1323 /dev/video0[18:cap]: Unable to request 4 buffers: Device or resource busy
Failed to start captureI believe that this is because wireplumber refuses to release my camera, since even after closing Firefox, it is still listed as one of the processes making use of it:
lsof /dev/video0
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
firefox 6561 me mem CHR 81,0 754 /dev/video0
firefox 6561 me 72u CHR 81,0 0t0 754 /dev/video0
firefox 6561 me 116u CHR 81,0 0t0 754 /dev/video0
firefox 6561 me 132u CHR 81,0 0t0 754 /dev/video0
firefox 6561 me 167u CHR 81,0 0t0 754 /dev/video0
firefox 6561 me 181u CHR 81,0 0t0 754 /dev/video0
firefox 6561 me 184u CHR 81,0 0t0 754 /dev/video0
firefox 6561 me 191u CHR 81,0 0t0 754 /dev/video0
firefox 6561 me 198u CHR 81,0 0t0 754 /dev/video0
firefox 6561 me 214u CHR 81,0 0t0 754 /dev/video0
firefox 6561 me 232u CHR 81,0 0t0 754 /dev/video0
firefox 6561 me 236u CHR 81,0 0t0 754 /dev/video0
firefox 6561 me 238u CHR 81,0 0t0 754 /dev/video0
firefox 6561 me 242u CHR 81,0 0t0 754 /dev/video0
firefox 6561 me 243u CHR 81,0 0t0 754 /dev/video0
firefox 6561 me 246u CHR 81,0 0t0 754 /dev/video0
firefox 6561 me 247u CHR 81,0 0t0 754 /dev/video0
firefox 6561 me 248u CHR 81,0 0t0 754 /dev/video0
firefox 6561 me 249u CHR 81,0 0t0 754 /dev/video0
firefox 6561 me 250u CHR 81,0 0t0 754 /dev/video0
firefox 6561 me 253u CHR 81,0 0t0 754 /dev/video0
wireplumb 9538 me 27u CHR 81,0 0t0 754 /dev/video0Once I restart the service it usually allows me to see the raw output once again (however sometimes that isn't enough and I have to restart my whole session). Below I've included some information about my system (it may be worth pointing out that I'm using hyprland on this machine, so I have both xdg-desktop-portal 1.20.4-1 and xdg-desktop-portal-hyprland 1.3.11-4 installed), thanks in advance for any help regarding this issue.
Kernel version: 6.19.11-arch1-1
lsusb output:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 2ac1:20c9 SLS Lattice AI USB 2.0
Bus 003 Device 003: ID 27c6:633c Shenzhen Goodix Technology Co.,Ltd. Goodix Fingerprint USB Device
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hublscpi -nn output:
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:6400] (rev 04)
00:02.0 VGA compatible controller [0300]: Intel Corporation Lunar Lake [Intel Arc Graphics 130V / 140V] [8086:64a0] (rev 04)
00:04.0 Signal processing controller [1180]: Intel Corporation Lunar Lake-M Dynamic Tuning Technology [8086:641d] (rev 04)
00:05.0 Multimedia controller [0480]: Intel Corporation Lunar Lake IPU [8086:645d] (rev 04)
00:07.0 PCI bridge [0604]: Intel Corporation Lunar Lake-M Thunderbolt 4 PCI Express Root Port #0 [8086:a84e] (rev 10)
00:07.2 PCI bridge [0604]: Intel Corporation Lunar Lake-M Thunderbolt 4 PCI Express Root Port #2 [8086:a860] (rev 10)
00:0a.0 Signal processing controller [1180]: Intel Corporation Lunar Lake-M Crashlog and Telemetry [8086:647d] (rev 04)
00:0b.0 Processing accelerators [1200]: Intel Corporation Lunar Lake NPU [8086:643e] (rev 04)
00:0d.0 USB controller [0c03]: Intel Corporation Lunar Lake-M Thunderbolt 4 USB Controller [8086:a831] (rev 10)
00:0d.2 USB controller [0c03]: Intel Corporation Lunar Lake-M Thunderbolt 4 NHI #0 [8086:a833] (rev 10)
00:0d.3 USB controller [0c03]: Intel Corporation Lunar Lake-M Thunderbolt 4 NHI #1 [8086:a834] (rev 10)
00:12.0 Serial controller [0700]: Intel Corporation Lunar Lake-M Integrated Sensor Hub [8086:a845] (rev 10)
00:13.0 Communication controller [0780]: Intel Corporation Device [8086:a862] (rev 10)
00:14.0 USB controller [0c03]: Intel Corporation Lunar Lake-M USB 3.2 Gen 2x1 xHCI Host Controller [8086:a87d] (rev 10)
00:14.2 RAM memory [0500]: Intel Corporation Lunar Lake-M Shared SRAM [8086:a87f] (rev 10)
00:14.3 Network controller [0280]: Intel Corporation BE200 Series Wi-Fi 7 [8086:a840] (rev 10)
00:14.7 Bluetooth [0d11]: Intel Corporation Device [8086:a876] (rev 10)
00:15.0 Serial bus controller [0c80]: Intel Corporation Lunar Lake-M Serial IO I2C Controller #0 [8086:a878] (rev 10)
00:15.2 Serial bus controller [0c80]: Intel Corporation Lunar Lake-M Serial IO I2C Controller #2 [8086:a87a] (rev 10)
00:16.0 Communication controller [0780]: Intel Corporation Lunar Lake-M CSME HECI #1 [8086:a870] (rev 10)
00:1c.0 PCI bridge [0604]: Intel Corporation Lunar Lake-M PCI Express Root Port #5 [8086:a83c] (rev 10)
00:1e.0 Communication controller [0780]: Intel Corporation Lunar Lake-M Serial IO UART Controller #0 [8086:a825] (rev 10)
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:a807] (rev 10)
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Lunar Lake-M HD Audio Controller [8086:a828] (rev 10)
00:1f.4 SMBus [0c05]: Intel Corporation Lunar Lake-M SMbus Controller [8086:a822] (rev 10)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Lunar Lake-M SPI Controller [8086:a823] (rev 10)
71:00.0 Non-Volatile memory controller [0108]: ADATA Technology Co., Ltd. SM2P41D3 NVMe SSD (DRAM-less) [1cc1:41d3] (rev 03)wpctl status:
PipeWire 'pipewire-0' [1.6.3, me@xps, cookie:1784762439]
└─ Clients:
32. WirePlumber [1.6.3, me@xps, pid:9538]
33. pipewire [1.6.3, me@xps, pid:9539]
34. Firefox [1.6.3, me@xps, pid:6561]
40. WirePlumber [export] [1.6.3, me@xps, pid:9538]
108. wpctl [1.6.3, me@xps, pid:18368]
Audio
├─ Devices:
│ 49. Lunar Lake-M HD Audio Controller [alsa]
│
├─ Sinks:
│ 56. Lunar Lake-M HD Audio Controller HDMI / DisplayPort 3 Output [vol: 1.00]
│ 57. Lunar Lake-M HD Audio Controller HDMI / DisplayPort 2 Output [vol: 1.00]
│ 58. Lunar Lake-M HD Audio Controller HDMI / DisplayPort 1 Output [vol: 1.00]
│ * 59. Lunar Lake-M HD Audio Controller Speaker [vol: 0.60]
│
├─ Sources:
│ * 60. Lunar Lake-M HD Audio Controller SoundWire microphones [vol: 1.00]
│
├─ Filters:
│
└─ Streams:
Video
├─ Devices:
│ 35. ipu7 [v4l2]
│ 44. ipu7 [v4l2]
│ 45. ipu7 [v4l2]
│ 46. ipu7 [v4l2]
│ 47. ipu7 [v4l2]
│ 48. ov02c10 [libcamera]
│ 61. ipu7 [v4l2]
│ 62. ipu7 [v4l2]
│ 63. ipu7 [v4l2]
│ 64. ipu7 [v4l2]
│ 65. ipu7 [v4l2]
│ 66. ipu7 [v4l2]
│ 67. ipu7 [v4l2]
│ 68. ipu7 [v4l2]
│ 69. ipu7 [v4l2]
│ 70. ipu7 [v4l2]
│ 71. ipu7 [v4l2]
│ 72. ipu7 [v4l2]
│ 73. ipu7 [v4l2]
│ 74. ipu7 [v4l2]
│ 75. ipu7 [v4l2]
│ 76. ipu7 [v4l2]
│ 77. ipu7 [v4l2]
│ 78. ipu7 [v4l2]
│ 79. ipu7 [v4l2]
│ 80. ipu7 [v4l2]
│ 81. ipu7 [v4l2]
│ 82. ipu7 [v4l2]
│ 83. ipu7 [v4l2]
│ 84. ipu7 [v4l2]
│ 85. ipu7 [v4l2]
│ 86. ipu7 [v4l2]
│ 87. ipu7 [v4l2]
│
├─ Sinks:
│
├─ Sources:
│ * 106. Built-in Front Camera
│
├─ Filters:
│
└─ Streams:
Settings
└─ Default Configured Devices:
1. Audio/Source alsa_input.pci-0000_00_1f.3-platform-sof_sdw.HiFi__Mic__sourceOffline