[Bug 2061747] Re: obsolete out-of-tree ivsc dkms in favor of in-tree one

Martin D. Weinberg 2061747 at bugs.launchpad.net
Mon May 6 21:55:58 UTC 2024


Thank you for all of this work.  I am not sure that I should be changing
the tags based on previous experience, but here is my test report.

For testing, I updated to the linux/6.8.0-32.32 generic kernel in noble-
proposed.  It seemed that I needed to reinstall the intel-ipu6-dkms
after installing the kernel packages.

Overall, this is a huge improvement.  The kernel detects the camera
sensor and loads the ipu6 drivers.  About half the time, the sensor is
detected correctly and registered.  Then, applications like vlc, zoom,
gUM test in the browser all work reliably.  Successful kernel messages
look like (in part):

2024-05-06T17:26:42.688374-04:00 raven kernel: intel-ipu6-isys intel-ipu6-isys0: bind ov2740 3-0036 nlanes is 2 port is 1
2024-05-06T17:26:42.688378-04:00 raven kernel: intel-ipu6-isys intel-ipu6-isys0: All sensor registration completed.

And during operation:

2024-05-06T17:39:24.330879-04:00 raven kernel: intel-ipu6-isys intel-
ipu6-isys0: stream on ov2740 3-0036

The other half of the time, there is a problem detecting the sensor and
loading the module.  When that happens, kernel messages are:

2024-05-06T17:11:53.825968-04:00 raven kernel: ov2740 i2c-INT3474:01: error -EIO: failed to find sensor
2024-05-06T17:11:53.825968-04:00 raven kernel: ov2740: probe of i2c-INT3474:01 failed with error -5

When this happens, reboot once or twice gets it back to the working
state.

One time I noticed a seemingly correct boot, but when I tried to use the
camera, it failed and I saw the following in the log:

2024-05-06T17:20:21.587753-04:00 raven kernel: intel-ipu6-isys intel-ipu6-isys0: stream on ov2740 3-0036
2024-05-06T17:20:21.730058-04:00 raven kernel: intel-ipu6-isys intel-ipu6-isys0: csi2-1 error: Payload checksum (CRC) error
2024-05-06T17:20:21.906327-04:00 raven kernel: intel-ipu6-isys intel-ipu6-isys0: csi2-1 error: Payload checksum (CRC) error
2024-05-06T17:20:21.906343-04:00 raven kernel: intel-ipu6-isys intel-ipu6-isys0: csi2-1 error: Transfer FIFO overflow
2024-05-06T17:20:21.906354-04:00 raven kernel: intel-ipu6-isys intel-ipu6-isys0: csi2-1 error: Frame sync error

No configuration or kernel packages were added or removed during these
tests.  Same kernel from noble-proposed:

$ uname -a
Linux raven 6.8.0-32-generic #32-Ubuntu SMP PREEMPT_DYNAMIC Wed May  1 15:30:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

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

Title:
  obsolete out-of-tree ivsc dkms in favor of in-tree one

Status in ipu6-drivers package in Ubuntu:
  Fix Released
Status in ivsc-driver package in Ubuntu:
  Invalid
Status in linux package in Ubuntu:
  In Progress
Status in linux-meta package in Ubuntu:
  In Progress
Status in linux-meta-oem-6.8 package in Ubuntu:
  Invalid
Status in linux-oem-6.8 package in Ubuntu:
  Invalid
Status in ipu6-drivers source package in Noble:
  Fix Committed
Status in ivsc-driver source package in Noble:
  Invalid
Status in linux source package in Noble:
  Fix Committed
Status in linux-meta source package in Noble:
  Fix Committed
Status in linux-meta-oem-6.8 source package in Noble:
  In Progress
Status in linux-oem-6.8 source package in Noble:
  In Progress

Bug description:
  [SRU Justification]

  BugLink: https://bugs.launchpad.net/bugs/2061747

  ========== linux-meta, linux-meta-unstable, linux-meta-oem-6.8
  ==========

  [Impact]

  Starting from kernel v6.8, Intel demands the use of in-tree VSC driver
  instead of the out-of-tree dkms originated from
  https://github.com/intel/ivsc-driver.

  [Fix]

  The main fixes are in kernel & dkms packages. This adds ivsc-modules to
  Provides list of linux-image-generic as other built-in linux-modules-foo
  packages do.

  [Test Case]

  The generated meta package linux-image-generic should then provides
  "ivsc-modules".

  [Where problems could occur]

  Meta package changes only. No real effect but in package dependency.

  [Other Info]

  While the ivsc-dkms obsoletion only happens for kernel >= 6.8, this will
  only be nominated for Unstable/Noble/OEM-6.8.

  ========== ipu6-drivers, linux, linux-oem-6.8 ==========

  [Impact]

  Starting from kernel v6.8, Intel demands the use of in-tree VSC driver
  instead of the out-of-tree dkms originated from
  https://github.com/intel/ivsc-driver.

  [Fix]

  The in-tree vsc driver as of v6.8 still needs a few fixes to achieve
  the same support level to launch Intel IPU6 Camera devices. Commit
  1,3, and 4 are to add supported devices and platforms. Commit 2
  resolves an issue after resumed.

  [Test Case]

  This is supposed to work together with the updated dkms, which shall
  also be built along with the kernel itself as linux-modules-
  ipu6-<variant>. Install the corresponding kernel/modules packages and
  test camera functions.

  [Where problems could occur]

  While this is the first time we switch to in-tree VSC driver, and the
  out-of-tree driver is not aligned at the time of transition and
  probably never will, the provided functions and verified stability
  issues may vary.

  [Other Info]

  The dkms is created to be compatible of multiple kernel versions, yet
  the in-tree vsc driver transitioning should only happen for kernel >=
  v6.8. That is, oem-6.8, noble and linux-unstable will be nominated.

  ========== original bug description ==========

  Starting from kernel v6.8 (yet from the code diff it's v6.6), Intel
  demands the use of in-tree IVSC drivers instead of out-of-tree dkms
  from https://github.com/intel/ivsc-driver.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipu6-drivers/+bug/2061747/+subscriptions




More information about the Ubuntu-sponsors mailing list