One more machine with the same chain, and two things not yet in this
thread.

Dell Pro 14 Premium PA14250 (Lunar Lake, IPU7 8086:645d), OV08X40 behind the 
SVP7500 CVS bridge, Ubuntu 26.04.1,
7.0.0-43-generic, libcamera 0.7.0-1ubuntu2. Same as comment #17 and the XPS 14 
comment: the sensor offers
3856x2176 and 1928x1088 (SGRBG10), the binned mode delivers corrupt frames 
behind the CVS bridge, and skipping
ov08x40 modes <= 1928 px wide in SimpleCameraData::tryPipeline() makes 640x480, 
1280x720 and 1920x1080 work
(~29 fps, scaled from the full mode).

New here:
1. With the binned mode skipped, libcamera 0.7.0 still aborted in about 1 of 12 
starts, with a different
   assertion: std::array<double,1024> in DebayerCpu::updateGammaTable(). Cause: 
SoftwareIsp::process() hands
   debayerParams_ to the debayer before the IPA's first setIspParams, and in 
0.7.0 DebayerParams has no default
   values, so the first frame can get a garbage black level. Upstream master 
default-initialises DebayerParams;
   initialising debayerParams_ in the SoftwareIsp constructor fixed it here (0 
failures in 48 runs vs 2 in 24).
2. The libcamera camera node lives in the pipewire daemon, not only in 
WirePlumber, so a private libcamera has
   to be given to both pipewire.service and wireplumber.service (systemd user 
drop-ins), otherwise PipeWire keeps
   using the system copy. Also, WirePlumber can start before logind grants the 
/dev/media0 ACL; libcamera then
   skips the camera for the whole session. Adding the user to the video group 
avoids that.
3. Alternative that avoids the binned mode entirely: Intel's IPU7 userspace 
(ipu7-camera-hal 30ad691a0,
   ipu7-camera-bins 0525cdfb5, icamerasrc 7517af78f; its Lunar Lake ov08x40 
config only uses 3856x2176 and
   scales in the hardware ISP) with Canonical's signed 
linux-modules-ipu7-generic (intel_ipu7_psys) and
   v4l2-relayd works on this machine, Secure Boot on.

Patches and scripts: 
https://gist.github.com/VasuHansalia/14a958056d9da983f68cae94febc4958
+1 for carrying Pierre Pinon's "media: i2c: ov08x40: Do not expose the broken 
1928x1088 binned mode" in the
Ubuntu kernel.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2172303

Title:
  ov08x40: 1928x1088 binned mode delivers ~3.7 fps on 2-lane Dell Pro
  Max 16 Premium (IPU6 + CVS) – webcam unusable at <=1080p

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2172303/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to