SteamOS icon indicating copy to clipboard operation
SteamOS copied to clipboard

[Steam Frame] Complete audio failure with external audio in applications which use the microphone

Open OverlordPotato1 opened this issue 1 month ago • 11 comments

Your system information

  • Steam client version: Beta
  • SteamOS version: 20261007.6145407
  • Opted into Steam client beta?: [Yes/No] Yes
  • Opted into SteamOS beta?: [Yes/No] Using "Main" branch
  • Have you checked for updates in Settings > System?: [Yes/No] Yes

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen.

What I expected: Audio to function normally

What happened: When playing some games using Steam Link (list below) and using external audio solutions (list below), the audio completely ceases to function from the moment the game opens to when it closes or Steam Link is fully disconnected. Issue occurs regardless of current charging and / or battery state.

While the game is running:

  • No audio can be observed from the game, although all appears completely normal on the host system.
  • No audio can be observed from remote steamvr. Interacting with menus results in zero audio feedback.
  • No audio can be observed from the local system. Again, interacting with menus results in zero audio feedback.
  • Attempting to play audio using the KDE System Settings, audio test results in the KDE System Settings freezing until the game is closed or the connection is terminated.
  • No applications which would ordinarily produce audio can produce audio, but no errors or other indicators of issues occur. Attempting to play music or watch videos in browser is silent.

When closing the game or terminating the steam link stream:

  • If KDE System Settings was attempting to play the audio test, it will now immediately play the audio without interacting with or even looking at the program.
  • In some cases, the Frame's system audio (the interface and menus) is fully functional again. Audio functionality seems to be restored if the game was already running on the host before the Frame connected to it.
  • Other applications which attempt to play audio seem to be restored as well.

Games I have tested:

  • VRChat - No audio
  • Half Life: Alyx - Audio
  • Climbey - No audio
  • Beat Saber - No audio
  • Pavlov - No audio
  • Synth Riders - No audio

Audio Solutions I have tested:

  • FiiO Snowsky Tiny A (USB DAC) - Issue present
  • Bose QuietComfort II Earbuds (Bluetooth) - Issue present
  • Sony WH-1000XM5 Headphones (Bluetooth) - Issue present

Steps for reproducing this issue:

  1. Connect to remote pc through steam link
  2. Launch any afflicted game

OverlordPotato1 avatar Oct 07 '26 23:10 OverlordPotato1

On further testing, it appears that in background media players that playback will freeze in place (the play time will stop counting). The playback head freezes, pausing and unpausing yields no results, and seeking yields no results. The app is fully responsive while this happens, I can navigate to and select other media. Playback will immediately restore after disconnecting from steam link as long as the media application is still attempting to play. This is on the new latest 20261008.6004012.

OverlordPotato1 avatar Oct 08 '26 14:10 OverlordPotato1

i noticed a version mismatch between Frame - SteamVR and host pc -Steam VR the stable branch update pushed the Frame to 2.18.2 but the PC Steam VR stable version is still on 2.17, i had to manually switch to beta release and got it working with beta 2.18.3 on the host streaming PC

REALLY weird why PC SteamVR stable branch isn't on 2.18 yet... or did they push beta branch on stable Frame update???

RickyDinho avatar Oct 13 '26 22:10 RickyDinho

I can reproduce this, and it also reproduces locally on the Frame with no streaming at all. The root cause appears to be audio routing on the Frame: when anything captures from the default mic path while the default output is an external USB audio device, the echo_cancel_fallback filter takes over the USB sink and existing playback streams are left unlinked, so all audio goes silent until capture stops.

Environment

  • Host: Windows, streaming via Steam Link
  • Steam client beta, SteamVR beta (host 2.18.3, Frame 2.18.2)
  • Frame: PipeWire / WirePlumber 1.6.8
  • Output device: UGREEN CM721 USB Audio (USB-C adapter with PD passthrough and 3.5mm jack, VID:PID 2b89:64ed), profile "Analog Stereo Output"
  • Headphones: Logitech G333 wired earbuds with a 3-pole TRS plug (no mic contact)
  • wpctl status lists the UGREEN as a sink only. The Frame's only input is the internal mic (alsa_input.platform-sound.HiFi__Mic__source).

