You are not logged in.

#1 2012-10-28 18:23:12

ridcully
Member
Registered: 2009-03-28
Posts: 52

[SOLVED] Issues with sound

Hi,

I've switched most recently from sysintv to systemd and now my sound is not working anymore. I'm not sure that this is directly related to the switch. So far, I've tried to debug it using the hints pointed out in the wiki (e.g. the ALSA page). Here are my settings:

[michael@prefect ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/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: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

and

[michael@prefect ~]$ lsmod | grep '^snd' | column -t
snd_hda_codec_hdmi     24487  4
snd_hda_codec_realtek  61065  1
snd_hda_intel          26180  0
snd_hda_codec          98033  3  snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep              6300   1  snd_hda_codec
snd_pcm                75167  3  snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc         7217   2  snd_pcm,snd_hda_intel
snd_timer              18934  1  snd_pcm
snd                    59989  7  snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel

and

[michael@prefect ~]$ ls -l /dev/snd
total 0
drwxr-xr-x 2 root root       80 Okt 28  2012 by-path
crw-rw---- 1 root audio 116,  7 Okt 28  2012 controlC0
crw-rw---- 1 root audio 116, 16 Okt 28  2012 controlC1
crw-rw---- 1 root audio 116,  6 Okt 28  2012 hwC0D0
crw-rw---- 1 root audio 116, 15 Okt 28  2012 hwC1D0
crw-rw---- 1 root audio 116, 14 Okt 28  2012 hwC1D1
crw-rw---- 1 root audio 116, 13 Okt 28  2012 hwC1D2
crw-rw---- 1 root audio 116, 12 Okt 28  2012 hwC1D3
crw-rw---- 1 root audio 116,  5 Okt 28  2012 pcmC0D0c
crw-rw---- 1 root audio 116,  4 Okt 28  2012 pcmC0D0p
crw-rw---- 1 root audio 116,  3 Okt 28  2012 pcmC0D1p
crw-rw---- 1 root audio 116,  2 Okt 28  2012 pcmC0D2c
crw-rw---- 1 root audio 116, 11 Okt 28  2012 pcmC1D3p
crw-rw---- 1 root audio 116, 10 Okt 28  2012 pcmC1D7p
crw-rw---- 1 root audio 116,  9 Okt 28  2012 pcmC1D8p
crw-rw---- 1 root audio 116,  8 Okt 28  2012 pcmC1D9p
crw-rw---- 1 root audio 116,  1 Okt 28  2012 seq
crw-rw---- 1 root audio 116, 33 Okt 28  2012 timer

I've tried to test the sound using:

speaker-test

and of course, I've did a

amixer sset Master unmute

as well. I've also created a "asoundrc" file and played around with the available options (setting different cards), but had no success. My user is in the "audio" group as well. If I look at the sound settings in Gnome, I only see a  "Dummy Output" device, which is quite odd. Has somebody a idea what I could try to debug or how to get this working?

Thanks in advance!
Michael

Last edited by ridcully (2012-10-28 19:28:06)

Offline

#2 2012-10-28 18:31:04

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: [SOLVED] Issues with sound

Thanks for all the info. The most important part you mention in the end tho. You are using gnome, which means you also use pulseaudio

whats the output of:

fuser -v /dev/snd/*
fuser -v /dev/dsp

and definately remove that ~/.asoundrc again. and probably reinstall pulseaudio-alsa


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#3 2012-10-28 18:38:33

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: [SOLVED] Issues with sound

first of all, remove your user from the audio group - it is not necessary and may even cause problems.

and as Rasi mentioned, if you use Gnome, you use PulseAudio, which means that you shouldn't (have to) configure alsa at all. Installing pulseaudio-alsa should be sufficient.

If the audio still doesn't work there is probably a problem with your user session, e.g. your user session is not properly registered with ConsoleKit/logind. How do you login?

Offline

#4 2012-10-28 19:33:27

ridcully
Member
Registered: 2009-03-28
Posts: 52

Re: [SOLVED] Issues with sound

Hi,

I'm a bit embarresed, but it is working now. After a reboot the gnome sound settings showed one device, but no sound was available (I assume that this was caused by the asoundrc). The output of "fuser -v /dev/dsp" was null. I've removed the asoundrc file and the user from the audio group and rebooted the system. Now, two devices are showing up and sound is working. I don't know what exactly happened since I rebooted the machine multiple times and it was not working correctly. I'm still puzzled why it is working (now).

So, thank you for all your help!
Michael

Offline

Board footer

Powered by FluxBB