Skip to content

Desktop RX 9070 XT: HDMI audio dropouts caused by PCIe riser running at Gen5 (fixed by forcing Gen4) #2818

Closed

Description

@Nelgrim

Tip

Resolved (2026-09-29): the audio dropouts were caused by a PCIe 4.0 riser cable running at PCIe 5.0, not by SteamOS. The GPU sits on the PCIe 4.0 riser that ships with the Fractal Ridge case, but the card and board negotiated Gen5 (32 GT/s) over it. Forcing the x16 slot to Gen4 in the BIOS stopped the dropouts: no audible cutoffs, no HDMI stream restarts and PipeWire ERR 0 over a ~40 min session. PCIe AER counters stayed at 0 even at Gen5, so they didn't reveal the problem. Measurements are in the comments. The separate hard-freeze problem is tracked in #2854.

Important

Corrections (2026-09-29): several conclusions below did not hold up under further testing. The original report is left as written, with the affected passages marked.

  1. There was no constant drain; it was a measurement artifact. Sampling delay once per second aliases against PipeWire's quantum-sized writes: the loop really runs every ~1.03 s, which produces a steady sawtooth. Comparing the slopes of hw_ptr and appl_ptr over 30 s windows shows no drain (±30 frames/s, no trend) on 3.8.16 or 3.8.28.
  2. "No kernel message" is no longer true on 3.8.28 (kernel 6.18). The kernel logs snd_hda_intel 0000:03:00.1: stream 0 dma error: 0x28 (HDA stream FIFO error) while HDMI audio plays. They continue at Gen4 with no audible effect. The 6.16 snd-hda-core has no such message.
  3. The loopback sink with resample.disable no longer exists on 3.8.28 and wasn't the cause.
  4. Separate, still open: random green screens / game freezes followed by a hard system hang also happen at Gen4 and at factory GPU settings. Telemetry was normal right up to the hang and the kernel logged nothing, which points to a hardware/platform problem in this machine and not to SteamOS audio. Now tracked separately in Desktop RX 9070 XT: random green screen / GPU lost from bus → system reset on SteamOS 3.8 (kernels 6.16/6.18); fixed on 3.9.2 Preview (kernel 7.2) #2854.

Your system information

  • Steam client version: 1788652215
  • SteamOS version: 3.8.16 (BUILD_ID 20260716.1)
  • Opted into Steam client beta?: No (default channel; client reports steamdeck_stable)
  • Opted into SteamOS beta?: No (stable branch)
  • Have you checked for updates in Settings > System?: Yes — steamos-update check reports no update available

Hardware (desktop, not a Steam Deck):

  • Motherboard: Gigabyte B850I AORUS PRO
  • CPU: AMD Ryzen 5 7500X3D (6C/12T)
  • GPU: AMD Navi 48 [Radeon RX 9070 XT] 1002:7550 rev c0, Sapphire 1da2:e491, PCI 03:00.0, amdgpu
  • [Added 2026-09-29] GPU mounted through the PCIe 4.0 riser cable included with the Fractal Ridge case. The link negotiated PCIe 5.0 (32 GT/s x16) over it, which turned out to be the cause of the dropouts. The x16 slot is now forced to Gen4 in the BIOS.
  • Kernel: 6.16.12-valve24.5-1-neptune-616-gb2f7cfe85e45
  • Mesa 25.3.0.213835 / vulkan-radeon 26.0.0_devel.214837.steamos
  • PipeWire 1.6.4, WirePlumber 0.5.14-1.4
  • Audio: HDMI to Samsung QN90D — HDA ATI HDMI Digital Stereo (HDMI 4), profile hdmi-stereo-extra3, 2ch/48000 Hz
  • Hardware profile matched: hardware-profiles/default (no Valve Deck profile applies)
  • GPU tuning: 280 W power limit via LACT, no undervolt (so the Overdrive flag is set)
    [Updated 2026-09-29] GPU at factory clocks, voltage and power: no clock offset, no voltage offset, power cap 304 W (the stock default), power_dpm_force_performance_level=auto, all checked live in pp_od_clk_voltage and hwmon. The only LACT customization left is a fan curve (zero-RPM enabled). Overdrive is still enabled in ppfeaturemask (0xfff7ffff), so the kernel still reports the Overdrive taint, but no Overdrive values are applied.

Please describe your issue in as much detail as possible:

Expected: HDMI audio plays continuously without dropouts.

Actual: Repeated audible dropouts that get worse the longer audio runs. Not specific to one title — it happens across most games (Gothic 1 Remake, Steam app 1297900, was used for measurements), and is also reproducible with speaker-test and browser video. Audio does not recover on its own; systemctl --user restart wireplumber clears it until the problem re-accumulates.

