Repository navigation
Description
Description
On the MSI Claw 8 EX AI+ (Panther Lake, RT721 SDCA on SoundWire link 3, default SoundWire machine driver with function topologies), speaker playback is clean after boot, but after resuming from s2idle it either:
- stutters: PipeWire's speaker sink counts ~4 underruns per second (226 → 247 in ~5 s) and the PCM is re-triggered about once per second, or
- stalls: the PCM stays RUNNING but
hw_ptrstops advancing; no sound at all.
Only a reboot restores clean playback. Reproducible on resume with kernel 7.3.3 (Bazzite stable and testing images); I also remember it on 7.2.15 but didn't capture logs there.
Steps to reproduce
- Boot, play audio on the built-in speaker: clean.
- Suspend (s2idle, default), resume after anything from 30 s to hours.
- Play audio on the speaker: stutter, or no sound at all.
What I tried
| Attempt | Result |
|---|---|
| Restart PipeWire / WirePlumber (user services) | still stutters |
Close and reopen the PCM (pactl suspend-sink <speaker> 1, then 0) |
a stalled stream starts again, but stutters (~3–4 underruns/s) |
PipeWire api.alsa.headroom = 1024 on the card's sinks |
no change |
Unbind/bind 0000:00:1f.3 from sof-audio-pci-intel-ptl |
card comes back, but without the speaker and DMIC: components cfg-amp:1 iec61937-pcm:7,6,5 hs:rt721 instead of … hs:rt721 spk:rt721 mic:rt721; UCM offers only Headphones/HDMI. Reboot needed |
mem_sleep=deep (S3) |
no resume at all on this firmware (hangs before any kernel log line); not an option |
Logs
Stalled case, PipeWire at resume:
pipewire: spa.alsa: hw:sofsoundwire,2p: snd_pcm_start: File descriptor in bad state
pipewire: spa.alsa: hw:sofsoundwire,2p: (0 suppressed) snd_pcm_avail after recover: Streams pipe error
/proc/asound/card0/pcm2p/sub0/status, sampled 2 s apart (no progress):
state: RUNNING trigger_time: 122.360676419 tstamp: 122.388073791 hw_ptr: 784
state: RUNNING trigger_time: 122.360676419 tstamp: 122.388073791 hw_ptr: 784
Stuttering case, sampled 1 s apart (re-triggered every second; position rate itself is correct):
trigger_time: 904.350043622 tstamp: 904.410455791 delay: 2316 avail: 30624 hw_ptr: 3360
trigger_time: 905.274964867 tstamp: 905.413510405 delay: 1294 avail: 31680 hw_ptr: 7488
trigger_time: 906.219927666 tstamp: 906.416127494 delay: 1349 avail: 31584 hw_ptr: 10464
hw_params: S32_LE, 2 ch, 48000 Hz, period_size 1024, buffer_size 32768, MMAP_INTERLEAVED.
No SOF/SoundWire errors in dmesg at suspend or resume.
Probe (boot):
acpi device:32: SDCA function UAJ (type 6) at 0x1
acpi device:33: SDCA function SmartMic (type 3) at 0x2
acpi device:34: SDCA function SmartAmp (type 1) at 0x4
sof-audio-pci-intel-ptl 0000:00:1f.3: No SoundWire machine driver found for the ACPI-reported configuration:
sof-audio-pci-intel-ptl 0000:00:1f.3: link 3 mfg_id 0x025d part_id 0x0721 version 0x3
sof-audio-pci-intel-ptl 0000:00:1f.3: Use SoundWire default machine driver with function topologies
sof-audio-pci-intel-ptl 0000:00:1f.3: Booted firmware version: 2.15.0.1
loading topology 0: intel/sof-ipc4-tplg/sof-sdca-jack-id0.tplg
loading topology 1: intel/sof-ipc4-tplg/sof-sdca-1amp-id2.tplg
loading topology 2: intel/sof-ipc4-tplg/sof-sdca-mic-id4.tplg
loading topology 3: intel/sof-ipc4-tplg/sof-hdmi-pcm5-id5.tplg
Topology: ABI 3:29:1 Kernel ABI 3:23:1
Happy to run alsa-info.sh, sof-logger, or test patches / debug kernel parameters.
Environment
- MSI Claw 8 EX AI+ (MS-1T91), Intel Panther Lake (audio DSP at PCI
0000:00:1f.3), BIOS E1T91IMS.10D (2026-09-07) - Codec: Realtek RT721 SDCA (
sdw:0:3:025d:0721:01), speaker via the RT721 SmartAmp function - Kernel 7.3.3-ogc1.1.fc45 (Bazzite 45.20261112 stable and testing-45.20261112.2); likely also 7.2.15 (not logged)
- alsa-sof-firmware 2026.09.2, SOF FW 2.15.0.1, IPC4, function topologies
- alsa-lib / alsa-ucm 1.2.16.1, PipeWire 1.6.11, WirePlumber 0.5.18
Activity