REQUEST add meson vdec firmware to arm64 linux-firmware package

Bug #1986743 reported by Da Xue
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-firmware (Ubuntu)
Fix Released
Undecided
Juerg Haefliger
Jammy
Fix Released
Undecided
Juerg Haefliger
Kinetic
Fix Released
Undecided
Juerg Haefliger

Bug Description

[Impact]

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
22.04.1 LTS

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
20220329.git681281e40ubuntu3.4

3) What you expected to happen
Linux Firmware would include meson vdec blobs
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/meson/vdec

4) What happened instead
Linux Firmware does not include meson vdec blobs

[Test case]

Load meson-vdec driver on HW that supports it and watch firmware load failure.

[Fix]

Include firmware blobs.

[Where Problems Could Occur]

This only affects very specific HW. And the blobs have shipped in older series but were dropped incorrectly in Jammy.

Revision history for this message
Juerg Haefliger (juergh) wrote :

These firmware blobs are excluded from the package because current kernels don't reference them. What kernel are you running and what HW do you have that needs it?

Please run 'apport-bug 1986743' on the affected machine.

Revision history for this message
Juerg Haefliger (juergh) wrote :

Oh it's a staging driver that wants it.

Revision history for this message
Juerg Haefliger (juergh) wrote :

The upstream driver is broken in that it doesn't use the MODULE_FIRMWARE macro.

Changed in linux-firmware (Ubuntu Jammy):
status: New → Confirmed
Changed in linux-firmware (Ubuntu Kinetic):
status: New → Confirmed
description: updated
Revision history for this message
Da Xue (da-t) wrote :

Thanks for the note. I will send a patch upstream to fix the MODULE_FIRMWARE situation.

Juerg Haefliger (juergh)
tags: added: kern-4194
Revision history for this message
Juerg Haefliger (juergh) wrote :

https://<email address hidden>/

Changed in linux-firmware (Ubuntu Kinetic):
status: Confirmed → In Progress
Changed in linux-firmware (Ubuntu Jammy):
status: Confirmed → In Progress
assignee: nobody → Juerg Haefliger (juergh)
Changed in linux-firmware (Ubuntu Kinetic):
assignee: nobody → Juerg Haefliger (juergh)
Juerg Haefliger (juergh)
Changed in linux-firmware (Ubuntu Kinetic):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware - 20220819.git8413c63c-0ubuntu2

---------------
linux-firmware (20220819.git8413c63c-0ubuntu2) kinetic; urgency=medium

  * Miscellaneous Ubuntu changes
    - [Packaging] debian/control: Fix Breaks line

 -- Juerg Haefliger <email address hidden> Sat, 20 Aug 2022 14:13:38 +0200

Changed in linux-firmware (Ubuntu Kinetic):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Da, or anyone else affected,

Accepted linux-firmware into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware/20220329.git681281e4-0ubuntu3.5 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-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. 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 linux-firmware (Ubuntu Jammy):
status: In Progress → Fix Committed
Revision history for this message
Da Xue (da-t) wrote :

Hi Timo,

Tested linux-firmware (20220329.git681281e4-0ubuntu3.5) and looks good!

Thanks a lot Juerg and Timo.

Revision history for this message
Da Xue (da-t) wrote :

I'm not sure how to change the tag but this is some tests against the binaries using V4L2 M2M.

