-
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
Pulseaudio and rtaudio issues? #18
Comments
thank you. Probably it will go away when I (or author) moves to native audio drivers. the cause may be also, because I am using microphone input by default as well. You can try run the application with old driver (not new portaudio), and toggle "Mic" checkbox off. Probably it will change to better. Also, I recently optimized microphone processing pipeline, so it may also fix things for you. Microphone is needed for TRX functionality and voice control (not yet ready). |
please confirm you have any issues when NR is not active. |
Apologies for the late reply. I have just tested with the latest source, same thing happens. As soon I enable NR, it crashes. |
I built SDR++ Brown on a laptop with Intel N6000 CPU running Ubuntu 24.04 OS with PulseAudio. I experience stuttering audio with the flashing "Underflow 1" message. After rebuilding with the New Portaudio Sink, the same problem occurs. I have no audio underflows with SDR++ Brown on a Raspberry Pi 4 running Bookworm OS with Pipewire audio. |
hi, please check the original SDR++ software. If problem is same on original project, there's only so much I can do. Author promised native drivers long ago, but I'm afraid he's having long list of more interesting things to do before that... ;( |
I installed the original SDR++ version 1.2.1 (Nov. 9 2024) from the deb file sdrpp_ubuntu_noble_amd64.deb. There was no audio stuttering or underflows. Apparently the audio drivers have been updated. |
okay, i will check that out. |
btw did you try to turn off the microphone input checkbox? could be on by default, you need it off, just in case. In audio driver in sdr++brown. Restart is needed. |
With Mic input off (unchecked) the audio stutter is worse and underflow indicator is on continuously. The waterflow update is intermittent. |
Btw, what about portaudio? Is it available in your config instead of rtaudio? |
I rebuilt SDR++ Brown using the following options: |
Running into two issues ( #13 and #14) on Ubuntu 22.04 which I believe may be related to Pulseaudio with the rtaudio sink.
I'm aware there was an issue with rtaudio and pulse on the original SDR++ in the past, however I do believe this issue is unrelated (see below).
Both issues happen when using pulse no matter device or sample rate.
Issue in #14 is partially mitigated by lowering the sample rate, the flickering and noise/stutter then almost goes away.
I don't have any issues here with the original SDR++
Both issues are completely mitigated if I either switch to the "New PortAudio Sink" (surprisingly) or disable Pulseaudio (and Pipewire) completely.
I tried to adjust pulse settings in daemon.conf et al, but with no luck thus far.
System is running an AMD Ryzen 7 2700X, I will see if I can reproduce on another system and/or arch.
The text was updated successfully, but these errors were encountered: