You are not logged in.

#1 2011-09-25 00:09:41

natibo
Member
Registered: 2011-09-10
Posts: 21

[SOLVED] No Sound on Fresh Install

Well, I decided to try Arch. I was very proud of myself for managing to install everything. I even loaded KDE. I wanted to try a KDE only OS for a while.

Well, all my pride was stomped out quicjky, in that I have no sound.  I did the following:

1. installed: alsa-utils, alsa-oss, alsa-plugins
2. unmuted the sound using alsamixer
3. ran alsaconf, but found no supported drivers.
4. Added @alsa as a daemon and rebooted

No sound from browser. Tried an internet radio station with clementine and got:

Could not open audio device for playback.

Below I have tried to be helpful and posted as much output from various commands as I could. I am a newbie, and do not work in the computer indiustry. I actually do this for fun.


Here are some outputs:


natibo@myhost ~]$ ls -l /sys/module/snd/holders
total 0
lrwxrwxrwx 1 root root 0 Sep 24 20:00 snd_hda_codec -> ../../snd_hda_codec
lrwxrwxrwx 1 root root 0 Sep 24 20:00 snd_hda_codec_hdmi -> ../../snd_hda_codec_hdmi
lrwxrwxrwx 1 root root 0 Sep 24 20:00 snd_hda_codec_realtek -> ../../snd_hda_codec_realtek
lrwxrwxrwx 1 root root 0 Sep 24 20:00 snd_hda_intel -> ../../snd_hda_intel
lrwxrwxrwx 1 root root 0 Sep 24 20:00 snd_hwdep -> ../../snd_hwdep
lrwxrwxrwx 1 root root 0 Sep 24 20:00 snd_pcm -> ../../snd_pcm
lrwxrwxrwx 1 root root 0 Sep 24 20:00 snd_rawmidi -> ../../snd_rawmidi
lrwxrwxrwx 1 root root 0 Sep 24 20:00 snd_seq_device -> ../../snd_seq_device
lrwxrwxrwx 1 root root 0 Sep 24 20:00 snd_timer -> ../../snd_timer
lrwxrwxrwx 1 root root 0 Sep 24 20:00 snd_usb_audio -> ../../snd_usb_audio
lrwxrwxrwx 1 root root 0 Sep 24 20:00 snd_usbmidi_lib -> ../../snd_usbmidi_lib
[natibo@myhost ~]$ cat /proc/asound/modules
 0 snd_usb_audio
 1 snd_hda_intel
[natibo@myhost ~]$ 

Some more:


natibo@myhost ~]$ lsmod|grep '^snd' | column -t
snd_hda_codec_hdmi     22092   1
snd_hda_codec_realtek  294224  1
snd_hda_intel          22122   4
snd_hda_codec          77927   3   snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_usb_audio          91809   2
snd_usbmidi_lib        18665   1   snd_usb_audio
snd_rawmidi            19519   1   snd_usbmidi_lib
snd_seq_device         5268    1   snd_rawmidi
snd_hwdep              6325    2   snd_hda_codec,snd_usb_audio
snd_pcm                73888   5   snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_usb_audio
snd_timer              19416   2   snd_pcm
snd                    57818   21  snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_usb_audio,snd_usbmidi_lib,snd_rawmidi,snd_seq_device,snd_hwdep,snd_pcm,snd_timer
snd_page_alloc         7121    2   snd_hda_intel,snd_pcm
natibo@myhost ~]$ ls -l /dev/snd
total 0
drwxr-xr-x  2 root root       60 Sep 24 19:48 by-id
drwxr-xr-x  2 root root       80 Sep 24 19:48 by-path
crw-rw----+ 1 root audio 116, 11 Sep 24 19:48 controlC0
crw-rw----+ 1 root audio 116,  9 Sep 24 19:48 controlC1
crw-rw----+ 1 root audio 116,  8 Sep 24 19:48 hwC1D0
crw-rw----+ 1 root audio 116,  7 Sep 24 19:48 hwC1D3
crw-rw----+ 1 root audio 116, 10 Sep 24 19:49 pcmC0D0c
crw-rw----+ 1 root audio 116,  6 Sep 24 19:49 pcmC1D0c
crw-rw----+ 1 root audio 116,  5 Sep 24 19:50 pcmC1D0p
crw-rw----+ 1 root audio 116,  4 Sep 24 19:50 pcmC1D1p
crw-rw----+ 1 root audio 116,  3 Sep 24 19:48 pcmC1D2c
crw-rw----+ 1 root audio 116,  2 Sep 24 19:48 pcmC1D3p
crw-rw----  1 root audio 116,  1 Sep 24 19:48 seq
crw-rw----+ 1 root audio 116, 33 Sep 24 19:48 timer

