HDMI audio fails after awake from sleep
System details
Thinkpad carbon x1 16gb core i7
What's wrong?
This is a paste from AI about the issue.. but the basic problem is that after you wake the system up from a sleep hdmi audio no longer works, it seems to possibly be an issue with the new kernel that was updated..
Title: Intel Kabylake HDMI (i915/HDA) audio lost after S3 resume — ELD never re-read; only reboot recovers. Regression between kernel 7.1.9 and 7.2.3
Hardware: Lenovo ThinkPad X1 Carbon 5th gen (Omarchy/Arch Linux); HDA controller 8086:9d71 @ 00:1f.3; HDMI codec 8086:8086280b (Intel Kabylake HDMI) tied to 0000:02.0 (i915); monitor: Sceptre O34 on native HDMI-A-1.
Software:
- Kernel 7.1.9.arch1-2 -> working (9-day uptime, repeated suspend/resume, HDMI audio fine)
- Kernel 7.2.3.arch1-3 -> broken (current)
- wireplumber 0.5.15 -> 0.5.17 (symptom reproduces without this change; bug is kernel/ALSA side)
- pipewire 1.6.8
Summary: After S3 suspend/resume, HDMI audio goes silent and stays silent until a reboot. The HDA HDMI codec reports "no monitor" even though the GPU still sees the display.
Evidence (captured while broken):
- /sys/class/drm/card1-HDMI-A-1/status = connected
- /sys/class/drm/card1-HDMI-A-1/enabled = enabled
- /sys/class/drm/card1-HDMI-A-1/dpms = On
- /sys/class/drm/card1-HDMI-A-1/edid = present (256 bytes)
- Hyprland: HDMI-A-1 active, not disabled
- amixer -c PCH cget name='HDMI/DP,pcm=3 Jack' = values=off (also pcm=7, pcm=8)
- /proc/asound/PCH/eld#2.0 .. eld#2.8 = monitor_present 0, eld_valid 0 (all)
- dmesg on HDA re-init: "snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops intel_audio_component_bind_ops [i915])"
- Draining PCM still shows the sink (pro-audio), but no audio transport.
Attempted, all FAIL to restore ELD (short of reboot):
- PCI remove + rescan of 0000:00:1f.3 (codec re-binds i915; monitor_present still 0)
- pactl set-card-profile alsa_card.pci-0000_00_1f.3 off -> pro-audio (codec runtime resume; still 0)
- Display off/on re-set (disable + re-enable HDMI-A-1 via compositor CRTC re-set; still 0)
Only a reboot re-reads the ELD ("Sceptre O34") and restores HDMI audio.
Likely upstream match: [PATCH] ALSA: hda: Force resume if acomp notified during system suspend (2026-06-26) -- "if an HDMI cable is connected while the system is suspended, the HDMI audio jack status stays off after resume ... jack state not being synced by the HDA HDMI codec device's runtime resume". Adds codec->acomp_requested_resume. Symptom here matches exactly.
Thanks for the detailed capture. I looked at this from Omarchy's side and at the upstream patch you named.
What it looks like: a kernel-side problem, not something Omarchy's own code does. The HDMI codec's ELD (monitor_present 0, eld_valid 0) is lost while DRM still reports the connector as connected with a valid EDID, and nothing in Omarchy touches the HDA codec or ELD around suspend. The system-sleep hooks (default/systemd/system-sleep/) handle FUSE mounts, fprintd, keyboard backlight and NVIDIA GPU switching. The only module option Omarchy sets is USB autosuspend. The audio scripts only change routing and volume.
The patch you found is in mainline as c0933934d5d9 ("ALSA: hda: Force resume if acomp notified during system suspend"). It first appears in v7.3-rc1. It is not in 7.2, and it carries no Fixes: tag or stable Cc, so 7.2.x stable releases are unlikely to pick it up on their own. It is a plausible match, but not a confirmed one. It fixes the case where the ELD notification from i915 arrives while the codec is still suspended and is then never re-synced. On your machine, forcing a codec runtime resume and re-enabling the display both failed to bring the ELD back, and that weakens the match. Only a kernel carrying the patch on your hardware can settle it.
Not reproduced: Omarchy's test workers are virtual machines with no i915 HDMI audio codec, so this was diagnosed from source and your capture, not reproduced. I did not bisect between 7.1.9 and 7.2.3, and nothing in the 7.2 HDA or i915 audio changes stands out as the cause.
Related: #13388 has the same symptom (ELD monitor_present=0 after S3, video still up) on an X1 Carbon Gen 10 over USB-C DisplayPort with linux-omarchy 7.2.5. There, turning that output's DPMS off and on again brought the audio back, but your display off/on did not. They are linked here, not treated as one bug.
Useful from you: the output of omarchy-version and uname -r. Your report names the stock Arch linux 7.2.3 kernel, but current Omarchy installs linux-omarchy. Please also say whether this still happens after suspend on linux-omarchy.
What happens next: whether to carry c0933934 in linux-omarchy is the maintainer's call. A kernel with that patch, tested over repeated suspend cycles on this machine, is what would confirm the cause.
Reviewed by Claude Opus 5.5, with a second opinion from Codex Medium. Codex agreed that nothing in Omarchy causes this, that the patch is plausible but not established, and that this is related to #13388 but not a duplicate of it. Codex read the same evidence after this reasoning was written, so its agreement is not fully independent.
Adding a reproducer with the same user-visible symptom (HDMI/DP audio dies after resume) but a different root cause from the ELD-loss cases described above.
System
Dell Precision 7680, Intel Raptor Lake HDA 00:1f.3 (Realtek ALC289, plain snd_hda_intel, no SOF/UCM), monitor X2483/2481 connected via DisplayPort to the Intel iGPU (i915). Omarchy 4.5.0-3, kernel 7.2.15-1-omarchy, PipeWire 1.6.9, WirePlumber 0.5.18.
What happens after suspend/resume
All audio is silent. Unlike the cases above, the display link and ELD are fine:
/proc/asound/card0/eld#2.25:
monitor_present 1
eld_valid 1
monitor_name X2483/2481
connection_type DisplayPort
DRM still reports the connector connected and the display active. Every PipeWire sink is present, unmuted, at a normal volume, and paplay succeeds against any of them (the sink enters RUNNING, no errors in the journal).
The actual state change is in the ALSA digital-output switch:
$ amixer -c PCH sget 'IEC958',0
Simple mixer control 'IEC958',0
Mono: Playback [off] <- was [on] before suspend
Nothing turns it back on after resume. Since the default output was the monitor, applications played into a muted digital output, which presents as "no sound from any source". Bluetooth headphones also disconnected in the same session, which made the symptom more confusing, but that is separate.
So this is not the monitor_present=0 / ELD-not-re-read problem diagnosed above — here the codec still knows about the monitor; only the IEC958 playback switch is reset.
Expected
The digital output state should survive suspend/resume (or Omarchy's resume path should restore it), so the monitor keeps producing sound.
Workaround (verified over a real suspend/resume cycle)
A user-level service listens for logind's PrepareForSleep(false) signal over D-Bus and re-enables the switch, waiting for the card to come back and holding it on while WirePlumber settles:
gdbus monitor --system --dest org.freedesktop.login1 --object-path /org/freedesktop/login1 |
while read -r line; do
case "$line" in
*PrepareForSleep*false*)
for i in $(seq 1 20); do amixer -c PCH sset 'IEC958',0 on && break; sleep 1; done
;;
esac
done
After a real suspend/resume cycle IEC958 is [on] again and the monitor audio works. This is a per-user workaround, not a fix.
Related: #8789 documents why this machine needs a separate PipeWire sink for the monitor in the first place. That sink is still present after resume; only the ALSA switch is wrong.
@licencode Your capture shows a different failure state from the original report: monitor_present=1 and eld_valid=1, with the IEC958 playback switch off, rather than the monitor disappearing from the codec. Your successful workaround identifies a recovery on that machine, but does not yet identify what resets the switch.
I checked the sleep hooks, sleep monitor and audio commands on quattro at b80f75e3e84922784c1e279f33fb7b0cccede1d1; I found no code that sets IEC958. Your comment on #8789 also mentions a custom PipeWire node for hw:CARD=PCH,DEV=3. Does the switch still turn off after suspend when using the card’s normal HDMI profile, with that custom node and the unmute service temporarily disabled? Please share the custom node configuration and service unit, and these outputs before suspend and after resume while playback is running, before applying the workaround:
amixer -c PCH sget 'IEC958',0
aplay -l
wpctl status
pactl list cards
pactl list sinks
Please also include the kernel and user audio-service journal entries around that suspend/resume cycle. That comparison would help distinguish the custom output path from a driver or session-manager restore problem; none is established yet. The original ThinkPad report still awaits its reporter’s version/kernel details from the earlier comment.
Reviewed from source and the supplied captures by GPT-6 High in Codex only; no second opinion was requested for this information request. I did not reproduce either hardware failure: the test VMs do not provide the affected physical i915/HDA display-audio path. This remains open pending those diagnostics.
Most recent updates have seemed to solve the problem. Great work. Thanks