You are not logged in.
Pages: 1
Topic closed
Hi,I've installed archlinux but cannot get any sound to work.
I have unmuted channels with alsamixer but speaker-test gave me this output:
speaker-test 1.2.2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
I guessed audio is being outputted to the wrong device because I can hear some noises with
speaker-test -D default:PCH -c 8
So i followed the wiki and putted this on /etc/asound.conf
pcm.!default {
type plug
slave.pcm {
@func getenv
vars [ ALSAPCM ]
default "hw:PCH"
}
}
But i still cant hear anything with speaker-test.
here is it's new output:
speaker-test 1.2.2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 8544000
Period size range from 32 to 4272000
Using max buffer size 8544000
Periods = 4
Unable to set hw params for playback: Cannot allocate memory
Setting of hwparams failed: Cannot allocate memory
and it is aplay -l output:
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC3232 Analog [ALC3232 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
How can i fix it?
Last edited by amirzlf (2020-05-31 21:00:50)
Offline
That asound.conf looks weird I know it's in the wiki like that but I can't think of a usecase where that specific config will work like that. The minimal config you can do to fix this properly is
defaults.pcm.!card "PCH"
defaults.ctl.!card "PCH"
that way you'll also not lose dmix. Also make sure you really use the same speaker test invocations, lot's of cards can have issues which just a mono channel allocated use -c2 at the minimum for speaker tests.
Offline
defaults.pcm.!card "PCH" defaults.ctl.!card "PCH"
It just worked.
Thank you.
Offline
God bless you Videl.
DELL Inspiron 14-3452, 32GB emmc, 4 GB RAM
Offline
Closing this old solved topic.
Offline
Pages: 1
Topic closed