Last edited by natibo (2011-09-27 12:49:08)

Offline

#2 2011-09-25 00:20:05

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] No Sound on Fresh Install

When pasting code, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and more convenient to scroll through.

Do not use mass highlighting.



1. Is your user in the 'audio' group?
2. Can you play e.g.other audio files, e.g. mp3s from your hard drive?

Last edited by karol (2011-09-25 00:22:25)

Offline

#3 2011-09-25 00:47:35

natibo
Member
Registered: 2011-09-10
Posts: 21

Re: [SOLVED] No Sound on Fresh Install

My user is in the audio group. mp3's will not play from the hard drive.

Offline

#4 2011-09-26 09:52:05

natibo
Member
Registered: 2011-09-10
Posts: 21

Re: [SOLVED] No Sound on Fresh Install

I tried a fresh install of Arch and now have some sound. I get the KDE login sounds and then I test the device in Phonon it plays the sound again.

I installed the flash plugin and the gstreamer codecs. However, when I try to play a video from the wen I get no sound. When I try to play an mp3 from the hard drive, I get no sound. Clementine still cannot connect to the sound device.

Offline

#5 2011-09-26 09:59:17

onny
Member
From: Europe
Registered: 2010-08-07
Posts: 46
Website

Re: [SOLVED] No Sound on Fresh Install

could you try to play a .wav-file with aplay? did you setup your audio-configuration like this https://wiki.archlinux.org/index.php/Alsa ?

Offline

#6 2011-09-26 22:42:03

natibo
Member
Registered: 2011-09-10
Posts: 21

Re: [SOLVED] No Sound on Fresh Install

I tried to play a .wav but failed. I followed everything on the alsa wiki page. I can still hear the KDE test sounds quite well. My gut tells me it's got to be something simple since I can get some sound! Ugh. I don't want to give up, but I am getting closer. I did not like Chakra.

Here is my code.

[natibo@myhost ~]$ cat /proc/asound/modules
 1 snd_usb_audio
 2 snd_hda_intel
[natibo@myhost ~]$ 
 [natibo@myhost ~]$ ls -l /sys/module/snd/holders
total 0
lrwxrwxrwx 1 root root 0 Sep 26 18:39 snd_hda_codec -> ../../snd_hda_codec
lrwxrwxrwx 1 root root 0 Sep 26 18:39 snd_hda_codec_hdmi -> ../../snd_hda_codec_hdmi
lrwxrwxrwx 1 root root 0 Sep 26 18:39 snd_hda_codec_realtek -> ../../snd_hda_codec_realtek
lrwxrwxrwx 1 root root 0 Sep 26 18:39 snd_hda_intel -> ../../snd_hda_intel
lrwxrwxrwx 1 root root 0 Sep 26 18:39 snd_hwdep -> ../../snd_hwdep
lrwxrwxrwx 1 root root 0 Sep 26 18:39 snd_pcm -> ../../snd_pcm
lrwxrwxrwx 1 root root 0 Sep 26 18:39 snd_rawmidi -> ../../snd_rawmidi
lrwxrwxrwx 1 root root 0 Sep 26 18:39 snd_seq_device -> ../../snd_seq_device
lrwxrwxrwx 1 root root 0 Sep 26 18:39 snd_timer -> ../../snd_timer
lrwxrwxrwx 1 root root 0 Sep 26 18:39 snd_usb_audio -> ../../snd_usb_audio
lrwxrwxrwx 1 root root 0 Sep 26 18:39 snd_usbmidi_lib -> ../../snd_usbmidi_lib
natibo@myhost ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 2: Intel [HDA Intel], device 0: ALC889 Analog [ALC889 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 2: Intel [HDA Intel], device 1: ALC889 Digital [ALC889 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[natibo@myhost ~]$ 

Offline

#7 2011-09-27 12:47:21

natibo
Member
Registered: 2011-09-10
Posts: 21

Re: [SOLVED] No Sound on Fresh Install

Well, apparently it was the backend. When i decided to move from gstreamer to vlc as the backend the problem was solved.

Sound seems to work for everything but Skype. Oh well, more research! Arch is hard! But, I think I am learning much.

Offline

Board footer

Powered by FluxBB