What I see while streaming

  • VRChat: audio works on the loading screen, then all audio (game and SteamVR UI) stops once a world loads. Changing VRChat's mic away from Steam Streaming Microphone prevents it.
  • Discord (host desktop app): joining a voice call stops all Frame audio, and leaving restores it. This happens with input set to Default or Steam Streaming Microphone. Discord shows error 3002 (no mic input detected). Muting or deafening doesn't help; only leaving the call does.
  • Unplugging the adapter while it's silent restores audio immediately on the built-in speakers.

Local reproduction (no Steam Link, over SSH)

  1. With the UGREEN as the default sink, play audio: pw-play /tmp/tone.wav (any audio file works)
  2. In a second session: timeout 10 pw-record /tmp/test.wav
  3. Output stops for exactly as long as the recording runs, then comes back on its own.

Control: with the adapter unplugged (built-in speakers as output), the same recording does not interrupt playback. The adapter doesn't disconnect during the stall; the kernel log shows no USB events in that window.

Confirmation tests

  1. Baseline: pw-link -l shows pw-play:output_FL/FR linked to the UGREEN sink. Audio plays.
  2. Reproduce: timeout 30 pw-record /tmp/r.wav. Audio stops immediately. pw-link -l now shows the UGREEN's only inputs as echo_cancel_fallback_playback:output_FL/FR, and pw-play has no links. Reproduced twice.
  3. Manual relink during capture: while the recording was still running, I relinked the stream by hand:
   pw-link pw-play:output_FL alsa_output.usb-2b89_UGREEN_CM721_USB_Audio_202312280009-00.analog-stereo:playback_FL
   pw-link pw-play:output_FR alsa_output.usb-2b89_UGREEN_CM721_USB_Audio_202312280009-00.analog-stereo:playback_FR

The audio came back immediately, with capture still active. 4. Bypass echo-cancel: pw-record --target alsa_input.platform-sound.HiFi__Mic__source (raw mic node, skipping the echo-cancel chain) does not interrupt playback.

PipeWire state

Baseline, playing with no capture (pw-top): UGREEN is the driver, pw-play follows
R  121   2048  48000  31.1us  25.9us  0.00  0.00    1    S32LE 2 48000 alsa_output.usb-2b89_UGREEN_CM721_USB_Audio_202312280009-00.analog-stereo
R  173   4410  44100   0.0us   0.0us  0.00  0.00    0    F32LE 2 44100  = pw-play
During the stall (pw-top): internal mic drives, UGREEN idle, pw-play idle and unattached
R   78    480  48000 453.0us   1.4us  0.05  0.00    2    S16LE 2 48000 alsa_input.platform-sound.HiFi__Mic__source
R   56    480  48000  38.6us 336.2us  0.00  0.03    0     F32P 1 48000  + echo_cancel_fallback_capture
R   57    480  48000  19.4us   2.7us  0.00  0.00   25     F32P 1 48000  + echo_cancel_fallback_source
R   58    480  48000  26.9us   3.0us  0.00  0.00    0     F32P 2 48000  + echo_cancel_fallback_sink
R   59    480  48000  30.0us   2.6us  0.00  0.00   22     F32P 2 48000  + echo_cancel_fallback_playback
I  121      0      0  42.0us  35.8us  0.00  0.00    1    S32LE 2 48000  + alsa_output.usb-2b89_UGREEN_CM721_USB_Audio_202312280009-00.analog-stereo
R  171      0  48000  30.3us  39.4us  0.00  0.00    0    S16LE 2 48000  = pw-record
I  207      0      0   0.0us   0.0us  ???   ???     0    F32LE 2 44100 pw-play
During the stall (pw-link -l): UGREEN's only input is echo_cancel_fallback_playback, and pw-play is not linked
echo_cancel_fallback_capture:input_MONO
  |<- eq_source:capture_MONO
echo_cancel_fallback_source:capture_MONO
  |-> alsa_loopback_stream.alsa_input.platform-sound.HiFi__Mic__source:input_MONO
echo_cancel_fallback_playback:output_FL
  |-> alsa_output.usb-2b89_UGREEN_CM721_USB_Audio_202312280009-00.analog-stereo:playback_FL
echo_cancel_fallback_playback:output_FR
  |-> alsa_output.usb-2b89_UGREEN_CM721_USB_Audio_202312280009-00.analog-stereo:playback_FR
alsa_loopback_device.alsa_input.platform-sound.HiFi__Mic__source:capture_FL
  |-> pw-record:input_FL

wpctl status at the same time showed pw-play with output_FL / output_FR and no link target.

Workaround

While the issue is active, manually relinking the Steam Link output stream to the USB sink restores all host audio (game and other host apps). The mic stays active, and voice chat in VRChat still works:

pw-link vrlink:output_FL alsa_output.usb-2b89_UGREEN_CM721_USB_Audio_202312280009-00.analog-stereo:playback_FL
pw-link vrlink:output_FR alsa_output.usb-2b89_UGREEN_CM721_USB_Audio_202312280009-00.analog-stereo:playback_FR

The Frame's own UI sounds stay silent, since new streams created during the issue are also left unlinked.

Caveat: after the capturing app closes, the manual link does not persist and host audio stops again. After disconnecting Steam Link, the Frame's UI sounds did not return, and restarting PipeWire/WirePlumber (systemctl --user restart wireplumber pipewire pipewire-pulse) did not fix it. Restarting SteamVR on the headset restored them.

Conclusion

Capturing through the default mic path activates the echo_cancel_fallback filter, which links its playback output to the external default sink and leaves existing playback streams unlinked. The device and clocks are fine: relinking the stream by hand during capture restores audio, and capturing from the raw mic node (bypassing echo-cancel) never triggers the issue. The built-in speakers aren't affected. This explains why only games that open the streamed mic trigger it, and why USB DACs and Bluetooth devices in the original report all behave the same way.

Rangermike96 avatar Oct 16 '26 14:10 Rangermike96

I did some more tests and found a workaround, I'm just adding this comment to show that I made edits to my last comment with more testing info.

Rangermike96 avatar Oct 16 '26 15:10 Rangermike96

I'm not sure the issue is with microphone, as it occurs for me in games which do not use it, like BeatSaver, Resist, Vivecraft, and Synth Riders. It even works in other applications like Discord and Waterfox, both local and remote. The issue also occurs for me the instant VRChat opens, before it even begins rendering in VR, rather than once loaded into a world. The workaround I've found is to restart the Frame's WirePlumber service using systemctl --user restart wireplumber.service.

For convenience, anyone who is having this issue can run this command to use the simple .desktop file I created: echo "[Desktop Entry] Type=Application Name=Restart WirePlumber Comment=Restart the WirePlumber user service Exec=systemctl --user restart wireplumber.service Icon=audio-card Terminal=false Categories=AudioVideo;Audio;Settings;" >> ~/.local/share/applications/restart-wireplumber.desktop

Running this command will add a button to the + menu which on clicking will restart WirePlumber and restore most audio, although the Frame's UI audio only occasionally restores in my experience.

OverlordPotato1 avatar Oct 16 '26 16:10 OverlordPotato1

Follow-up with more detail from `pw-dump` (PipeWire 1.6.8, WirePlumber 0.5.18), captured while the issue was active (USB adapter as default sink, mic open):

Echo-cancel smart filter is enabled and retargeted at runtime

echo_cancel_fallback_sink ships with these node properties:

filter.smart = true
filter.smart.name = filter-chain-ec-fallback-sink
filter.smart.disabled = true
filter.smart.target = { media.class = Audio/Sink, alsa.card_name = "SM8250 LPASS", device.profile.description = "Speaker playback" }
filter.smart.after = [ filter-chain-sink ]

