focal linux-firmware package omits amdgpu/navi12 firmware

Bug #1958467 reported by Henry Goffin
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-firmware (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Fix Released
Undecided
Juerg Haefliger
Impish
Won't Fix
Undecided
Unassigned
Jammy
Invalid
Undecided
Unassigned

Bug Description

[Impact]

The 20.04 LTS linux-firmware package list was cut before the amdgpu/navi12* firmware files were upstreamed to the Linux kernel repository, which is unfortunate because this hardware is older than some other included firmware (navi14*), and the firmware is required for using the AMDGPU kernel module on AWS EC2 cloud instances with AMD GPUs.

The files are included in 21.04 and 21.10, but to date they have not been included in the LTS hardware-enablement releases for 20.04. It would be helpful to include the navi12 firmware files for the next LTS+HWE release, since 22.04 isn't due out for a while.

Without this firmware it is difficult to get AWS EC2 G4ad instances working with Ubuntu, as customers need to manually download and install the firmware from a reputable source and put it into the appropriate directory, which is not the experience they expect on hardware that is over a year old with the most recent HWE release.

[Test Case]

See above.

[Fix]

Backport amdgpu/nav12* from linux-firmware Jammy.

[Where Problems Could Occur]

Graphics problems, kernel crashes on machines with AMD GPU.

[Notes]

This is required for the HWE kernel so not updating linux-firmware in Impish.

Juerg Haefliger (juergh)
Changed in linux-firmware (Ubuntu):
status: New → Invalid
Changed in linux-firmware (Ubuntu Focal):
status: New → Triaged
assignee: nobody → Juerg Haefliger (juergh)
tags: added: kern-2008
Juerg Haefliger (juergh)
description: updated
Changed in linux-firmware (Ubuntu Impish):
status: New → Won't Fix
description: updated
Juerg Haefliger (juergh)
Changed in linux-firmware (Ubuntu Focal):
status: Triaged → Fix Committed
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Henry, or anyone else affected,

Accepted linux-firmware into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware/1.187.27 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-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. 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.

Revision history for this message
Henry Goffin (amzn-hgoffin) wrote :

This is working well! Amazon EC2 instances with AMD graphics are able to initialize properly now, after installing the latest "linux-firmware" and "linux-modules-extra-aws" packages from proposed.

ubuntu@ip-172-31-38-36:~$ sudo dmesg | grep "Initialized amdgpu"
[ 4.908132] [drm] Initialized amdgpu 3.41.0 20150101 for 0000:00:1e.0 on minor 0

ubuntu@ip-172-31-38-36:~$ sudo vainfo | grep NAVI12
vainfo: Driver version: Mesa Gallium driver 21.2.6 for AMD NAVI12 (DRM 3.41.0, 5.13.0-1014-aws, LLVM 12.0.0)

tags: added: verification-done-focal
Revision history for this message
Robie Basak (racb) wrote :

Can you confirm the package version that was used with proposed enabled please? We've had serious regressions in the past because the version released accidentally did not match the version tested, so I want to make sure that the version I release is the version you tested.

Note that this is specified in the request for verification in comment 1, and I've also pointed it out in the past: https://lists.ubuntu.com/archives/ubuntu-devel/2017-March/039745.html

Revision history for this message
Henry Goffin (amzn-hgoffin) wrote :

My apologies for not including the specific version in my comment - I tested linux-firmware package 1.187.27 from the focal proposed repository.

ubuntu@ip-172-31-38-36:~$ apt list | grep linux-firmware/
linux-firmware/focal-proposed,now 1.187.27 all [installed]

Revision history for this message
Timo Aaltonen (tjaalton) 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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware - 1.187.27

---------------
linux-firmware (1.187.27) focal; urgency=medium

  * Include the QCA WCN 6856 v2.1 support (LP: #1954938)
    - QCA: Update Bluetooth WCN685x firmware to 2.1.0-00298
    - QCA: Update Bluetooth WCN685x 2.1 firmware to 2.1.0-00324
    - SAUCE: WCN6855 hw2.0: add board-2.bin
    - SAUCE: WCN6855: add symbolic link for hw2.1
  * focal linux-firmware package omits amdgpu/navi12 firmware (LP: #1958467)
    - amdgpu: add navi12 firmware from 20.30
    - amdgpu: update navi12 firmware for 20.40
    - amdgpu: update navi12 firmware for 20.45
    - amdgpu: update navi12 firmware for 20.50
    - amdgpu: update navi12 firmware from 21.10
    - amdgpu: update navi12 firmware from 21.20
    - amdgpu: update vcn firmware for navi12 for 21.20
    - amdgpu: update navi12 firmware from 21.30
    - amdgpu: update navi12 firmware from 21.40

 -- Juerg Haefliger <email address hidden> Fri, 18 Feb 2022 15:45:56 +0100

Changed in linux-firmware (Ubuntu Focal):
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

Related questions

Remote bug watches

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