The measurement. Sampling /proc/asound/card0/pcm9p/sub0/status once per second during playback shows the ALSA buffer draining at a constant rate and refilling in a sawtooth. Each time it approaches empty, audio drops out.

Healthy (idle desktop, quantum 8192): delay ~10000–12000 frames (~220 ms buffered).

During gameplay at quantum 512 (the SteamOS default):

delay: 984 → 898 → 793 → 691 → 606 → 519 → [refill] → 926 → 832 → 746 ...

During gameplay at quantum 2048 (raised via user config):

delay: 1947 → 1803 → 1698 → 1591 → 1479 → 1376 → 1254 → 1151 → 1043 → [refill]

The drain rate is about 110 frames/second in both cases — roughly a 0.23% rate error against the 48000 Hz clock. Quadrupling the quantum quadrupled the cushion but did not change the drain rate, so the interval between dropouts scaled proportionally while the underlying behaviour stayed identical. That points at a rate mismatch rather than insufficient buffering.

[Correction 2026-09-29] Probably a sampling artifact, not a real drain. See update item 1 at the top.

Nothing in the stack reports an error. The stream stays state: RUNNING with no XRUN flag. pw-top shows ERR 0 on every node with WAIT 3.6us / BUSY 8.2us against a multi-millisecond period. No kernel message, no WirePlumber error, no node error state.

[Correction 2026-09-29] On kernel 6.18 (SteamOS 3.8.28) the HDA driver logs continuous stream 0 dma error: 0x28 FIFO errors. See update item 2.

Three configuration differences from Deck hardware look relevant:

  1. hardware-profiles/default sets default.clock.quantum = 512 (~10.7 ms), with the filter-chain instance additionally capped at max-quantum = 1024. Reasonable for a Deck; very little margin on this system.
  2. Every Valve profile (valve-jupiter, valve-galileo, valve-fremont) sets session.suspend-timeout-seconds to 3600 or 0. hardware-profiles/default sets no override, so the 5-second default from suspend-node.lua applies. (Worked around locally; did not fix the dropouts.)
  3. The loopback sink that all audio traverses carries resample.disable = "true". With resampling disabled there is no mechanism to correct the rate error above. This could not be overridden: monitor.alsa.rules does not match the loopback for this property (it does match for session.suspend-timeout-seconds), and pw-cli set-param returns an empty Props object, so it is not runtime-settable. [Correction 2026-09-29] This loopback no longer exists on 3.8.28 and the dropouts persist. See update item 3.

The monitorNodeError patch never engages. SteamOS patches scripts/monitors/alsa.lua (diff against the retained alsa.lua.orig) to set the device profile Off and restore it after one second when a node enters the error state. None of its log lines (Error received on ALSA node, Profile set to Off, Restored profile) ever appear — the node never enters an error state, so this recovery path does not detect this failure mode.

Also observed: ~/.local/share/Steam/logs/steamui_audio.txt shows the sink pair being removed and re-added repeatedly, with a short-lived sink in a separate ID range in between:

12:49:50  SinkRemoved: 236 / 237
12:49:50  SinkAdded: 1048893
12:49:51  SinkAdded: 332 / 333
12:49:51  SinkRemoved: 1048893

Repeats at 12:55:54 and 12:56:46. Caveat: several WirePlumber restarts were done manually while investigating and would produce identical entries, so not every occurrence is spontaneous. Included as an observation, not a conclusion.

Ruled out, with evidence:

  • GPU instability — an unstable undervolt was causing separate hard lockups; removing it eliminated the crashes entirely while the dropouts continued unchanged. No gpu reset, ring timeout, page fault or Oops in any kernel log. [Correction 2026-09-29] Not ruled out: hard freezes reproduce at factory GPU settings. See update item 4.
  • HDMI link / renegotiation — /proc/asound/card0/eld#* shows monitor_present 1, eld_valid 1, full SAD list for the QN90D. aplay -l shows the endpoint on device 9. No re-probe or reset near any failure.
  • Wrong endpoint — pcm9p/sub0/status confirms device 9 (the QN90D) is the one RUNNING during playback.
  • Kernel HDA power saving — snd_hda_intel power_save=0 and power_save_controller=N set at runtime; dropouts continued.
  • Realtime scheduling — ps -Lo shows data-loop.0 running RR at priority 20; rtkit grants priority at service start.
  • Configured sample rate mismatch — clock.rate, clock.allowed-rates and both context-properties files all agree on 48000.
  • Node idle suspend — session.suspend-timeout-seconds = 0 applied and verified on both sinks via wpctl inspect; dropouts continued.
  • CPU pressure / underrun — pw-top shows ERR 0 and microsecond processing times; no XRUN flag is ever set.
  • Front-panel HD Audio header — the onboard USB-attached codec sits at Active Profile: off with both output ports not available; it is not in the audio path. (It is the source of the unrelated [Mic2] Invalid JackControl index value log spam.)

