You are not logged in.
Hello,
I don't know why but after reboot Arch, I don't have any sound except I can hear the beep. I try different methods to have sound again. But none of them worked.
I really don't know what to do.
If it cant help , the output of cat /proc/asound/cards is:
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xd4520000 irq 54
1 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd4420000 irq 55I have a .asoundrc in my home which is:
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}When I test that command: speaker-test -c 2.
I hear nothing and the output is :
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
0 - Front Left
1 - Front RightWhen I run vlc i have a error which is :
pulse audio output error: PulseAudio server connection failure: Connection refused.I think that error is because I install pulseaudio. But when I change the audio device with PCH or Generic, I have this error:
mpgatofixed32 audio converter error: libmad error: bad main_data_begin pointer.And sound it's not working in any browser. But what I find weird it's I can't hear sound like music but I can still hear the beep when I'm on a tty.
I thank you in advance for your help.
Last edited by sylflo (2013-10-09 08:13:27)
Offline
Did you install the alsa-utils package, or just the pulseaudio package by itself? I would install alsa-utils first(if you have not already done this) and see if that fixes any sound issues you are having.
Just keep it simple.
Offline
It's already installed (alsa-utils-1.0.27.2-1) , I installed the following packages pulseaudio-alsa-2-2, pulseaudio-4.0-2. I uninstalled them to test but it the same problem no sound.
But one thing I really don't understand it's with my headphones I can hear the beep so I have sound, but just for that x).
Last edited by sylflo (2013-10-08 09:24:54)
Offline
Do you have a soundcard installed, or are you trying to use the integrated soundcard? Also, is this a laptop or a desktop?
If you are using an aftermarket soundcard, then what I would suggest doing first is removing that soundcard, then reinstall alsa and pulseaudio and see if they work for the integrated soundcard installed on your laptop/desktop. The line in the output of your speaker-test "Playback device is default" is making me think that maybe your soundcard is not configured correctly, if you are in fact using an aftermarket soundcard.
Just keep it simple.
Offline
It'a a laptop, I'm using the integrated soundcard. But I don't know maybe it's after updates because I probably did some. I'm on arch since 5 months and it's the first time I have problem like this with the sound.
Offline
You should avoid using card number in your .asoundrc. Using card name is recommended, since soundcards may be recognised in different order at boot. It may interfere with modules. So assuming your default card name is PCH use following code:
pcm.!default {
type hw
card PCH
}
ctl.!default {
type hw
card PCH
}Instead of simply using speaker-test try
aplay -D PCH /usr/share/sounds/alsa/Front_Left.wav
#eventually
aplay -D plughw:PCH /usr/share/sounds/alsa/Front_Left.wav
#or
speaker-test -D PCHto test a specific card directly.
Next check your loaded sound modules. Your should have snd-hda-intel specified to load somewhere in /etc/modules-load.d, so to check this you can use:
grep -Ri snd /etc/modules-load.d
#also check what you have loaded
lsmod | grep snd_hda From what I understand your hardware is, you should have snd-hda-intel model=pch loaded. Check /etc/modprobe.d also. Maybe it got changed in the upgrade.
The reason your hearing sound is that you have pcspkr module loaded and I assume most engineers design a hardware mix/mux between internal and external speakers in laptops, even though they seem to be two different devices. You should be able to use beep or something similar in X to test it.
Is a user required to be in audio user group to use pulseaudio? Is the pulseaudio server running?
Do you have a HDMI output on your laptop? I think the second soundcard is from your graphicscard and they usually use only one digital output, so if that card is used as primary you will not hear a thing.
Last edited by emeres (2013-10-09 07:21:58)
Offline
I found what was wrong, I don't know why but after the update all my channels in alsamixer were mute. I can hear music through browser, it works fine. But with vlc I can hear sound but I have a lot of sizzling. I try with all the devices vlc shows but it's the same. I think it's maybe a conflict with pulseaudio but I'm really not sure.
I rebooted my computer works fine x). I was searching too far away x).
Last edited by sylflo (2013-10-09 08:13:02)
Offline
Glad to hear it.
I don't know why but after the update all my channels in alsamixer were mute.
To prevent that from happening again, set your settings in alsamixer and run:
alsactl storeEither as root or as normal user. It should load your settings at boot.
Offline