HDMI audio no longer working on Pi4 after 5.13.0-1011

Bug #1957198 reported by Bill (franksmcb)
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux-raspi (Ubuntu)
Confirmed
Undecided
Unassigned
Impish
Fix Released
Medium
Juerg Haefliger

Bug Description

[ Impact ]

Confirming reports made in the UbuntuMATE forums.

HDMI audio no longer shows as available on kernels beginning with 5.13.0-1011

After reverting to kernel 5.13.0-1008 HDMI audio is available.

Pi4 4GB

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: linux-image-5.13.0-1008-raspi 5.13.0-1008.9
ProcVersionSignature: Ubuntu 5.13.0-1008.9-raspi 5.13.14
Uname: Linux 5.13.0-1008-raspi aarch64
ApportVersion: 2.20.11-0ubuntu71
Architecture: arm64
CasperMD5CheckResult: unknown
CurrentDesktop: MATE
Date: Wed Jan 12 10:56:22 2022
ImageMediaBuild: 20201028
ProcEnviron:
 LANGUAGE=en_US
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: linux-raspi
UpgradeStatus: Upgraded to impish on 2021-09-26 (107 days ago)

[ Test Case ]

Boot Ubuntu MATE *or* Ubuntu Desktop with fkms enabled (instead of kms).

$ cat $ cat /proc/asound/cards
 0 [Headphones ]: bcm2835_headpho - bcm2835 Headphones
                      bcm2835 Headphones

Correct output should be:
$ cat /proc/asound/cards
 0 [b1 ]: bcm2835_hdmi - bcm2835 HDMI 1
                      bcm2835 HDMI 1
 1 [Headphones ]: bcm2835_headpho - bcm2835 Headphones
                      bcm2835 Headphones

[ Fix ]

Cherry pick missing commit ("ARM: dts: bcm2835_audio missing firmware reference") from raspberrypi linux.

[ Where Problems Could Occur ]

It's a change to the audio portion of the bcm270x DTB so problems will likely be audio related, like no output device at all.

CVE References

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-raspi (Ubuntu):
status: New → Confirmed
Juerg Haefliger (juergh)
tags: added: kern-1917
Revision history for this message
Juerg Haefliger (juergh) wrote (last edit ):

Works fine with the official Ubuntu 21.10 Desktop image and kernel 5.13.0-1013-raspi. The HDMI audio output shows up as 'Digital Output (S/PDIF) - Built-in Audio' and is functional.

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

The combination of fkms and 1013 kernel seems to be problematic. Works fine on MATE with kms. Note that kms is the default now, not fkms.

Revision history for this message
Bill (franksmcb) (franksmcb) wrote :

Thanks Juerg. Can confirm that switching to kms has HDMI audio working.

Juerg Haefliger (juergh)
Changed in linux-raspi (Ubuntu Impish):
status: New → In Progress
assignee: nobody → Juerg Haefliger (juergh)
Juerg Haefliger (juergh)
description: updated
Stefan Bader (smb)
Changed in linux-raspi (Ubuntu Impish):
importance: Undecided → Medium
Juerg Haefliger (juergh)
Changed in linux-raspi (Ubuntu Impish):
status: In Progress → Fix Committed
Revision history for this message
Rafael Ricci (rahfah) wrote :

Sorry, I clicked by mistake.

Changed in linux-raspi (Ubuntu Impish):
status: Fix Committed → Fix Released
Juerg Haefliger (juergh)
Changed in linux-raspi (Ubuntu Impish):
status: Fix Released → Fix Committed
Revision history for this message
chest069 (chest069) wrote :

Just installed Ubuntu 21.10 64bit on Raspberry Pi 4 had no sound. Had to go back to the previous kernel that gave sound through HDMI.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-raspi/5.13.0-1016.18 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-impish' to 'verification-done-impish'. If the problem still exists, change the tag 'verification-needed-impish' to 'verification-failed-impish'.

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: verification-needed-impish
Revision history for this message
Bill (franksmcb) (franksmcb) wrote :

Updated to kernel in proposed.

Sound now works as expected using fkms.

tags: added: verification-done-impish
removed: verification-needed-impish
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (75.1 KiB)

This bug was fixed in the package linux-raspi - 5.13.0-1016.18

---------------
linux-raspi (5.13.0-1016.18) impish; urgency=medium

  * impish/linux-raspi: 5.13.0-1016.18 -proposed tracker (LP: #1955194)

  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- update from kernel-versions (main/2022.01.03)

  * HDMI audio no longer working on Pi4 after 5.13.0-1011 (LP: #1957198)
    - ARM: dts: bcm2835_audio missing firmware reference

  * Boot time from snap in 20/stable increases boot time on 3.5 seconds
    (LP: #1948807)
    - [Config] raspi: Set BLK_DEV_LOOP_MIN_COUNT=8

  * Missing overlays/README (LP: #1954757)
    - SAUCE: Install overlays/README

  [ Ubuntu: 5.13.0-28.31 ]

  * amd_sfh: Null pointer dereference on early device init causes early panic
    and fails to boot (LP: #1956519)
    - HID: amd_sfh: Fix potential NULL pointer dereference
  * impish: ddebs build take too long and times out (LP: #1957810)
    - [Packaging] enforce xz compression for ddebs
  * audio mute/ mic mute are not working on a HP machine (LP: #1955691)
    - ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook
  * rtw88_8821ce causes freeze (LP: #1927808)
    - rtw88: Disable PCIe ASPM while doing NAPI poll on 8821CE
  * alsa/sdw: fix the audio sdw codec parsing logic in the acpi table
    (LP: #1955686)
    - ALSA: hda: intel-sdw-acpi: harden detection of controller
    - ALSA: hda: intel-sdw-acpi: go through HDAS ACPI at max depth of 2
  * icmp_redirect from selftests fails on F/kvm (unary operator expected)
    (LP: #1938964)
    - selftests: icmp_redirect: pass xfail=0 to log_test()
  * Impish update: upstream stable patchset 2021-12-17 (LP: #1955180)
    - arm64: zynqmp: Do not duplicate flash partition label property
    - arm64: zynqmp: Fix serial compatible string
    - ARM: dts: sunxi: Fix OPPs node name
    - arm64: dts: allwinner: h5: Fix GPU thermal zone node name
    - arm64: dts: allwinner: a100: Fix thermal zone node name
    - staging: wfx: ensure IRQ is ready before enabling it
    - ARM: dts: NSP: Fix mpcore, mmc node names
    - scsi: lpfc: Fix list_add() corruption in lpfc_drain_txq()
    - arm64: dts: rockchip: Disable CDN DP on Pinebook Pro
    - arm64: dts: hisilicon: fix arm,sp805 compatible string
    - RDMA/bnxt_re: Check if the vlan is valid before reporting
    - bus: ti-sysc: Add quirk handling for reinit on context lost
    - bus: ti-sysc: Use context lost quirk for otg
    - usb: musb: tusb6010: check return value after calling
      platform_get_resource()
    - usb: typec: tipd: Remove WARN_ON in tps6598x_block_read
    - ARM: dts: ux500: Skomer regulator fixes
    - staging: rtl8723bs: remove possible deadlock when disconnect (v2)
    - ARM: BCM53016: Specify switch ports for Meraki MR32
    - arm64: dts: qcom: msm8998: Fix CPU/L2 idle state latency and residency
    - arm64: dts: qcom: ipq6018: Fix qcom,controlled-remotely property
    - arm64: dts: freescale: fix arm,sp805 compatible string
    - ASoC: SOF: Intel: hda-dai: fix potential locking issue
    - clk: imx: imx6ul: Move csi_sel mux to correct base register
    - ASoC: nau8824: Add DMI quirk mechanism for active-high jack-detect
    - scsi: adva...

Changed in linux-raspi (Ubuntu Impish):
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.