Workarounds attempted:

Change | Result -- | -- default.clock.quantum = 2048 via ~/.config/pipewire/pipewire.conf.d/ | Partial — roughly doubles the time between dropouts, does not stop them Same for the filter-chain instance | No further change session.suspend-timeout-seconds = 0 on both sinks | Applied and verified; no effect resample.disable = false on the loopback | Not applicable from user config or at runtime; untested as a result wpctl set-default to the hardware sink, bypassing the loopback | Broke game launching and produced duplicate output devices in the Steam UI; reverted systemctl --user restart wireplumber | Reliable temporary recovery

Not tested: whether this reproduces on Steam Deck hardware; whether a non-HDMI output on this machine drifts the same way (no alternative output was available); whether enabling resampling on the loopback would correct the drift; whether the drift rate varies with GPU load specifically or only with elapsed playback time.

Related but distinct: #2627 is an HDMI handshake failure after idle/wake, AV-receiver-specific and not reproducible direct-to-TV. #946 is Deck-docked glitching resolved by disabling WiFi power management. #926 is a 2022 report on a long-superseded build. None describes a constant-rate drain on desktop hardware using the default profile.

Suggested direction: the measured rate error is small and constant, which is what adaptive resampling normally corrects — but the loopback node all audio traverses has resampling disabled and this cannot be changed from user configuration. If that is deliberate for Deck hardware it may be worth revisiting for the default profile, or making the property overridable. Separately, the default profile inherits neither the suspend-timeout overrides nor any quantum tuning suited to desktop hardware; 512 frames leaves very little margin on a system driving 4K output under gaming load.

[Correction 2026-09-29] Superseded: the cause was the PCIe riser running at Gen5, not resampling or quantum settings. See the notice at the top.

Steps for reproducing this issue:

  1. Install SteamOS on desktop hardware (so hardware-profiles/default is matched rather than a Valve Deck profile) with audio output over HDMI to a TV.
  2. Start any game — Gothic 1 Remake (app 1297900) was used here, but most titles reproduce it — and let audio play continuously for several minutes. Dropouts become noticeable within a few minutes and progressively worse.
  3. While audio is playing, sample the PCM status once per second and watch delay decay and refill in a sawtooth rather than holding steady:
   while true; do echo "--- $(date +%T)"; cat /proc/asound/card0/pcm9p/sub0/status; sleep 1; done

(Adjust pcm9p to whichever device is RUNNING — check with cat /proc/asound/card0/pcm*p/sub0/status.) 4. systemctl --user restart wireplumber restores normal audio until the drift re-accumulates.

