You are not logged in.

#1 2020-02-10 14:11:19

merlock
Member
Registered: 2018-10-30
Posts: 113

[SOLVED] alsa-plugins 1.2.1-4 breaks sound

Disclaimer:  ALSA has always worked 'out of the box' for me, so my knowledge of Linux sound system(s) is just about nil.

Problem:  after upgrading alsa-plugins, I don't have sound anymore; trying to change the sound card in amixer doesn't work.

Pre update:

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC1220 Analog [ALC1220 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC1220 Digital [ALC1220 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
ls -l /dev/snd
total 0
drwxr-xr-x  2 root root       80 Feb  9 18:30 by-path
crw-rw----+ 1 root audio 116, 14 Feb  9 18:30 controlC0
crw-rw----+ 1 root audio 116,  8 Feb  9 18:30 controlC1
crw-rw----+ 1 root audio 116, 13 Feb  9 18:30 hwC0D0
crw-rw----+ 1 root audio 116,  7 Feb  9 18:30 hwC1D0
crw-rw----+ 1 root audio 116, 10 Feb  9 18:30 pcmC0D0c
crw-rw----+ 1 root audio 116,  9 Feb 10 08:43 pcmC0D0p
crw-rw----+ 1 root audio 116, 11 Feb  9 18:30 pcmC0D1p
crw-rw----+ 1 root audio 116, 12 Feb  9 18:30 pcmC0D2c
crw-rw----+ 1 root audio 116,  6 Feb  9 18:30 pcmC1D10p
crw-rw----+ 1 root audio 116,  2 Feb  9 18:30 pcmC1D3p
crw-rw----+ 1 root audio 116,  3 Feb  9 18:30 pcmC1D7p
crw-rw----+ 1 root audio 116,  4 Feb  9 18:30 pcmC1D8p
crw-rw----+ 1 root audio 116,  5 Feb  9 18:30 pcmC1D9p
crw-rw----+ 1 root audio 116,  1 Feb  9 18:30 seq
crw-rw----+ 1 root audio 116, 33 Feb  9 18:30 timer
lsmod | grep '^snd' | column -t
snd_hda_codec_realtek  126976  1  
snd_hda_codec_generic  94208   1  snd_hda_codec_realtek
snd_hda_codec_hdmi     73728   1  
snd_hda_intel          57344   0  
snd_intel_dspcfg       28672   1  snd_hda_intel
snd_hda_codec          163840  4  snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core           106496  5  snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep              16384   1  snd_hda_codec
snd_pcm                139264  4  snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              40960   1  snd_pcm
snd                    114688  8  snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
aplay -D default:PCH /usr/share/gnubg/sounds/fanfare.wav
Playing WAVE '/usr/share/gnubg/sounds/fanfare.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Stereo

speaker-test also works fine.

Post-update:

aplay -D default:PCH /usr/share/gnubg/sounds/fanfare.wav
ALSA lib conf.c:5115:(snd_config_expand) Unknown parameters PCH
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default:PCH
aplay: main:828: audio open error: Invalid argument
 speaker-test -c 2
speaker-test 1.2.1

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
dsp_protocol_open_node(): Could not open pcm device file /dev/dsptask/pcm2
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 1024 to 1024
Period size range from 512 to 512
Using max buffer size 1024
Periods = 4
Segmentation fault (core dumped)

Ideas?

Last edited by merlock (2020-02-10 18:21:47)


It's a big club...and you ain't in it -- George Carlin
Eenie meenie, chili beanie, the spirits are about to speak -- Bullwinkle J. Moose
Registered Linux user #149839
perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '

Offline

#2 2020-02-10 15:19:33

rafa_99
Member
Registered: 2020-02-10
Posts: 2

Re: [SOLVED] alsa-plugins 1.2.1-4 breaks sound

Same here, I don't even noticed the update because I rarely listen to music, but the other day tried playing a video and got the same error hmm

Offline

#3 2020-02-10 15:46:17

raflemakt
Member
Registered: 2020-02-10
Posts: 2

Re: [SOLVED] alsa-plugins 1.2.1-4 breaks sound

Todays alsa-plugins and lib32-alsa-plugins also broke my sound.
When trying to open cmus I got

dsp_protocol_open_node(): Could not open pcm device file /dev/dsptask/pcm2

Alsamixer also defaulted to another device.
I first tried to delete /etc/alsa/conf.d/98-maemo.conf since it points to this dsptask thing from the errmsg, this didn't solve the issue so I restored the file.

I've been able to partially solve the problem by downgrading alsa-plugins and lib32-alsa-plugins to the previous packages.

speaker-test -c 2

and also cmus works, but I'm still not getting sound from youtube videos in firefox etc.

Output from fuser -v /dev/snd/*

                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  gunnar      736 F.... pulseaudio
                     gunnar      842 F.... alsamixer
                     gunnar     1574 F.... cmus
/dev/snd/controlC1:  gunnar      736 F.... pulseaudio
/dev/snd/pcmC0D0p:   gunnar     1574 F...m cmus
/dev/snd/timer:      gunnar     1574 f.... cmus

Last edited by raflemakt (2020-02-10 16:28:08)

Offline

#4 2020-02-10 16:09:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 10,476

Re: [SOLVED] alsa-plugins 1.2.1-4 breaks sound

@raflemarkt That problem happens because you misconfigured cmus, configure it to use pulse and/or install pulseaudio-alsa, you can't have something occupy a audio device and then play something over that same device via pulseaudio.

@Thread there was an update that should fix this.: https://bugs.archlinux.org/task/65440 make sure you get alsa-plugins 1.2.1-5

Online

#5 2020-02-10 16:14:46

JPenuchot
Member
Registered: 2020-02-10
Posts: 1

Re: [SOLVED] alsa-plugins 1.2.1-4 breaks sound

Hey, same issue here. Updated this morning, I saw programs segfaulting randomly and found the same dsp_protocol_open_node() error message.

Offline

#6 2020-02-10 16:43:56

tritonas00
Member
Registered: 2013-01-20
Posts: 71

Re: [SOLVED] alsa-plugins 1.2.1-4 breaks sound

JPenuchot wrote:

Hey, same issue here. Updated this morning, I saw programs segfaulting randomly and found the same dsp_protocol_open_node() error message.

Same here

alsa-plugins-1.2.1-5 fixes the issue

Last edited by tritonas00 (2020-02-10 16:56:09)

Offline

#7 2020-02-10 16:47:25

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 10,476

Re: [SOLVED] alsa-plugins 1.2.1-4 breaks sound

Please refrain from me too posts, if you've updated to 1.2.1-5 and still see the issue mention that in the mentioned bug report.

Last edited by V1del (2020-02-10 16:47:56)

Online

#8 2020-02-10 17:07:48

raflemakt
Member
Registered: 2020-02-10
Posts: 2

Re: [SOLVED] alsa-plugins 1.2.1-4 breaks sound

updating to alsa-plugins-1.2.1-5 and then reinstalling

pulseaudio
pulseaudio-alsa

fixed this for me.

Offline

#9 2020-02-10 17:43:52

rafa_99
Member
Registered: 2020-02-10
Posts: 2

Re: [SOLVED] alsa-plugins 1.2.1-4 breaks sound

tritonas00 wrote:
JPenuchot wrote:

Hey, same issue here. Updated this morning, I saw programs segfaulting randomly and found the same dsp_protocol_open_node() error message.

Same here

alsa-plugins-1.2.1-5 fixes the issue

Yep, I can confirm, problem fixed

Offline

#10 2020-02-10 18:21:15

merlock
Member
Registered: 2018-10-30
Posts: 113

Re: [SOLVED] alsa-plugins 1.2.1-4 breaks sound

Yup, fixed for me as well.


It's a big club...and you ain't in it -- George Carlin
Eenie meenie, chili beanie, the spirits are about to speak -- Bullwinkle J. Moose
Registered Linux user #149839
perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '

Offline

Board footer

Powered by FluxBB