I can confirm that this also affects Ubuntu 24.04 Noble's linux-hwe-7.0
kernel, via Linux Mint 22.1.

Hardware:
- Huawei MateBook 14 2024
- Intel Core Ultra 5 125H (Meteor Lake)
- Audio: sof-hda-dsp / sof-audio-pci-intel-mtl
- Two external ASUS monitors connected via HDMI/DisplayPort

Distribution:
- Linux Mint 22.1 (Ubuntu 24.04 base)
- PipeWire 1.0.5

Tested kernels:
- 7.0.0-30-generic
- 7.0.0-31-generic

The failure has occurred with both kernels.

I confirmed that the failure happens immediately after resume from system
suspend. The system is using s2idle:

    $ cat /sys/power/mem_sleep
    [s2idle] deep

At the failing resume:

    09:54:22 kernel: PM: suspend exit
    09:54:22 systemd-sleep: System returned from sleep operation 'suspend'

Immediately afterwards:

    sof-audio-pci-intel-mtl 0000:00:1f.3:
    sof_pcm_prepare: pcm0 (HDA Analog), dir 0:
    failed to set hw_params after resume

The kernel also reports:

    DSP panic!
    error: DSP Firmware Oops
    error: Exception Cause: AllocaCause
    IPC timeout
    IMR restore failed, trying to cold boot
    timeout waiting for purge IPC done
    Boot iteration failed: 3/3
    error code: 0x2328
    dsp init failed after 3 attempts with err: -110
    Failed to start DSP

After this, playback and capture both stop working, including:
- internal speakers
- internal digital microphone
- HDMI/DisplayPort audio

ALSA still enumerates the devices and PipeWire/WirePlumber remain
running, but PipeWire receives ALSA timeouts. Restarting PipeWire,
WirePlumber or ALSA does not recover the DSP. A reboot restores audio.

One difference from the reproduction described in this issue is that I
have not yet confirmed that an active stream was using the internal
analog path at the exact moment of suspend. External HDMI/DP displays
were connected.


I reported my case upstream in thesofproject/sof#10955.
Peter Ujfalusi (contributor) confirmed that linux-stable did not pick commit 
0c0e418dbcf0582bf80d8dbfd9b306607c065992 for 7.0.y because 7.0 is non-LTS, and 
suggested that Ubuntu should pick the patch for its 7.0 kernel.

This therefore also appears to require the backport in Noble's linux-
hwe-7.0 package, not only the Ubuntu 26.04 kernel.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2165740

Title:
  No audio (SOF DSP fails to boot, -110) after suspend/resume with an
  external DisplayPort monitor — needs upstream fix 0c0e418dbcf0
  backported to the 7.0 kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-7.0/+bug/2165740/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to