Activity

  1. Skantate commented on Sep 20, 2026

    @Skantate

    I can confirm what appears to be the same issue on a Radeon RX 9060 XT 16 GB (Navi 48).

    Hardware:

    Ryzen 7 7800X3D
    Radeon RX 9060 XT 16 GB
    ASRock B650I Lightning WiFi
    HDMI output via an HDMI switch to an XGIMI projector

    Symptoms:

    Short HDMI audio dropouts occur repeatedly.
    The issue is much more frequent in Gaming Mode than in Desktop Mode.
    During the dropouts I could not see any corresponding PipeWire/WirePlumber XRUN or underrun errors in the journal.
    USB audio via a Sony Pulse 3D headset is completely stable.
    Other devices (PS5 / Fire TV) using the same HDMI switch, cable and projector do not show the issue.

    Tests:

    HDR disabled: no change
    1080p/60 Hz: no change
    DisplayPort → HDMI adapter instead of the GPU's native HDMI output: no change
    SteamOS 3.8 Stable: affected
    SteamOS 3.9.1 Preview / Linux 7.2: still affected

    I reverted to Stable after testing 3.9.1.

    The fact that USB audio is unaffected and DP→HDMI shows the same behavior makes this look very similar to the issue described here. I can provide additional logs/tests if useful.

  2. Nelgrim commented on Sep 28, 2026

    @Nelgrim
    Author

    @Skantate I wouldn't mind additional logs.

    PS: Just got back from a business trip. I will continue the troubleshooting and will report my findings here

  3. changed the title [-]Desktop (non-Steam-Deck) hardware: HDMI audio buffer drains at a constant rate under load, causing repeated dropouts[/-] [+]Desktop RX 9070 XT: HDMI audio dropouts caused by PCIe riser running at Gen5 (fixed by forcing Gen4)[/+] on Sep 29, 2026
  4. Nelgrim commented on Sep 29, 2026

    @Nelgrim
    Author

    Update 2026-09-29: cause of the audio dropouts found: PCIe riser running at Gen5

    Short version: the HDMI audio dropouts were caused by a hardware issue in my build, not by SteamOS. My GPU sits on the PCIe 4.0 riser cable that ships with the Fractal Ridge case, but the RX 9070 XT and the B850 board negotiated PCIe 5.0 (32 GT/s) over it. Forcing the x16 slot to Gen4 in the BIOS stopped the dropouts. If your GPU is on a riser or extension cable, check cat /sys/bus/pci/devices/<root port>/current_link_speed and try forcing a lower PCIe generation.

    Before and after (same machine: SteamOS 3.8.28, kernel 6.18.50, GPU at factory settings)

    PCIe 5.0 over riser (Auto) PCIe 4.0 forced in BIOS
    Audible dropouts / cutoffs constant, worsening over the session none noticed in a ~40 min session
    HDMI PCM stream restarts during play yes, 1–3 min before each freeze none
    PipeWire pw-top ERR non-zero before each freeze 0 throughout
    PCIe AER errors (all devices in the GPU path) 0 0

    Note that the AER counters stayed at zero even at Gen5, so zero AER errors does not rule out a marginal riser link.

    Corrections to the original report (also marked in the report itself)

    • There was no constant buffer drain. I measured it again as the difference between the appl_ptr and hw_ptr slopes over 30 s windows, and the result is ±30 frames/s with no trend, on both 3.8.16 and 3.8.28. The "110 frames/s" sawtooth came from sampling delay every ~1.03 s against quantum-sized writes, so it's aliasing.
    • The loopback sink with resample.disable exists on 3.8.16 but is gone on 3.8.28. It wasn't the cause.

    Still open, probably unrelated to SteamOS audio

    • snd_hda_intel 0000:03:00.1: stream 0 dma error: 0x28 (HDA FIFO error) keeps appearing on kernel 6.18 while HDMI audio plays, also at Gen4 (~600 per session), but with no audible effect now. The 6.16 snd-hda-core doesn't contain this message, so it could have been silent before. I'm noting it here in case it matters to someone.
    • Random green screens / game freezes followed by a hard system hang remain at Gen4. Temperatures, power and load were normal in the final second (GPU edge 50 °C, hotspot 70 °C, memory 84 °C, ~340 W), and a live, fsynced journalctl -k -f captured no kernel message at all: no amdgpu timeout, reset or AER. That looks like a hardware/platform problem in my system (next to test: EXPO off, BIOS update from FA1, cable seating). I'll open a separate issue if it turns out to be SteamOS-related.

    @Skantate: is your GPU on a riser or extension cable too? If so, try forcing a lower PCIe generation in the BIOS and see whether your dropouts stop.

  5. Nelgrim commented on Sep 29, 2026

    @Nelgrim
    Author

    Closing as resolved: the audio dropouts came from the PCIe 4.0 riser running at Gen5 (details above), and forcing Gen4 in the BIOS fixed them.

    The separate issue, random green screens / game freezes followed by a hard system hang, is now tracked in #2854.

    @Skantate: if your dropouts continue and your GPU isn't on a riser, feel free to comment in #2854 or open a new issue with your details.

  6. Skantate commented on Sep 29, 2026

    @Skantate

    @Nelgrim Would you consider reopening this issue?

    I can reproduce the same stream 0 dma error: 0x28 on my system, but unlike your case, forcing the PCIe link from Gen4 down to Gen3 does not resolve the HDMI audio dropouts.
    My setup is an ASRock B650I Lightning WiFi, Ryzen 7 7800X3D, RX 9060 XT 16 GB, Fractal Ridge with the PCIe 4.0 riser, running SteamOS 3.8.28.
    Diablo IV reproduces the issue within seconds, and the kernel log then shows repeated snd_hda_intel ... stream 0 dma error: 0x28 messages. I also tested disabling PCIe Power Management Features with no change.

  7. Nelgrim commented on Sep 29, 2026

    @Nelgrim
    Author

    @Skantate I'm not sure if it warrants a reopen at this point since I was able to find and fix the root cause on my end. Btw if your riser cable is pcie4 there's no point in reducing the gpu bandwidth to pcie3. In my case the core issue was that the gou was flooding the pcie4 riser with pcie5 bandwidth throughput - thus causing the audio cutoffs (and sometimes frame stutters) due to an overflow of data the riser was not capable of processing.

    If you dm me some logs I'll do my best to help you troubleshoot your system

  8. Skantate commented on Sep 29, 2026

    @Skantate

    @Nelgrim Thanks, I’d be happy to send you the logs. I can’t find a DM option on GitHub though — what’s the best way to contact you?

  9. Nelgrim commented on Sep 30, 2026

    @Nelgrim
    Author

    @Skantate oh my bad, github doesn't have a dm option lol. Email me at [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions