Skip to content

Frequent unrecoverable GPU hang (ring timeout → "Failed to disable gfxoff" → GPU reset failure) on desktop RX 9060 XT (RDNA4) #2953

Closed

Description

@SvenKorset

System

  • GPU: Sapphire Radeon RX 9060 XT 16GB (RDNA4)
  • CPU: AMD Ryzen 5 9600X
  • Motherboard: MSI MPG B650I Edge WiFi
  • Build: SteamOS, kernel 6.18.50-valve2-1-neptune-618
  • RAM: tested at both EXPO-enabled and JEDEC/4800 MT/s stock speed — crash occurs in both cases, so RAM overclock is not the cause. No CPU/GPU undervolt applied at any point.

Problem
The system experiences frequent, unrecoverable GPU hangs requiring a hard reboot. Occurs both during idle desktop use and during gameplay (observed in Helldivers 2). Display goes black/no signal, system becomes unresponsive (keyboard dead, Caps Lock doesn't toggle).

Kernel log (most recent occurrence, during Helldivers 2 gameplay)
amdgpu 0000:03:00.0: amdgpu: ring gfx_0.0.0 timeout, signaled seq=1127240, emitted seq=1127244
amdgpu 0000:03:00.0: amdgpu: Process helldivers2.exe pid 5781 thread vkd3d_queue pid 5930
amdgpu 0000:03:00.0: amdgpu: Starting gfx_0.0.0 ring reset
amdgpu 0000:03:00.0: amdgpu: device lost from bus!
amdgpu 0000:03:00.0: amdgpu: SMU: response:0xFFFFFFFF for index:41 param:0x00000000 message:DisallowGfxOff?
amdgpu 0000:03:00.0: amdgpu: Failed to disable gfxoff!
amdgpu 0000:03:00.0: amdgpu: MES(1) failed to respond to msg=MISC (WAIT_REG_MEM)
amdgpu 0000:03:00.0: amdgpu: MES(1) failed to respond to msg=RESET
amdgpu 0000:03:00.0: amdgpu: failed to reset legacy queue
amdgpu 0000:03:00.0: amdgpu: reset via MES failed and try pipe reset -110
amdgpu 0000:03:00.0: amdgpu: The CPFW hasn’t support pipe reset yet.
amdgpu 0000:03:00.0: amdgpu: Ring gfx_0.0.0 reset failed
amdgpu 0000:03:00.0: amdgpu: GPU reset begin!. Source: 1
amdgpu 0000:03:00.0: amdgpu: GPU reset end with ret = -19
amdgpu 0000:03:00.0: amdgpu: GPU Recovery Failed: -19
amdgpu 0000:03:00.0: amdgpu: [drm] AMDGPU device coredump file has been created

What I've already ruled out

  • RAM/EXPO overclock: disabled EXPO, ran stock JEDEC 4800 MT/s for over a week — crash still occurs with this exact log signature.
  • power_dpm_force_performance_level=high (forcing fixed clocks): did not prevent the crash.
  • No undervolt of any kind (CPU or GPU) has ever been applied on this system.

Related reports
This looks adjacent to #2854 and #2910, same symptom family (RDNA4 desktop cards, GFXOFF/SMU failure, "device lost from bus"), but not identical:

(Checked #2866 as well: different GPU generation (Polaris RX 570), startup-only corruption, no gfxoff/device-lost signature — not the same issue.)

So this report may represent a distinct root cause within the same symptom family: a ring timeout leading into a GPU reset that fails because GFXOFF/SMU is unresponsive, occurring on stock settings with no overclock or undervolt involved.

This also matches the well-known amdgpu/RDNA GFXOFF driver-recovery issue described on the ArchWiki AMDGPU troubleshooting page, whose suggested workaround is the kernel parameter amdgpu.ppfeaturemask=0xffff7fff. I haven't found a supported way to add a custom kernel command-line parameter on SteamOS (steamos-bootdebug/steamos-bootconf have no field for this, and the system doesn't use a standard GRUB config). If there's a supported way to test this, I'd appreciate guidance — otherwise it would be great to see GFXOFF disabled by default for affected RDNA4 desktop cards.

Full journal from the crash boot attached as journal-boot-3.log. Happy to provide further logs or run additional tests.

Activity

  1. SvenKorset commented on Oct 18, 2026

    @SvenKorset
    Author

    Update: this also happens during pure idle desktop use, not just under gaming load.

    Another occurrence today, this time with no game running at all — the triggering process was plasmashell (the desktop UI itself):

    amdgpu 0000:03:00.0: amdgpu: ring sdma1 timeout, signaled seq=2959, emitted seq=2963
    amdgpu 0000:03:00.0: amdgpu: Starting sdma1 ring reset
    amdgpu 0000:03:00.0: amdgpu: failed to wait on sdma queue reset done
    amdgpu 0000:03:00.0: amdgpu: Ring sdma1 reset failed
    amdgpu 0000:03:00.0: amdgpu: GPU reset begin!. Source: 1
    amdgpu 0000:03:00.0: amdgpu: device lost from bus!
    amdgpu 0000:03:00.0: amdgpu: GPU reset end with ret = -19
    amdgpu 0000:03:00.0: amdgpu: GPU Recovery Failed: -19
    amdgpu 0000:03:00.0: amdgpu: Dumping IP State
    amdgpu 0000:03:00.0: amdgpu: SMU: response:0xFFFFFFFF for index:41 param:0x00000000 message:DisallowGfxOff?
    amdgpu 0000:03:00.0: amdgpu: Failed to disable gfxoff!
    amdgpu 0000:03:00.0: amdgpu: [drm] AMDGPU device coredump file has been created
    amdgpu 0000:03:00.0: amdgpu: ring gfx_0.0.0 timeout, signaled seq=64959, emitted seq=64962
    amdgpu 0000:03:00.0: amdgpu: Process plasmashell pid 1961 thread plasmashel:cs0 pid 1986
    amdgpu 0000:03:00.0: amdgpu: MES ring buffer is full.
    amdgpu 0000:03:00.0: amdgpu: Ring gfx_0.0.0 reset failed
    amdgpu 0000:03:00.0: amdgpu: GPU reset begin!. Source: 1
    amdgpu 0000:03:00.0: amdgpu: GPU reset end with ret = -19
    amdgpu 0000:03:00.0: amdgpu: GPU Recovery Failed: -19
    amdgpu 0000:03:00.0: amdgpu: ring sdma0 timeout, signaled seq=5653, emitted seq=5657
    amdgpu 0000:03:00.0: amdgpu: Starting sdma0 ring reset
    amdgpu 0000:03:00.0: amdgpu: failed to wait on sdma queue reset done
    amdgpu 0000:03:00.0: amdgpu: Ring sdma0 reset failed
    amdgpu 0000:03:00.0: amdgpu: GPU reset begin!. Source: 1
    amdgpu 0000:03:00.0: amdgpu: device lost from bus!
    amdgpu 0000:03:00.0: amdgpu: GPU reset end with ret = -19
    amdgpu 0000:03:00.0: amdgpu: GPU Recovery Failed: -19

    While the system was already visually frozen (black screen, no signal), I attempted an SSH connection to it from another machine on the same network. I got "Connection refused" rather than a timeout or "No route to host" — meaning the machine was still responding on the network/kernel level, it simply had no SSH server running at the time (not enabled by default). This suggests the hang was not a full system lockup, at least for part of its duration — the network stack remained alive while the display/GPU path was dead. I've now enabled sshd for next time, so I can get a live view (journalctl -f, uptime etc.) during the next occurrence.

    This time the keyboard also stayed partially responsive for a moment (Caps Lock still toggled) before the system fully locked up, which it hadn't in previous occurrences. My guess is this failure mode isn't gaming-specific at all — it seems to be triggered by essentially any sustained GPU activity, including just the desktop compositor. This may also explain earlier crashes I had with completely empty kernel logs: possibly the same failure, just escalating to a full system lock before anything could be logged.

    journal-boot-1.log

    gpu-errors-boot-1.log

    gpu-errors-boot-3.txt

    journal-boot-3.txt

  2. SvenKorset commented on Oct 18, 2026

    @SvenKorset
    Author

    Update: Was looked like a total system freeze is actually an infinite, never-recovering GPU reset loop — the kernel stays alive and keeps retrying forever.

    I enabled sshd beforehand and managed to SSH into the machine from another device while it was visually frozen (black screen, no signal) during a Helldivers 2 session. uptime responded normally, and journalctl -f showed the kernel continuously repeating the same failed recovery cycle every few seconds, indefinitely, for as long as I watched (did not recover on its own):

    Oct 18 20:53:52 steamdeck kernel: amdgpu 0000:03:00.0: amdgpu: MES(1) failed to respond to msg=RESET
    Oct 18 20:53:52 steamdeck kernel: amdgpu 0000:03:00.0: amdgpu: failed to reset legacy queue
    Oct 18 20:53:52 steamdeck kernel: amdgpu 0000:03:00.0: amdgpu: reset via MES failed and try pipe reset -110
    Oct 18 20:53:52 steamdeck kernel: amdgpu 0000:03:00.0: amdgpu: Ring gfx_0.0.0 reset failed
    Oct 18 20:53:52 steamdeck kernel: amdgpu 0000:03:00.0: amdgpu: GPU reset begin!. Source: 1
    Oct 18 20:53:52 steamdeck kernel: amdgpu 0000:03:00.0: amdgpu: device lost from bus!
    Oct 18 20:53:52 steamdeck kernel: amdgpu 0000:03:00.0: amdgpu: GPU reset end with ret = -19
    Oct 18 20:53:52 steamdeck kernel: amdgpu 0000:03:00.0: amdgpu: GPU Recovery Failed: -19
    ...
    Oct 18 20:53:55 steamdeck kernel: amdgpu 0000:03:00.0: amdgpu: ring sdma0 timeout, signaled seq=27955, emitted seq=27959
    ...
    Oct 18 20:53:57 steamdeck kernel: amdgpu 0000:03:00.0: amdgpu: ring gfx_0.0.0 timeout, signaled seq=337343, emitted seq=337347
    Oct 18 20:53:57 steamdeck kernel: amdgpu 0000:03:00.0: amdgpu: Process helldivers2.exe pid 4989 thread vkd3d_queue pid 5556
    ...
    (cycle repeats every 2-8 seconds, same seq numbers reappearing each time, never progressing)

    Alongside this, kwin_wayland (the compositor) logged continuously:
    kwin_wayland_drm: Pageflip timed out! This is a bug in the amdgpu kernel driver

    Since the machine was still reachable, I was able to grab a devcoredump before rebooting (normally impossible, since it only lives in memory and is gone after a hard reset):
    sudo cp /sys/class/drm/card0/device/devcoredump/data coredump-live.bin

    Coredump attached (coredump-live-20261018-205653.bin).

    This confirms the failure is isolated to the GPU/display driver stack — the OS, network, and scheduler keep running fine throughout, amdgpu just never successfully completes a GPU reset once it enters this state, and keeps retrying forever without ever recovering or crashing the rest of the system. A hard reboot is the only way out.

    coredump-live-20261018-205653.bin.zip

  3. Nelgrim commented on Oct 19, 2026

    @Nelgrim

    @SvenKorset I think your crash is the same failure as #2910 (RX 9070 XT, also a Sapphire card on a mini-ITX AM5 board). Two things that may help.

    1. Your first error isn't the ring timeout. In both attached journals, the card has already dropped off the bus several seconds before the ring timeout:

    19:12:23 snd_hda_intel 0000:03:00.1: Unable to change power state from D3hot to D0, device inaccessible
    19:12:23 snd_hda_intel 0000:03:00.1: CORB reset timeout#2, CORBRP = 65535      <- reads return all 1s: the device is gone
    19:12:29 amdgpu 0000:03:00.0: amdgpu: device lost from bus!                       (SMU responses 0xFFFFFFFF)
    19:12:29 amdgpu 0000:03:00.0: amdgpu: ring gfx_0.0.0 timeout ... Starting gfx_0.0.0 ring reset
    

    boot-1 is the same: at 20:01:57 the HDMI audio function is inaccessible, then device lost from bus! at 20:02:01. So the ring timeout and the failing MES/pipe resets are consequences: the driver is talking to a GPU that is no longer on the bus. They aren't the cause. That's the same "device lost from bus" failure as in #2910. On my system it ends in a data fabric sync flood or a panic reboot instead of a reset loop.

    2. Try the 7.2 kernel. You're on 6.18.50-valve2 (SteamOS 3.8). On my system the same failure was far more frequent on 3.8 / 6.16–6.18: every 5–40 min, in every game, even at stock settings. Moving to the Preview update channel (Settings → System → System Update Channel), currently SteamOS 3.9.3 with kernel 7.2.7-valve2, was the single biggest improvement. It still happens, but much less often. A lower GPU power limit reduced it further for me (details in #2910).

    About your kernel-parameter question: amdgpu is a module on SteamOS, so you can pass its options through modprobe.d, with no kernel command line edit needed. For example, to test with GFXOFF disabled:

    echo 'options amdgpu ppfeaturemask=0xfff77fff' | sudo tee /etc/modprobe.d/99-amdgpu.conf
    # reboot, then check:
    cat /sys/module/amdgpu/parameters/ppfeaturemask
    

    0xfff77fff is the default mask with GFXOFF off and OverDrive on. Use 0xfff73fff if you don't use LACT/OverDrive. Note that /etc lives on the A/B system partition, so every SteamOS update drops the file and you have to recreate it. For what it's worth, on my system disabling GFXOFF at runtime (amdgpu_gfxoff = 0 in debugfs) didn't stop the crashes.

    3. The logger I use (in case it helps you catch the moment of failure). It's a systemd user service. It writes per-second GPU/CPU telemetry (temps, power, clocks, busy %, PCIe link) plus PCIe AER/link changes along the GPU path, a live copy of the kernel log, and a heartbeat. Everything is fsynced every second, so the tail survives a hard reset (journald loses its last minutes). It also logs HDMI audio/PipeWire state, which is where its name comes from. It picks the AMD GPU with the most VRAM, so your iGPU is ignored. Override with GPU_PCI=0000:03:00.0 if needed. It uses about 1 MB per hour of logs and only tools that SteamOS already ships (jq, wpctl, pw-top).

    Setup, in Konsole as deck:

    mkdir -p ~/.local/bin ~/.config/systemd/user
    nano ~/.local/bin/audio-drift-logger.sh                       # paste the script below
    chmod +x ~/.local/bin/audio-drift-logger.sh
    nano ~/.config/systemd/user/audio-drift-logger.service        # paste the unit below
    systemctl --user daemon-reload
    systemctl --user enable --now audio-drift-logger
    sudo loginctl enable-linger deck     # keeps it running across Game Mode / Desktop switches
    

    Logs go to ~/audio-logs/<start time>-*, with latest-* symlinks to the current run. After a crash:

    • tail -1 ~/audio-logs/<run>-heartbeat.log: when the system actually died
    • tail -30 ~/audio-logs/<run>-sys.tsv: the GPU state in the last seconds. A row of zeros or a gap marks the moment the GPU stopped answering.
    • tail -50 ~/audio-logs/<run>-kern.log: kernel messages up to the end
    • grep AER ~/audio-logs/<run>-events.log | tail: PCIe link/AER changes
    • journalctl -k -b 0 | grep 'reset reason': why the previous boot ended (sync flood 0x08000800 vs. a software reboot 0xCF9)

    Optionally, raise journald's size limit so older crash boots aren't rotated away. SteamOS caps it at 50M:

    sudo mkdir -p /etc/systemd/journald.conf.d
    printf '[Journal]\nSystemMaxUse=500M\n' | sudo tee /etc/systemd/journald.conf.d/zz-keep-crash-logs.conf
    sudo systemctl restart systemd-journald
    

    To stop the logger: systemctl --user disable --now audio-drift-logger.

    ~/.local/bin/audio-drift-logger.sh
    #!/bin/bash
    # Logs ALSA playback buffer state (1/s), GPU/CPU telemetry (1/s), the live kernel log and
    # periodic PipeWire graph snapshots, to diagnose HDMI audio cutoffs and GPU crashes on SteamOS.
    # Every file is fsynced each second so the tail survives a hard freeze.
    # Runs as a systemd user service so it survives Desktop <-> Game Mode switches.
    
    LOGDIR="${AUDIO_LOG_DIR:-$HOME/audio-logs}"
    RUN="$(date +%Y%m%d-%H%M%S)"
    mkdir -p "$LOGDIR"
    
    PCM="$LOGDIR/$RUN-pcm.tsv"        # per-second ALSA status of every open playback PCM
    PWTOP="$LOGDIR/$RUN-pwtop.log"    # pw-top snapshot every 5 s (DRIVER, quantum, rate, ERR)
    EVENTS="$LOGDIR/$RUN-events.log"  # state changes, hw_params, wpctl status, graph dumps, PCIe AER/link
    
    SYS="$LOGDIR/$RUN-sys.tsv"        # per-second GPU/CPU telemetry (temps, power, clocks, load, pressure)
    KERN="$LOGDIR/$RUN-kern.log"      # live kernel log; journald only syncs every few minutes, so crashes lose its tail
    HB="$LOGDIR/$RUN-heartbeat.log"   # one timestamp per second from a loop that never touches the GPU
    
    ln -sfn "$PCM" "$LOGDIR/latest-pcm.tsv"
    ln -sfn "$PWTOP" "$LOGDIR/latest-pwtop.log"
    ln -sfn "$EVENTS" "$LOGDIR/latest-events.log"
    ln -sfn "$SYS" "$LOGDIR/latest-sys.tsv"
    ln -sfn "$KERN" "$LOGDIR/latest-kern.log"
    
    # Pick the AMD GPU with the most VRAM (the discrete card, not the iGPU); override with GPU_PCI=0000:xx:00.0
    if [ -n "$GPU_PCI" ]; then
        GPU=/sys/bus/pci/devices/$GPU_PCI
    else
        GPU=$(for d in /sys/bus/pci/devices/*; do
                  [ "$(cat "$d/vendor" 2>/dev/null)" = 0x1002 ] && [ -e "$d/mem_info_vram_total" ] &&
                      echo "$(cat "$d/mem_info_vram_total") $d"
              done | sort -n | tail -1 | cut -d' ' -f2)
    fi
    GPU=$(readlink -f "$GPU")
    # Every PCIe hop from the CPU root port down to the GPU (riser/switch links included), plus the
    # GPU's HDMI audio function (.1), for the AER/link-speed check
    PCIPATH="$(echo "$GPU" | grep -oE '[0-9a-f]{4}:[0-9a-f]{2}:[0-9a-f]{2}\.[0-9a-f]' | tr '\n' ' ')${GPU##*/}"
    PCIPATH="${PCIPATH%.0}.1"
    GH=$(ls -d "$GPU"/hwmon/hwmon* | head -1)
    for h in /sys/class/hwmon/hwmon*; do
        [ "$(cat "$h/name")" = k10temp ] && CH="$h"
    done
    rd() { local v; read -r v < "$1" 2>/dev/null && echo "$v" || echo NA; }
    cur_level() { awk '/\*/{sub(":","",$1); print $2; exit}' "$1" 2>/dev/null; }
    
    journalctl -k -f -n 0 -o short-precise >> "$KERN" 2>&1 &
    trap 'kill $(jobs -p) 2>/dev/null' EXIT
    
    ev() { echo "=== $(date '+%F %T.%3N') $*" >> "$EVENTS"; }
    
    snapshot_graph() {
        ev "$1"
        { wpctl status 2>&1
          echo "--- default sink"; wpctl inspect @DEFAULT_AUDIO_SINK@ 2>&1
          echo "--- driver/clock props of audio nodes"
          pw-dump 2>/dev/null | jq -r '.[] | select(.type=="PipeWire:Interface:Node") | .info.props
            | select(."media.class"? // "" | test("Audio"))
            | [."object.id", ."node.name", ."media.class", ."node.driver", ."priority.driver",
               ."resample.disable", ."clock.name", ."node.group", ."api.alsa.headroom",
               ."session.suspend-timeout-seconds"] | map(tostring) | join("  ")' 2>&1
        } >> "$EVENTS"
    }
    
    echo -e "time\tepoch\tpcm\tstate\tdelay\tavail\tavail_max\thw_ptr\tappl_ptr\ttstamp\ttrigger_time" > "$PCM"
    echo -e "time\tgpu_edge_C\tgpu_hotspot_C\tgpu_mem_C\tgpu_W\tsclk_MHz\tmclk_MHz\tgpu_busy_%\tfan_rpm\tpcie\tcpu_tctl_C\tload1\tmem_avail_MB\tpsi_cpu10\tpsi_mem10\tpsi_io10" > "$SYS"
    ev "logger start (pid $$), kernel $(uname -r), $(grep BUILD_ID /etc/os-release)"
    ev "GPU $GPU, PCIe path: $PCIPATH"
    ev "linger: $(loginctl show-user "$USER" -p Linger --value 2>/dev/null)"
    snapshot_graph "initial graph"
    
    # GPU/CPU telemetry + PCIe state in its own loop: reading sensors of a GPU that has fallen off
    # the bus blocks, so a gap in sys.tsv marks the moment the GPU was lost without stalling the rest.
    gpu_loop() {
        local now_h aer last_aer
        while true; do
            now_h="$(date '+%T.%3N')"
            printf '%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n' "$now_h" \
                $(( $(rd "$GH/temp1_input") / 1000 )) $(( $(rd "$GH/temp2_input") / 1000 )) $(( $(rd "$GH/temp3_input") / 1000 )) \
                $(( $(rd "$GH/power1_average") / 1000000 )) $(( $(rd "$GH/freq1_input") / 1000000 )) $(( $(rd "$GH/freq2_input") / 1000000 )) \
                "$(rd "$GPU/gpu_busy_percent")" "$(rd "$GH/fan1_input")" "$(cur_level "$GPU/pp_dpm_pcie")" \
                $(( $(rd "$CH/temp1_input") / 1000 )) "$(cut -d' ' -f1 /proc/loadavg)" \
                $(( $(awk '/MemAvailable/{print $2}' /proc/meminfo) / 1024 )) \
                "$(awk -F'[= ]' '/^some/{print $3}' /proc/pressure/cpu)" "$(awk -F'[= ]' '/^some/{print $3}' /proc/pressure/memory)" \
                "$(awk -F'[= ]' '/^some/{print $3}' /proc/pressure/io)" >> "$SYS" 2>/dev/null
            # PCIe AER totals and link state along the GPU path; logged only when they change
            aer=""
            for d in $PCIPATH; do
                aer+="$d:$(awk '/TOTAL/{printf "%s ", $2}' /sys/bus/pci/devices/$d/aer_dev_correctable /sys/bus/pci/devices/$d/aer_dev_nonfatal /sys/bus/pci/devices/$d/aer_dev_fatal 2>/dev/null)"
                aer+="link=$(rd /sys/bus/pci/devices/$d/current_link_speed | cut -d' ' -f1)x$(rd /sys/bus/pci/devices/$d/current_link_width); "
            done
            if [ "$aer" != "$last_aer" ]; then ev "PCIe AER cor/nonfatal/fatal + link: $aer"; last_aer="$aer"; fi
            sleep 1
        done
    }
    
    # Heartbeat + fsync in their own loop, touching nothing GPU-related, so the kernel log tail
    # reaches the disk even after the GPU is gone; the last heartbeat marks when the system died.
    sync_loop() {
        while true; do
            date '+%F %T.%3N' >> "$HB"
            sync "$PCM" "$SYS" "$KERN" "$EVENTS" "$HB" 2>/dev/null
            sleep 1
        done
    }
    gpu_loop &
    sync_loop &
    
    declare -A last_state
    tick=0
    while true; do
        now_h="$(date '+%T.%3N')"; now_e="$(date +%s.%N)"
        for st in /proc/asound/card*/pcm*p/sub*/status; do
            dev="${st#/proc/asound/}"; dev="${dev%/status}"
            state="$(awk '/^state:/{print $2} /^closed/{print "CLOSED"}' "$st" 2>/dev/null)"
            [ -z "$state" ] && state=UNKNOWN
            if [ "${last_state[$dev]}" != "$state" ]; then
                ev "$dev: ${last_state[$dev]:-none} -> $state"
                if [ "$state" != CLOSED ]; then
                    { echo "--- hw_params $dev"; cat "${st%/status}/hw_params"
                      echo "--- sw_params $dev"; cat "${st%/status}/sw_params"; } >> "$EVENTS" 2>&1
                fi
                last_state[$dev]="$state"
            fi
            [ "$state" = CLOSED ] && continue
            awk -v t="$now_h" -v e="$now_e" -v d="$dev" '
                /^state:/{s=$2} /^delay/{dl=$3} /^avail  /{av=$3} /^avail_max/{am=$3}
                /^hw_ptr/{hp=$3} /^appl_ptr/{ap=$3} /^tstamp/{ts=$3} /^trigger_time/{tt=$2}
                END{printf "%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",t,e,d,s,dl,av,am,hp,ap,ts,tt}' "$st" >> "$PCM"
        done
    
        if (( tick % 5 == 0 )); then
            { echo "=== $(date '+%F %T')"; timeout 4 pw-top -b -n 2 2>&1 | awk '/^S +ID/{n++} n==2'; } >> "$PWTOP"
        fi
        # Full graph snapshot every 5 min, plus on default-sink change
        sink="$(wpctl inspect @DEFAULT_AUDIO_SINK@ 2>/dev/null | awk -F'"' '/node.name/{print $2; exit}')"
        if [ "$sink" != "$last_sink" ]; then snapshot_graph "default sink changed: '${last_sink}' -> '${sink}'"; last_sink="$sink"
        elif (( tick % 300 == 0 )); then snapshot_graph "periodic graph"; fi
    
        tick=$((tick + 1))
        sleep 1
    done
    ~/.config/systemd/user/audio-drift-logger.service
    [Unit]
    Description=HDMI audio / GPU diagnostics logger
    After=pipewire.service wireplumber.service
    
    [Service]
    Type=simple
    ExecStart=%h/.local/bin/audio-drift-logger.sh
    Restart=on-failure
    RestartSec=5
    Nice=5
    
    [Install]
    WantedBy=default.target
  4. SvenKorset commented on Oct 19, 2026

    @SvenKorset
    Author

    @Nelgrim Thanks for pointing this out — you're right, and I want to correct my earlier framing.

    I went back through the full (unfiltered) journal logs, not just the grepped excerpts I'd posted before, and found the same pattern you described in both occurrences I checked, a few seconds before the first ring timeout, the HDMI/DP audio function on the same card already fails:

    Boot with the Helldivers 2 crash (19:12):
    19:12:23 snd_hda_intel 0000:03:00.1: Unable to change power state from D3hot to D0, device inaccessible
    19:12:23 snd_hda_intel 0000:03:00.1: CORB reset timeout#2, CORBRP = 65535
    19:12:29 amdgpu 0000:03:00.0: amdgpu: device lost from bus!
    19:12:29 amdgpu 0000:03:00.0: amdgpu: ring gfx_0.0.0 timeout, signaled seq=1127240, emitted seq=1127244

    An earlier, previously unreported occurrence I found in the same boot as my idle-desktop/plasmashell crash (20:02, about 23 minutes before that one):
    20:01:57 snd_hda_intel 0000:03:00.1: Unable to change power state from D3hot to D0, device inaccessible
    20:01:58 snd_hda_intel 0000:03:00.1: CORB reset timeout#2, CORBRP = 65535
    20:02:01 amdgpu 0000:03:00.0: amdgpu: device lost from bus!
    20:02:06 amdgpu 0000:03:00.0: amdgpu: ring gfx_0.0.0 timeout, signaled seq=64959, emitted seq=64962

    Both times, audio (0000:03:00.1) goes first, 5-9 seconds before the first visible GPU/ring message. I'd previously assumed the ring timeout was the initiating event since it was the first thing I saw in my grep filter, but that filter didn't catch the audio lines. Agreed this looks like the same "device lost from bus" failure as #2910, with the ring timeout/gfxoff errors being a delayed symptom rather than the cause.

    I'll try the Preview channel and report back. I'm holding off on the ppfeaturemask/modprobe.d approach for now — between the ArchWiki (0xffff7fff), my own earlier guess (0xfff7ffff), and your two suggested values (0xfff77fff / 0xfff73fff), there doesn't seem to be a single clear, authoritative answer on what each bit actually does or which combination is safe/appropriate for an RDNA4 card like mine. Happy to revisit it once there's clearer documentation on the bitmask itself, but I'd rather not guess at it blindly in the meantime. Appreciate you digging into this either way.

  5. SvenKorset commented on Oct 29, 2026

    @SvenKorset
    Author

    Update: possibly a mechanical contact issue in my case

    A follow-up from my side, since the situation changed:

    I switched to the Preview channel (kernel 7.2.7-valve2). It did not help. The first session crashed with the same signature (audio function snd_hda_intel 0000:03:00.1 dropping out a few seconds before device lost from bus! / ring timeout).
    Over the following days it got worse, until the PC no longer produced a picture at all, even after a clean shutdown and several cold starts. The system itself did boot: I could log in via SSH. lspci showed only the iGPU (Granite Ridge). The RX 9060 XT was missing from the PCIe bus entirely, and nothing about it appeared in the kernel log.
    I then removed and reinstalled the card and re-checked the riser cable and power connectors. After a few attempts the card showed up again in lspci.
    Since then (several days) I have had no hang at all, including multi-hour gaming sessions, which was unthinkable before.

    So for my system this now looks like a mechanical problem (a poor contact in the slot or the riser cable) rather than a driver or firmware bug. The kernel log signature of such an intermittent link loss looked identical to the GFXOFF/”device lost from bus” pattern.

    I’ll keep observing and will report back if it returns. It is too early to call it fixed. My case may therefore differ from #2910, where the riser was already swapped. If others see the card vanish from lspci after a crash, reseating the card and riser may be worth trying before changing kernel parameters.

  6. SvenKorset commented on Nov 14, 2026

    @SvenKorset
    Author

    Closing: resolved, it was a loose contact

    The cause was a mechanical contact problem, not a driver or firmware bug. After I reseated the card and re-checked the riser cable, I have had no hang in three weeks of heavy daily use. Before that it crashed almost every day.

    I reseated both the card and the riser connection, so the loose contact could be at either one. If you see similar logs, check both before changing kernel parameters. I’ll reopen if it returns.

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