ALSA Broken pipe

6 risposte [Ultimo contenuto]
friki64
Offline
Iscritto: 02/20/2019

I have no audio since I installed Trisquel and I do not know how to fix it. The kernel version is Linux 5.0.7-gnu x86_64 . The sound card is a Realtek bytcr-rt5651. Pleace somebody help me.
This is what happens if I try to play an audio file on MPV:

Playing: test.wav
(+) Audio --aid=1 (pcm_s16le)
[ao/alsa] Unable to set buffer time near: Invalid argument
AO: [alsa] 44100Hz mono 1ch s16
A: 00:00:27 / 00:00:30 (92%)

Exiting... (End of file)
[ao/alsa] Write error: Broken pipe

eric23
Offline
Iscritto: 06/30/2017

To me it sounds like you two different problems, no sound and some sort of file error.

Did you use command from a terminal?
$ mpv test.wav

Have you tried other audio files?

Do you know which desktop environment you are using? Mate, Gnome, etc...

friki64
Offline
Iscritto: 02/20/2019

The file is correctly loaded by Audacity.
Yes, I used that command.
The desktop environment is MATE 1.12.1 .

friki64
Offline
Iscritto: 02/20/2019

Card 0 "Intel HDMI/DP LPE Audio"
Card 1 "bytcr-rt5651"
"$ amixer -c 0" - No output.
"$ amixer -c 0" - https://pastebin.com/8Fpi1m8T

eric23
Offline
Iscritto: 06/30/2017

Well, I would play around with the sound settings. You can find that program (mate-volume-control) by hitting ALT+F2 and typing sound in application finder. You may have your speakers on and your headphones off from what it looks like to me in amixer. That might be important if you have external speakers to plug into your sound card.

If you like the terminal alsamixer is cool too.

>"$ amixer -c 0" - No output.
>"$ amixer -c 0" - https://pastebin.com/8Fpi1m8T

I am guessing you did "$ amixer -c 1" for the second line?

friki64
Offline
Iscritto: 02/20/2019

Yes, thanks for noticing it, I did that mistake because I was distracted.

Last time I changed something on alsamixer just got weird chirps and clicks from the speakers.

friki64
Offline
Iscritto: 02/20/2019

Last time I changed something on alsamixer things went wrong and that is what I need help.