You are not logged in.

#1 2013-12-15 03:51:07

fasza2mobile
Member
Registered: 2013-11-03
Posts: 29

Need help fixing sound(fresh install)

Hi, I've got a fresh install and my first one at that, everything is up and running except sound. I followed the wiki, but I still have no sound. I checked both configure and troubleshoot part of the wiki, but so far no luck. I also did search the Internet, but both the wiki and the search turened out to be a bit confusing as the articles/forum post I dug up as well as the wiki at parts I believe refer to init.d which I don't have. I compiled some info that might shed some light on my problem, thanks for any help in advance.

Both aplay and speaker-test fail with identical error:

$ aplay < /dev/urandom
ALSA lib pcm_dmix.c:1022:(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.27.2

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

This one seem to be fine:

$ alsactl init
Found hardware: "HDA-Intel" "Realtek ALC880" "HDA:10ec0880,08800000,00100800" "0x0000" "0x0000"
Hardware is initialized using a generic method

Sound card is unmuted and set high:

$ amixer
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65
  Mono:
  Front Left: Playback 62 [95%] [27.00dB] [on]
  Front Right: Playback 62 [95%] [27.00dB] [on]

The order might have been different at some point, but it's strange to have two snd_hda_intel entries:

$ cat /proc/asound/modules
 0 snd_hda_intel
 1 snd_usb_audio
 2 snd_hda_intel
$ cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfebfc000 irq 44
 1 [Camera         ]: USB-Audio - Camera
                      Camera at usb-0000:00:1d.1-2, full speed
 2 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfe77c000 irq 17
$ lspci | grep Audio
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
01:00.1 Audio device: NVIDIA Corporation GF114 HDMI Audio Controller (rev a1)

aplay -l doesn't show the Realtek ALC880 card only the video card:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

nor does aplay -L:

$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    HDMI Audio Output
# head -n 1 /proc/asound/card0/codec*
Codec: Realtek ALC880
# head -n 1 /proc/asound/card0/codec#0
Codec: Realtek ALC880
$ lsmod | grep '^snd' | column -t
snd_hda_codec_hdmi     27054   4
snd_usb_audio          93805   0
snd_usbmidi_lib        16227   1   snd_usb_audio
snd_rawmidi            14828   1   snd_usbmidi_lib
snd_seq_device         4256    1   snd_rawmidi
snd_hda_codec_realtek  35251   1
snd_hda_intel          31255   0
snd_hda_codec          128858  3   snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep              4750    2   snd_usb_audio,snd_hda_codec
snd_pcm                63880   4   snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc         5978    2   snd_pcm,snd_hda_intel
snd_timer              14946   1   snd_pcm
snd                    44566   11  snd_hda_codec_realtek,snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device

Offline

#2 2013-12-15 10:06:15

ondoho
Member
Registered: 2013-04-30
Posts: 692
Website

Re: Need help fixing sound(fresh install)

alsa can be a bit tricky...

your nvidia gpu seems to have sound capabilities.
you should make sure that alsa sees your intel card as the default, (and maybe tell the kernel to ignore the nvidia audio completely?) if that's what you want.

Offline

Board footer

Powered by FluxBB