ls /lib/firmware/meson/vdec/ -al
total 320
drwxr-xr-x 1 root root 406 Sep 3 14:20 .
drwxr-xr-x 1 root root 8 Aug 23 18:36 ..
-rw-r--r-- 1 root root 36864 Aug 31 11:11 g12a_h264.bin
-rw-r--r-- 1 root root 16384 Aug 31 11:11 g12a_hevc_mmu.bin
-rw-r--r-- 1 root root 16384 Aug 31 11:11 g12a_vp9.bin
-rw-r--r-- 1 root root 36864 Aug 31 11:11 gxbb_h264.bin
-rw-r--r-- 1 root root 16384 Aug 31 11:11 gxl_h263.bin
-rw-r--r-- 1 root root 36864 Aug 31 11:11 gxl_h264.bin
-rw-r--r-- 1 root root 16384 Aug 31 11:11 gxl_hevc.bin
-rw-r--r-- 1 root root 16384 Aug 31 11:11 gxl_hevc_mmu.bin
-rw-r--r-- 1 root root 16384 Aug 31 11:11 gxl_mjpeg.bin
-rw-r--r-- 1 root root 16384 Aug 31 11:11 gxl_mpeg12.bin
-rw-r--r-- 1 root root 16384 Aug 31 11:11 gxl_mpeg4_5.bin
-rw-r--r-- 1 root root 16384 Aug 31 11:11 gxl_vp9.bin
-rw-r--r-- 1 root root 36864 Aug 31 11:11 gxm_h264.bin
-rw-r--r-- 1 root root 16384 Aug 31 11:11 sm1_hevc_mmu.bin
-rw-r--r-- 1 root root 16384 Aug 31 11:11 sm1_vp9_mmu.bin

gst123 --verbose vp9_fhd.webm

Playing file:///root/ltt/asset/vp9_fhd.webm

gstreamer pipeline contains: GstPlayBin ( GstPlaySink ( GstStreamSynchronizer GstBin ( GstVideoConvert GstDeinterlace ) GstBin ( GstGLImageSinkBin ( GstGLUploadElement GstGLColorConvertElement GstGLColorBalance GstGLImageSink ) GstQueue GstPlaySinkVideoConvert ( GstIdentity GstVideoConvert GstVideoScale ) ) ) GstURIDecodeBin ( GstFileSrc GstDecodeBin ( GstTypeFindElement GstMatroskaDemux GstMultiQueue GstVp9Parse GstCapsFilter v4l2vp9dec ) ) GstInputSelector )

gst123 --verbose TheaterSquare_1920x1080.mp4

Playing file:///root/ltt/asset/TheaterSquare_1920x1080.mp4

gstreamer pipeline contains: GstPlayBin ( GstPlaySink ( GstStreamSynchronizer GstBin ( GstVideoConvert GstDeinterlace ) GstBin ( GstGLImageSinkBin ( GstGLUploadElement GstGLColorConvertElement GstGLColorBalance GstGLImageSink ) GstQueue GstPlaySinkVideoConvert ( GstIdentity GstVideoConvert GstVideoScale ) ) ) GstURIDecodeBin ( GstFileSrc GstDecodeBin ( GstTypeFindElement GstQTDemux GstMultiQueue GstH264Parse GstCapsFilter v4l2h264dec ) ) GstInputSelector )
Time: 0:00:00.29 of 0:00:09.99 | Bitrate: 15461.3 kbit/sec

tags: added: verification-done-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware - 20220329.git681281e4-0ubuntu3.5

---------------
linux-firmware (20220329.git681281e4-0ubuntu3.5) jammy; urgency=medium

  * REQUEST add meson vdec firmware to arm64 linux-firmware package (LP: #1986743)
    - [Packaging] Include meson/vdec firmware
  * Update firmware for DCN316/GFX1037 (LP: #1983291)
    - amdgpu: update gc_10_3_7_rlc firmware
    - amdgpu: update psp_13_0_8 firmware
    - amdgpu: update dcn_3_1_6_dmcub firmware
    - amdgpu: update DMCUB firmware for DCN 3.1.6
  * Linux Firmware drops AMD RX6650 XT Performance (LP: #1984004)
    - amdgpu: update dimgrey cavefish firmware for 22.10
    - amdgpu: update dimgrey cavefish to release 22.20

 -- Juerg Haefliger <email address hidden> Wed, 31 Aug 2022 13:11:53 +0200

Changed in linux-firmware (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for linux-firmware has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.