-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio cutout after 20 minutes, and again about 40 minutes #42
Comments
It sounds like under/overrunning. What's PipeWire's quantum set to? (https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Config-PipeWire#setting-buffer-size-quantum) |
Sorry, I was our for the xmas holiday. Looking at /etc/pipewire/pipewire.conf I do not have this file. Should I proceed and create it with the values in the guide? default.clock.min-quantum = 32 Or, since there is no client specified should I do the one stated? default.clock.quantum = 1024 |
See https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Config-PipeWire#configuration-file-pipewireconf |
Done, will report back :-) |
Hi, I recorded a 1:30:00 podcast episode and the issue occured. I will proceed to chnage the value from 64 to 128. Please keep this open and will update as I go along. Next recording that I will be making is next week. |
on OBS I have it set to 48khz for audio. thought id mention this in case anyone has any input. |
Does it happen in general or only with your podcast recording setup? If you replicate the issue could you also provide a screenshot of |
tbh only with my podcast recording set up, I havent recorded anything else. I will do pw-top during the next recording and will share here. |
Quantum is reasonable on everything so there's no need to try other quantums in your config. It's most definitely a bug. Unrelated suggestion: You seem to be rerouting audio manually with qpwgraph from single ports to stereo audio input sources. You may want to consider |
In fact, could you try with a JACK Input Client source next time? The code I'm suspecting to be the problem is pretty much the same in both, I want to see if it's problematic in general or if there's something wrong just here |
They should show up in qpwgraph if you have |
Taking a shot in the dark. Can you try with this build? diff --git a/src/pipewire-audio.c b/src/pipewire-audio.c
index 95ee923..b43c936 100644
--- a/src/pipewire-audio.c
+++ b/src/pipewire-audio.c
@@ -177,7 +177,17 @@ static void on_process_cb(void *data)
struct obs_pw_audio_stream *s = data;
- struct pw_buffer *b = pw_stream_dequeue_buffer(s->stream);
+ struct pw_buffer *b = NULL;
+ {
+ struct pw_buffer *t;
+ while ((t = pw_stream_dequeue_buffer(s->stream)) != NULL) {
+ if (b) {
+ pw_stream_queue_buffer(s->stream, b);
+ }
+
+ b = t;
+ }
+ }
if (!b) {
return;
|
Will do! Sorry about no follow up, been working but we did one more recording and it happens. We will record again this tuesday and I will report back if the issue persists with the above build you shared. |
Issue persists, however it happened only once. Is there something else I should be looking for?? |
Can you try the latest commit? |
Heya, Yeah ill try it out today! |
Edit: So this finally happened with JACK as well, but i got it fixed with this workaround: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3098#note_1823699 Sorry for the false alarm, OPAC is working as intended. Thanks for the useful work that should be merged in obs! |
Im sorry, what exactly did you do? Im reading the issue report and im kinda confused... I'm on Ubuntu 22.04 btw |
Im about to give up, im still having this issue. I tried Jack and same thing. I really dont want to move back to windows for this little thing :-( if anyone else has any other suggestions please let me know |
I’ve been having similar crackling issues with my mic (completely unrelated to this plugin, btw). Seems to be solved for me, hasn’t happened in weeks; I just set a fixed |
Can you provide some steps or guide on what you did? |
@oparada1988 |
Can you try with a build from here? Under "artifacts" |
Hi Team,
Pipewire 1.0.0
Focusrite 2i2 3rd Gen
2x Elgato Wave XLR
OBS 30.0.1
Ubuntu 22.04.3
6.2.0-1018-lowlatency
So This is on a new fresh install of the OS, I had this on my previous install and did a new install to see if I could recreate it. So, within 21 minutes of recording I get this audio cut out, it also happens later on around 40 minutes. and wanted to see if anyone has experienced this before?
https://obsproject.com/tools/analyzer?log_url=https%3A%2F%2Fobsproject.com%2Flogs%2FDoBGdIdaHcqvLTMr
qpwgraph:
recording sample:
Audio.Cutout.OBS.mp4
The text was updated successfully, but these errors were encountered: