You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Audio issue with multiple inputs on the same source (OBS 30.1.2, Flatpak, PipeWire) #10808
When using multiple audio inputs on the same audio source in OBS, the sound quality becomes extremely poor and choppy. This issue occurs with my main "mic" input muted and another "audio input capture (pulseaudio)" on the same default audio source. When the "mic" input is redirected to another arbitrary source, the audio quality significantly improves. This issue is observed on OBS version 30.1.2 installed via Flatpak, using PipeWire for audio management.
The audio quality should remain consistent and clear regardless of the number of inputs on the same audio source.
Current Behavior
The audio becomes extremely poor and choppy when multiple inputs are added to the same audio source. Redirecting the "mic" input to another source resolves the issue and the audio quality improves.
Steps to Reproduce
Install OBS version 30.1.2 via Flatpak.
Configure PipeWire as the audio backend.
Add a "mic" input and an "audio input capture (pulseaudio)" to the same audio source (default).
The microphone/add-on partially pierces the sound from the output stream capture. As a result, the microphone writes cleanly, but the external signal (e.g. from a browser) is duplicated with a slight delay and sounds echoed on the recording.
20:24:47.015: pulse-input: Server name: 'PulseAudio (on PipeWire 1.2.1) 15.0.0'
20:24:47.015: pulse-input: Audio format: s32le, 48000 Hz, 4 channels
20:24:47.015: pulse-input: Started recording from 'alsa_input.usb-Yamaha_Corporation_Steinberg_UR22C-00.analog-surround-40'
20:24:47.016: [Loaded global audio device]: 'Микр/доп'
20:24:47.016: - filter: 'Шумоподавление' (noise_suppress_filter_v2)
20:24:47.016: - filter: 'Компрессор' (compressor_filter)
20:24:47.016: [window-capture: 'Захват окна (Xcomposite)'] update settings:
20:24:47.016: title: unknown
20:24:47.016: class: unknown
20:24:47.016:
20:24:47.017: pulse-input: Server name: 'PulseAudio (on PipeWire 1.2.1) 15.0.0'
20:24:47.017: pulse-input: Audio format: s32le, 48000 Hz, 2 channels
20:24:47.018: pulse-input: Started recording from 'alsa_output.usb-Yamaha_Corporation_Steinberg_UR22C-00.iec958-stereo.monitor'
20:24:47.019: Switched to scene 'Сцена 1'
20:24:47.019: ------------------------------------------------
Assuming I'm understanding correctly and this is the same issue, I can replicate it as well, on two computers. This happens in the flatpak 30.2.2 and in the Arch repo package 31.0.1-2. One of these audio tracks ends up skipping and glitching. Whichever comes second, I believe.
if I run two instances of pw-record recording from the same mic simultaneously, both output files sound fine. If I record from that same mic in OBS at the same time as those two pw-record instances, all three sound fine. Perhaps this is an OBS issue in the way it interacts with Pipewire?
I have no idea what is the process to aggravate the priority of this Issue, but this should be the TOP one on Linux. It is impossible to create any multi track recording with only one hardware device on Linux with OBS. And it has been the case for a long time... This feature is a almost a requirement when it comes to content creation...
Reacted by M0N7Y5, Mad-Jam, Novantric and stephematician
I have no idea what is the process to aggravate the priority of this Issue, but this should be the TOP one on Linux. It is impossible to create any multi track recording with only one hardware device on Linux with OBS. And it has been the case for a long time... This feature is a almost a requirement when it comes to content creation...
I believe a workaround (in the meantime) would be to create a loopback node in pipewire?
With the help of Cryssness, I was able to fix my audio issue with OBS. I believe this issue surfaces after an update in pipewire related to the sound buffer of the device.
The fix: setup a fixed buffer in the pipewire properties.
How to fix: create a configuration file in your %HOME pipewire configuration (~/.config/pipewire/pipewire.conf.d)
monitor streams, watch for errors, check formats, etc...
$ pw-top
press Q to quit
latency
btw, 8192/48 (kHz) == 170ms is insanely high latency!
if you are setting such quantum values for anything to avoid crackling, then your CPU is overloaded with something else: check whether pipewire server process correctly gets RT priority and/or try using -rt kernel instead (ubuntu-studio anyone?)...
Hey I have deleted my old comment and am coming here to report that recently this issue came back in full force, dunno if from a Kernel update the recent VLC plugin updates or the most recent Nvidia driver update but suddenly any audio that was coming through our pulse audio layer sources had crackling. Our fix of doing
in our pipewire config wasn't even working anymore. What finally fixed this, finally was replacing our sources with direct Pipewire sources using this plugin https://github.com/dimtpap/obs-pipewire-audio-capture The second we started using this and stopped using audio sources from the pipewire-pulse layer our recordings stopped having audio crackling and distortion and corruption. If the devs of OBS watching this thread could please integrate this natively that would be absolutely fantastic as this seems to be the definitive fix to finally squash this bug that keeps rearing it's ugly head. No version of OBS would resolve this for me either, the official Flatpak, the CachyOS OBS-Studio-Browser or the native Arch Linux OBS-Studio I tested all of these and it kept happening it was finally using this plugin that fully resolved the issue ^^
@Lunxara - oh I'm sorry I never mentioned that here, but I find that 99% of audio issues can usually be resolved by switching to the OBS pipewire plugin. There's just something odd about pipewire + pulse + OBS that doesn't play nice.
Oddly enough I can't replicate this anymore, even though I see you guys still having the same issue. I'm still on Arch but with newer package versions obviously, pipewire 1:1.6.8-1, OBS 32.1.2-modified (compiled locally). I have a config file that sets min-quantum to 256, changed it with pw-metadata and restarted OBS, no change. All tracks sound fine. This is with a Behringer USB interface that has 1 stereo out and 1 stereo in, I can record the stereo out monitor (primary desktop audio output) to multiple tracks in OBS and they all sound fine. I can do the same with its stereo in and I can do the same with my onboard motherboard audio. Not sure if "works on my machine" helps here but I posted about the issue before so I figured I'd follow up.
Activity
kkartaltepe commentedon Jun 11, 2024
Replicated, it doesnt appear to affect output captures just input captures.
AdrianusWest commentedon Jul 26, 2024
Version 30.2.1-1, Arch linux:
The microphone/add-on partially pierces the sound from the output stream capture. As a result, the microphone writes cleanly, but the external signal (e.g. from a browser) is duplicated with a slight delay and sounds echoed on the recording.
A1RM4X commentedon Aug 16, 2024
Replicated, I actually opened a report on the pipewire's gitlab thinking it was on their end... I do realise now it could be an OBS / Linux bug.
FYI: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3861
amenoko commentedon Mar 18, 2025
Assuming I'm understanding correctly and this is the same issue, I can replicate it as well, on two computers. This happens in the flatpak 30.2.2 and in the Arch repo package 31.0.1-2. One of these audio tracks ends up skipping and glitching. Whichever comes second, I believe.
I reported this on the Pipewire Gitlab in July https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4150 but unfortunately the problem persists until now. I switched to Pulseaudio at the time because it didn't have this issue. gitlab.freedesktop.org is currently unavailable until the 22nd.
if I run two instances of pw-record recording from the same mic simultaneously, both output files sound fine. If I record from that same mic in OBS at the same time as those two pw-record instances, all three sound fine. Perhaps this is an OBS issue in the way it interacts with Pipewire?
A1RM4X commentedon Mar 18, 2025
Thanks for sharing your feedback @amenoko !
I have no idea what is the process to aggravate the priority of this Issue, but this should be the TOP one on Linux. It is impossible to create any multi track recording with only one hardware device on Linux with OBS. And it has been the case for a long time... This feature is a almost a requirement when it comes to content creation...
stephematician commentedon Aug 21, 2025
I believe a workaround (in the meantime) would be to create a loopback node in pipewire?
A1RM4X commentedon Jan 21, 2026
With the help of Cryssness, I was able to fix my audio issue with OBS. I believe this issue surfaces after an update in pipewire related to the sound buffer of the device.
The fix: setup a fixed buffer in the pipewire properties.
How to fix: create a configuration file in your %HOME pipewire configuration (~/.config/pipewire/pipewire.conf.d)
nano ~/.config/pipewire/pipewire.conf.d/99-low-latency.confthen restart wireplumber / pipewire services
Launch OBS and enjoy recording multiple track on Linux without any issue / crackly sound.
Cheers!
guix: Add pipewire configuration.
winex commentedon Apr 16, 2026
FYI:
settings could be changed w/o restarting anything (probably not every one, but most)
from
pipewire-bin/debian orpipewire-utils/fedora packagepress
Qto quitlatency
btw,
8192/48 (kHz)==170msis insanely high latency!if you are setting such
quantumvalues for anything to avoid crackling, then your CPU is overloaded with something else: check whetherpipewireserver process correctly getsRTpriority and/or try using-rtkernel instead (ubuntu-studioanyone?)...Lunxara commentedon Jun 9, 2026
Hey I have deleted my old comment and am coming here to report that recently this issue came back in full force, dunno if from a Kernel update the recent VLC plugin updates or the most recent Nvidia driver update but suddenly any audio that was coming through our pulse audio layer sources had crackling. Our fix of doing
in our pipewire config wasn't even working anymore. What finally fixed this, finally was replacing our sources with direct Pipewire sources using this plugin https://github.com/dimtpap/obs-pipewire-audio-capture The second we started using this and stopped using audio sources from the pipewire-pulse layer our recordings stopped having audio crackling and distortion and corruption. If the devs of OBS watching this thread could please integrate this natively that would be absolutely fantastic as this seems to be the definitive fix to finally squash this bug that keeps rearing it's ugly head. No version of OBS would resolve this for me either, the official Flatpak, the CachyOS OBS-Studio-Browser or the native Arch Linux OBS-Studio I tested all of these and it kept happening it was finally using this plugin that fully resolved the issue ^^
stephematician commentedon Jun 9, 2026
@Lunxara - oh I'm sorry I never mentioned that here, but I find that 99% of audio issues can usually be resolved by switching to the OBS pipewire plugin. There's just something odd about pipewire + pulse + OBS that doesn't play nice.
amenoko commentedon Jul 18, 2026
Oddly enough I can't replicate this anymore, even though I see you guys still having the same issue. I'm still on Arch but with newer package versions obviously, pipewire 1:1.6.8-1, OBS 32.1.2-modified (compiled locally). I have a config file that sets min-quantum to 256, changed it with pw-metadata and restarted OBS, no change. All tracks sound fine. This is with a Behringer USB interface that has 1 stereo out and 1 stereo in, I can record the stereo out monitor (primary desktop audio output) to multiple tracks in OBS and they all sound fine. I can do the same with its stereo in and I can do the same with my onboard motherboard audio. Not sure if "works on my machine" helps here but I posted about the issue before so I figured I'd follow up.