Support AMD Image Signal Processing (ISP) unit V4.0

Bug #2110092 reported by You-Sheng Yang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Status tracked in Questing
Noble
Won't Fix
Undecided
Unassigned
Plucky
Confirmed
Undecided
Unassigned
Questing
Confirmed
Undecided
Unassigned
linux-oem-6.11 (Ubuntu)
Status tracked in Questing
Noble
Fix Released
High
You-Sheng Yang
Plucky
Invalid
Undecided
Unassigned
Questing
Invalid
Undecided
Unassigned
linux-oem-6.14 (Ubuntu)
Status tracked in Questing
Noble
Fix Released
High
You-Sheng Yang
Plucky
Invalid
Undecided
Unassigned
Questing
Invalid
Undecided
Unassigned

Bug Description

[SRU Justification]

[Impact]

Miss AMD MIPI camera 4.0 support.

[Fix]

* kernel: https://github.com/amd/Linux_ISP_Kernel/tree/4.0 based on v6.14-rc2.
* libcamera: https://github.com/amd/Linux_ISP_libcamera/tree/3.0 based on upstream v0.4.0.
  - this depends on bug 2092060

[Test Case]

1. install kernel from -proposed channel with camera module installed,

2. upgrade libcamera, pipewire, install libcamera-tools from prebuilt PPA https://launchpad.net/~vicamo/+archive/ubuntu/ppa-testfield

3. Test camera availability:
```
$ sudo cam -l
[0:00:16.776607397] [3034] INFO Camera camera_manager.cpp:327 libcamera v0.4.0
[0:00:16.778052318] [3039] WARN AmdIsp4 isp4.cpp:706 Env var LIBCAMERA_AMD_CONFIG_FILE not found
[0:00:16.778059201] [3039] WARN AmdIsp4 isp4.cpp:708 Using default config file 'config-default.yaml'
[0:00:16.778347069] [3039] INFO AmdIsp4 isp4.cpp:396 sensor id: 'ov05c_mipi0'
[0:00:16.778487742] [3039] WARN AmdIsp4 isp4.cpp:706 Env var LIBCAMERA_AMD_CONFIG_FILE not found
[0:00:16.778492591] [3039] WARN AmdIsp4 isp4.cpp:708 Using default config file 'config-default.yaml'
Available cameras:
1: (ov05c_mipi0)
```

4. Start camera streaming to check if it actually works:
```
$ gst-launch-1.0 libcamerasrc ! \
    video/x-raw,format=YUY2,width=1280,height=720,framerate=30/1 ! \
    videoconvert ! \
    autovideosink
```

[Where problems could occur]

This kernel driver revision is isolated from other components, and therefore should not project additional risk to amdgpu itself. It's still under development but sufficient for early platform enablement, and it is being upstreamed and is expecting to complete at v6.16.

[Other Info]

Nominate only for oem platform enablement. For Plucky or later, the current plan is to take the upstreamed revision instead if AMD can catch the mainline inclusion train. Otherwise, we may still have to fallback to this beta revision.

---
ProblemType: Bug
ApportVersion: 2.28.1-0ubuntu3.5
Architecture: amd64
CasperMD5CheckMismatches: ./casper/initrd ./casper/vmlinuz ./casper/minimal.standard.live.hotfix.manifest ./casper/minimal.standard.live.hotfix.size ./casper/minimal.standard.live.size ./casper/minimal.manifest ./casper/minimal.standard.manifest ./casper/minimal.standard.size ./casper/minimal.hotfix.size ./casper/minimal.standard.live.hotfix.squashfs ./casper/minimal.standard.hotfix.squashfs ./casper/minimal.standard.hotfix.size ./casper/minimal.standard.hotfix.manifest ./casper/minimal.hotfix.squashfs ./casper/minimal.standard.live.manifest ./casper/minimal.size ./boot/grub/grub.cfg
CasperMD5CheckResult: fail
DistributionChannelDescriptor:
 # This is the distribution channel descriptor for Ubuntu 24.04 for HP
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-stella-noble-oem-24.04b-proposed-20250213-104
DistroRelease: Ubuntu 24.04
InstallationDate: Installed on 2025-02-13 (83 days ago)
InstallationMedia: Ubuntu OEM 24.04.1 LTS "Noble Numbat" - Release amd64 (20250212)
MachineType: HP HP ZBook Ultra G1a 14 inch Mobile Workstation PC
Package: linux (not installed)
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.14.0-9003-oem root=UUID=a052a9a2-b1d5-43be-b651-32591ec6419b ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 6.14.0-9003.3+exp.3-oem 6.14.0
RelatedPackageVersions:
 linux-restricted-modules-6.14.0-9003-oem N/A
 linux-backports-modules-6.14.0-9003-oem N/A
 linux-firmware 20240318.git3b128b60-0ubuntu2.11
Tags: noble
Uname: Linux 6.14.0-9003-oem x86_64
UnreportableReason: This report is about a package that is not installed.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: False
dmi.bios.date: 02/07/2025
dmi.bios.release: 1.2
dmi.bios.vendor: HP
dmi.bios.version: X89 Ver. 01.01.02
dmi.board.name: 8D01
dmi.board.vendor: HP
dmi.board.version: KBC Version 35.26.00
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.ec.firmware.release: 53.38
dmi.modalias: dmi:bvnHP:bvrX89Ver.01.01.02:bd02/07/2025:br1.2:efr53.38:svnHP:pnHPZBookUltraG1a14inchMobileWorkstationPC:pvrSBKPF,SBKPFV2:rvnHP:rn8D01:rvrKBCVersion35.26.00:cvnHP:ct10:cvr:sku1234567#ABA:
dmi.product.family: 103C_5336AN HP ZBook
dmi.product.name: HP ZBook Ultra G1a 14 inch Mobile Workstation PC
dmi.product.sku: 1234567#ABA
dmi.product.version: SBKPF,SBKPFV2
dmi.sys.vendor: HP

You-Sheng Yang (vicamo)
tags: added: originate-from-2067667
Revision history for this message
You-Sheng Yang (vicamo) wrote (last edit ):
Changed in linux (Ubuntu):
status: New → Confirmed
Changed in linux (Ubuntu Noble):
status: New → Won't Fix
Changed in linux (Ubuntu Plucky):
status: New → Confirmed
Changed in linux-oem-6.11 (Ubuntu Noble):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → Triaged
Changed in linux-oem-6.11 (Ubuntu Plucky):
status: New → Invalid
Changed in linux-oem-6.11 (Ubuntu Questing):
status: New → Invalid
Changed in linux-oem-6.14 (Ubuntu Noble):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → Triaged
Changed in linux-oem-6.14 (Ubuntu Plucky):
status: New → Invalid
Changed in linux-oem-6.14 (Ubuntu Questing):
status: New → Invalid
Revision history for this message
You-Sheng Yang (vicamo) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected noble
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote : AudioDevicesInUse.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : CRDA.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : CurrentDmesg.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : IwConfig.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lspci.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lspci-vt.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lsusb.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lsusb-t.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lsusb-v.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcEnviron.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcInterrupts.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcModules.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : RfKill.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : UdevDb.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : WifiSyslog.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : acpidump.txt

apport information

You-Sheng Yang (vicamo)
description: updated
You-Sheng Yang (vicamo)
description: updated
description: updated
You-Sheng Yang (vicamo)
Changed in linux-oem-6.11 (Ubuntu Noble):
status: Triaged → In Progress
Changed in linux-oem-6.14 (Ubuntu Noble):
status: Triaged → In Progress
AceLan Kao (acelankao)
Changed in linux-oem-6.11 (Ubuntu Noble):
status: In Progress → Fix Committed
AceLan Kao (acelankao)
Changed in linux-oem-6.14 (Ubuntu Noble):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-6.11/6.11.0-1023.23 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-noble-linux-oem-6.11' to 'verification-done-noble-linux-oem-6.11'. If the problem still exists, change the tag 'verification-needed-noble-linux-oem-6.11' to 'verification-failed-noble-linux-oem-6.11'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-noble-linux-oem-6.11-v2 verification-needed-noble-linux-oem-6.11
AceLan Kao (acelankao)
tags: added: verification-done-noble-linux-oem-6.11
removed: verification-needed-noble-linux-oem-6.11
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-6.14/6.14.0-1004.4 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-noble-linux-oem-6.14' to 'verification-done-noble-linux-oem-6.14'. If the problem still exists, change the tag 'verification-needed-noble-linux-oem-6.14' to 'verification-failed-noble-linux-oem-6.14'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-noble-linux-oem-6.14-v2 verification-needed-noble-linux-oem-6.14
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-oem-6.11 - 6.11.0-1023.23