But at runtime the filters metadata overrides both, enabling it and pointing it at the external sink:

58 (echo_cancel_fallback_sink) filter.smart.disabled = false
58 (echo_cancel_fallback_sink) filter.smart.target = {"node.name": "alsa_output.usb-2b89_UGREEN_CM721_USB_Audio_202312280009-00.analog-stereo"}
53 (eq_source) filter.smart.disabled = false
57 (echo_cancel_fallback_source) filter.smart.disabled = false

Resulting graph

  • The Steam Link playback stream (vrlink, media.role = Game, node.autoconnect = true) has no links at all. It isn't connected to the external sink or to echo_cancel_fallback_sink.
  • echo_cancel_fallback_sink also has no inputs.
  • The external sink's only inputs are echo_cancel_fallback_playback:output_FL/FR.
  • The external sink and vrlink both report node.driver-id = the internal mic node (alsa_input.platform-sound.HiFi__Mic__source), so the USB sink is scheduled under the internal mic's clock group.

Experiment: disabling the smart filter at runtime

pw-metadata -n filters 58 filter.smart.disabled true Spa:String:JSON
  • Audio came back immediately while the mic was still open, and the mic kept working in VRChat.
  • On the next VRChat world load (the mic stream reopens), audio dropped again, even though the metadata still read filter.smart.disabled = true.
  • Frame UI sounds did not come back at any point.

So the runtime enable/retarget of the fallback echo-cancel filter is involved, but disabling it only triggers a one-time re-route. The next capture start leaves playback streams unlinked again regardless. I can provide the full pw-dump if useful.

Rangermike96 avatar Oct 16 '26 16:10 Rangermike96

I put together a workaround script that is meant to be run on the frame. I've only tested it on my hardware with Windows, so take it with a grain of salt. It does work really well though. https://github.com/Rangermike96/steam-frame-audio-fix

Rangermike96 avatar Oct 16 '26 17:10 Rangermike96

7. I put together a workaround script that is meant to be run on the frame. I've only tested it on my hardware with Windows, so take it with a grain of salt. It does work really well though. https://github.com/Rangermike96/steam-frame-audio-fix

Thanks for the script. It works perfectly, and I've been able to play with headphones again while I wait for Valve to fix it.

Genosystem avatar Oct 19 '26 23:10 Genosystem

I created an alternative that installs itself as a systemd service, allowing it to run effortlessly in the background with no user interaction. It generally appears to respond quick enough to be completely seamless, and quick enough to prevent the Frame's own audio from cutting out semi-regularly.

https://github.com/OverlordPotato1/FrameAudioAutoRepatch

OverlordPotato1 avatar Oct 20 '26 02:10 OverlordPotato1

I can reproduce this on my device as well, just using my PCs Bluetooth directly as a workaround right now.

noel-awoo avatar Oct 23 '26 17:10 noel-awoo

Through developing my patch, I've come to a theory on what is causing this issue. When the spatialization chain is activated, it creates a new virtual output node for each application which the application is then connected to, as well as a new audio source node to connect to the audio output. When it connects the application, it disconnects it from the audio output as well to prevent double audio. The spatialization chain only occurs when using the headset's internal audio, external audio devices bypass it.

My theory is that: for some unknown reason, when the microphone is activated, it triggers the spatialization chain to construct even on external audio. It then continues like this:

  1. Existing audio links are torn down so applications can later be connected to the spatialization nodes
  2. It attempts to create the spatialization chain, but because external audio cannot be used in the chain it fails. This likely results in either a crash or an early exit in whatever is constructing the chain.
  3. Since there is no proper handling for when the construction fails, the application is left disconnected from the audio output.

The fix, assuming my theory is correct, would be up to valve to guard against construction beginning when the chain is not possible, and to ideally handle when the chain fails to construct by reconnecting applications that are left without links.

OverlordPotato1 avatar Oct 24 '26 18:10 OverlordPotato1