[Steam Frame] Complete audio failure with external audio in applications which use the microphone
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:
- Connect to remote pc through steam link
- Launch any afflicted game
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.
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???
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 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. The audio came back immediately, with capture still active.
4. Bypass echo-cancel: 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: 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 ( Capturing through the default mic path activates 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
2b89:64ed), profile "Analog Stereo Output"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
Local reproduction (no Steam Link, over SSH)
pw-play /tmp/tone.wav (any audio file works)timeout 10 pw-record /tmp/test.wavConfirmation tests
pw-link -l shows pw-play:output_FL/FR linked to the UGREEN sink. Audio plays.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. 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
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 followsR 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 unattachedR 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 linkedecho_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
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
systemctl --user restart wireplumber pipewire pipewire-pulse) did not fix it. Restarting SteamVR on the headset restored them.Conclusion
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.
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.
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.
But at runtime the 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
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 ]
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
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.echo_cancel_fallback_playback:output_FL/FR.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
filter.smart.disabled = true.pw-dump if useful.
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
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.
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
I can reproduce this on my device as well, just using my PCs Bluetooth directly as a workaround right now.
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:
- Existing audio links are torn down so applications can later be connected to the spatialization nodes
- 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.
- 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.