Skip to content
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

Broken pipe Error Raspberry Pi 4 #67

Open
Mikroxy opened this issue Feb 2, 2021 · 5 comments
Open

Broken pipe Error Raspberry Pi 4 #67

Mikroxy opened this issue Feb 2, 2021 · 5 comments
Assignees

Comments

@Mikroxy
Copy link

Mikroxy commented Feb 2, 2021

Hi I always get this error:
Error: alsa_write: snd_pcm_writei failed: Broken pipe
ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred

the thing is sometimes it works and sometimes it returns this error when I start the vban receptor.
But even if I was lucky and it worked after some time it starts to fail.
The Audio is stuttering a lot when this error occurs.

Any Ideas?

@mlem8
Copy link

mlem8 commented Feb 15, 2021

I fixed this error by running pulseaudio --kill before starting the vban_receptor. Not sure if you have the same underlying issue that I had though.

@Mikroxy
Copy link
Author

Mikroxy commented Feb 15, 2021

I fixed this error by running pulseaudio --kill before starting the vban_receptor. Not sure if you have the same underlying issue that I had though.

Doesn't seem to help for me. :(

@Mikroxy
Copy link
Author

Mikroxy commented Feb 16, 2021

When I start the VBAN Receptor it works 1 out of 10 times. All the other times it directly sends out that error message.
If it worked Audio Receptor works fine for 10minutes after that a slight delay appears and after 20-30 minutes the delay is about 0.5 seconds. After a while it throws this error again and I got stuttering Audio but the delay is gone.

@Mikroxy
Copy link
Author

Mikroxy commented Feb 18, 2021

It sounds like the Samplerate is wrong

@Mikroxy Mikroxy closed this as completed Mar 12, 2021
@Mikroxy Mikroxy reopened this Mar 12, 2021
@quiniouben
Copy link
Owner

Hi, sorry for the long delay in answering. An underrun for the receptor can happen if there is nothing anymore to write to the audio device and no new vban packet came in. You can try with a bigger network quality number by passing -q2 or -q3 or -q4.

@quiniouben quiniouben self-assigned this Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants