You are not logged in.

#1 2015-09-09 22:14:11

fl0rian
Member
Registered: 2015-09-09
Posts: 5

[SOLVED] Some ALSA problems, sound only with VLC Player

Hi all together,

after trying to get ALSA working almost the whole day I think I have to ask you for help.

My Problem is the following:
The only sound output I can hear at the moment is the output of VLC Player, my other applications (that I'm aware of) are all quiet (e.g. Firefox (HTML5/FlashPlayer), TeamSpeak, Audacity, Sauerbraten, WarThunder, aplay) it doesn't matter whether VLC Player is running or not or what program is started first.
Additionally my microphone works in TeamSpeak and Audacity, but not with arecord.

VLC's ouput module is set to 'Automatic'.

Different Outputs:

aplay test.wav
ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) unable to open slave
aplay: main:722: audio open error: No such file or directory

-

speaker-test -c 2
speaker-test 1.0.29
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2 No such file or directory

-

arecord -d 5 test_mic.wav
ALSA lib pcm_dsnoop.c:614:(snd_pcm_dsnoop_open) unable to open slave
arecord: main:722: audio open error: No such file or directory

-

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

-

aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default:CARD=PCH
    HDA Intel PCH, ALC892 Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, ALC892 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=HDMI,DEV=0
    HDA Intel HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA Intel HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA Intel HDMI, HDMI 2
    HDMI Audio Output

This is still showing the PulseAudio Sound Server though i removed pulseaudio with

sudo pacman -Rs pulseaudio pulseaudio-alsa
rm -r ~/.config/pulse/
sudo rm -r /etc/pulse/

-

arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

-

arecord -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default:CARD=PCH
    HDA Intel PCH, ALC892 Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, ALC892 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

-

cat /proc/asound/devices
  2: [ 0]   : control
  3: [ 0- 0]: digital audio playback
  4: [ 0- 0]: digital audio capture
  5: [ 0- 1]: digital audio playback
  6: [ 0- 0]: hardware dependent
  7: [ 1]   : control
  8: [ 1- 3]: digital audio playback
  9: [ 1- 7]: digital audio playback
 10: [ 1- 8]: digital audio playback
 11: [ 1- 0]: hardware dependent
 33:        : timer

-

cat /proc/asound/devices
 0 snd_hda_intel
 1 snd_hda_intel

-

cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7b10000 irq 34
 1 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7b14000 irq 37

-
My /etc/asound.conf only contains a few commented lines I created while trying to get it work:

#pcm.dmixer {
#	type dmix
#	ipc_key 1024
#	ipc_key_add_uid 0
#	ipc_perm 0660
#}
#pcm.dsp {
#	type plug
#	slave.pcm "dmix"
#}
#pcm.!default {
#	type plug
#	card PCM
#	slave.pcm "dmix"
#}

-

cat /etc/modprobe.d/alsa-base.conf
options snd-hda-intel index=1,0

This was necessary to get my microphone working, see https://bbs.archlinux.org/viewtopic.php?id=187031


I hope you can help me, especially as I'm still new to archlinux and pretty confused by ALSA.

Last edited by fl0rian (2015-09-10 08:23:51)

Offline

#2 2015-09-10 08:23:35

fl0rian
Member
Registered: 2015-09-09
Posts: 5

Re: [SOLVED] Some ALSA problems, sound only with VLC Player

I repeated some of the stepsI already did yesterday, now everything (as faras I see it) works.

What I did:
Delete the contents of /etc/modules, /etc/modprobe.d/alsa-base.conf and /etc/asound.conf.
Followed these steps to remove the saved ALSA settings.

As I said that's the same I did yesterday, I also rebooted a couple of times, but today it works, don't ask me why.

Thanks anyways smile

Offline

Board footer

Powered by FluxBB