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

Bug #2061747 reported by You-Sheng Yang
36
This bug affects 5 people
Affects Status Importance Assigned to Milestone
ipu6-drivers (Ubuntu)
Fix Released
High
You-Sheng Yang
Noble
Fix Committed
High
You-Sheng Yang
ivsc-driver (Ubuntu)
Invalid
Undecided
Unassigned
Noble
Invalid
Undecided
Unassigned
linux (Ubuntu)
In Progress
High
You-Sheng Yang
Noble
Fix Committed
High
You-Sheng Yang
linux-meta (Ubuntu)
In Progress
High
You-Sheng Yang
Noble
Fix Committed
High
You-Sheng Yang
linux-meta-oem-6.8 (Ubuntu)
Invalid
High
You-Sheng Yang
Noble
In Progress
High
You-Sheng Yang
linux-oem-6.8 (Ubuntu)
Invalid
High
You-Sheng Yang
Noble
In Progress
High
You-Sheng Yang

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.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :
Changed in linux-oem-6.8 (Ubuntu Noble):
status: New → Fix Released
You-Sheng Yang (vicamo)
description: updated
You-Sheng Yang (vicamo)
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Changed in linux (Ubuntu Noble):
status: New → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Changed in linux-oem-6.8 (Ubuntu Noble):
status: Fix Released → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Changed in ivsc-driver (Ubuntu Noble):
status: New → Invalid
Revision history for this message
You-Sheng Yang (vicamo) wrote :

No further update to ivsc-driver shall be necessary as we're removing it.

Changed in ipu6-drivers (Ubuntu Noble):
status: New → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Revision history for this message
You-Sheng Yang (vicamo) wrote :

PPA: https://launchpad.net/~vicamo/+archive/ubuntu/ppa-2061747

Proposed DKMS update for ipu6-drivers/noble based on new upstream release Release_20240409.

Need sponsor.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "ipu6-drivers_0~git202404110253.97c94720-0ubuntu1~ppa.1.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
description: updated
You-Sheng Yang (vicamo)
Changed in linux-meta-oem-6.8 (Ubuntu Noble):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → Triaged
Changed in linux-meta (Ubuntu Noble):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → Triaged
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello You-Sheng, or anyone else affected,

Accepted ipu6-drivers into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ipu6-drivers/0~git202404110253.97c94720-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in ipu6-drivers (Ubuntu Noble):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-noble
Revision history for this message
Martin D. Weinberg (martin-weinberg-5) wrote (last edit ):

I did the followings steps:
- Added the noble-proposed repo
- Installed the driver(s) using: `sudo apt install intel-ipu6-dkms/noble-proposed`
- Confirmed that the correct package was installed:
```
$ apt policy intel-ipu6-dkms
intel-ipu6-dkms:
  Installed: 0~git202404110253.97c94720-0ubuntu1
  Candidate: 0~git202404110253.97c94720-0ubuntu1
  Version table:
 *** 0~git202404110253.97c94720-0ubuntu1 100
        100 http://us.archive.ubuntu.com/ubuntu noble-proposed/universe amd64 Packages
        100 /var/lib/dpkg/status
     0~git202311240921.07f0612e-0ubuntu2 500
        500 http://us.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
```
- Rebooted

I see no evidence that a ipu6 device was detected. E.g. nothing in kern.log from intel-ipu6 after the new driver package installed. Perhaps I've missed something important here? LMK if there's another test I can perform.

tags: added: verification-failed-noble
removed: verification-needed-noble
Revision history for this message
Anthony Wong (anthonywong) wrote :

This fix also requires kernel patches in this series: https://lists.ubuntu.com/archives/kernel-team/2024-April/150378.html

Revision history for this message
Martin D. Weinberg (martin-weinberg-5) wrote :

Thanks, I tried the NVidia kernel 6.8.0-1005.5+1 from noble-proposed; still no detection. Could be that this predates that patch series? Not sure.

Revision history for this message
You-Sheng Yang (vicamo) wrote :
Changed in linux-meta (Ubuntu Noble):
status: Triaged → In Progress
Changed in linux-meta-oem-6.8 (Ubuntu Noble):
status: Triaged → In Progress
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Please don't fail the verification for things you're not sure.

tags: added: verification-done verification-done-noble
removed: verification-failed-noble verification-needed
description: updated
You-Sheng Yang (vicamo)
description: updated
Revision history for this message
Martin D. Weinberg (martin-weinberg-5) wrote (last edit ):

Sorry, just trying to help by providing reports and trying to follow the rules. I posted the results of my test because the post above asked for testers. Obviously, I'm not helping. I'll refrain from posting moving forward. I'm happy to test but I'll wait for someone to ask.

Changed in linux (Ubuntu Noble):
status: In Progress → Fix Committed
Changed in linux-meta (Ubuntu Noble):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ipu6-drivers - 0~git202404110253.97c94720-0ubuntu1

---------------
ipu6-drivers (0~git202404110253.97c94720-0ubuntu1) noble; urgency=medium

  [ You-Sheng Yang ]
  * New upstream Release_20240409 release (LP: #2061747)
    - drop upstreamed "backport: replace strlcpy with strscpy" patch
    - debian: refresh patches
    - UBUNTU: SAUCE: firmware: fallback to old firmware path
    - UBUNTU: SAUCE: don't fail probing at hwcfg checks

 -- You-Sheng Yang <email address hidden> Thu, 11 Apr 2024 18:38:46 +0800

Changed in ipu6-drivers (Ubuntu):
status: Fix Committed → Fix Released
Timo Aaltonen (tjaalton)
Changed in linux-oem-6.8 (Ubuntu):
status: In Progress → Invalid
Changed in linux-meta-oem-6.8 (Ubuntu):
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.