---------------
linux-oem-6.11 (6.11.0-1023.23) noble; urgency=medium

  * noble/linux-oem-6.11: 6.11.0-1023.23 -proposed tracker (LP: #2111230)

  * ACPICA: Add support for printing AML arguments when trace point enabled
    (LP: #2111220)
    - ACPICA: Add support for printing AML arguments when trace point enabled

  * When the speaker volume is adjusted above 80%, noise occurs from the
    speakers with cs42l43. (LP: #2110950)
    - ASoC: intel/sdw_utils: Add volume limit to cs42l43 speakers

  * Support Sony IMX471 camera sensor for Intel IPU7 platforms (LP: #2107320)
    - SAUCE: media: ipu-bridge: Support imx471 sensor
    - [Packaging] debian.oem/dkms-versions -- bump ipu6-drivers version

  * Mediatek MT7920 WLAN card does not respect Wireless Radio Control in BIOS
    (LP: #2109314)
    - wifi: mt76: mt7921: add rfkill_poll for hardware rfkill

  * The system with VMD enabled may encounter hang (LP: #2110178)
    - SAUCE: PCI: vmd: Fix use-after-free bug in resource name assignment

  * Fix divide by zero errors in DML2 (LP: #2106923)
    - drm/amd/display: Protect FPU in dml2_init()/dml21_init()
    - drm/amd/display: Protect FPU in dml2_validate()/dml21_validate()
    - drm/amd/display: Protect FPU in dml21_copy()

  * Not all monitors connected on the dock display correctly when the system
    resumes from restart or suspend on AMD platform (LP: #2110095)
    - drm/amd/display: use drm_warn instead of DRM_WARN
    - drm/amd/display: Shift DMUB AUX reply command if necessary
    - drm/amd/display: Fix the checking condition in dmub aux handling
    - drm/amd/display: Remove incorrect checking in dmub aux handler
    - drm/amd/display: Copy AUX read reply data whenever length > 0
    - drm/amd/display: Fix wrong handling for AUX_DEFER case

  * Support AMD Image Signal Processing (ISP) unit V4.0 (LP: #2110092)
    - Revert "UBUNTU: [Config] Enable AMD_ISP4"
    - Revert "UBUNTU: SAUCE: ispkernel 3.0 release"
    - drm/amdgpu: Add MFD support for ISP I2C bus
    - drm/amd/amdgpu: Add support for isp buffers
    - SAUCE: ispkernel: 4.0 release
    - SAUCE: fix amd-isp4 build failures
    - [Config] Enable AMD_ISP4

  * System will restart while resuming with SATA HDD or nvme installed with
    password set (LP: #2110090)
    - PCI: Explicitly put devices into D0 when initializing

  * Privacy LED may not be turned on on OEM Renegade platform with Intel IPU7
    camera (LP: #2106807)
    - [Packaging] debian.oem/dkms-versions -- bump vision-drivers version

  * Fix volume control no effect on HP EliteStudio AIO (LP: #2109539)
    - ALSA: hda: Apply volume control on speaker+lineout for HP EliteStudio AIO

  * Fix Mic Mute LED no function on HP G12 laptops with ACP7.0 platform
    (LP: #2108954)
    - ASoC: amd: acp: Remove redundant acp70 chip->name
    - ASoC: amd: acp: Implement acp_common_hw_ops support for acp platforms
    - ASoC: amd: acp: Refactor dmic-codec platform device creation

 -- Chia-Lin Kao (AceLan) <email address hidden> Mon, 19 May 2025 14:27:43 +0800

Changed in linux-oem-6.11 (Ubuntu Noble):
status: Fix Committed → Fix Released
Revision history for this message
You-Sheng Yang (vicamo) wrote :

For kernels >= v6.13-rc2, it takes also fixes from bug 2112462 to be able to boot from AMD Strix Halo CRB, the only platform I have that equips AMD ISP camera module.

Verified linux-oem-6.14 version 6.14.0-1004.4 along with above fixes, as well as libcamera, pipewire from https://launchpad.net/~vicamo/+archive/ubuntu/ppa-testfield, on AMD Strix Halo CRB.

tags: added: verification-done-noble-linux-oem-6.14
removed: verification-needed-noble-linux-oem-6.14
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-oem-6.14 - 6.14.0-1004.4

---------------
linux-oem-6.14 (6.14.0-1004.4) noble; urgency=medium

  * noble/linux-oem-6.14: 6.14.0-1004.4 -proposed tracker (LP: #2111243)

  * ACPICA: Add support for printing AML arguments when trace point enabled
    (LP: #2111220)
    - ACPICA: Add support for printing AML arguments when trace point enabled

  * Support Sony IMX471 camera sensor for Intel IPU7 platforms (LP: #2107320)
    - SAUCE: media: ipu-bridge: Support imx471 sensor
    - [Packaging] debian.oem/dkms-versions -- bump ipu6-drivers version

  * Support AMD Image Signal Processing (ISP) unit V4.0 (LP: #2110092)
    - SAUCE: ispkernel: 4.0 release
    - [Config] Enable AMD_ISP4

  * Privacy LED may not be turned on on OEM Renegade platform with Intel IPU7
    camera (LP: #2106807)
    - [Packaging] debian.oem/dkms-versions -- bump vision-drivers version

 -- Chia-Lin Kao (AceLan) <email address hidden> Wed, 21 May 2025 07:54:35 +0800

Changed in linux-oem-6.14 (Ubuntu Noble):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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