You are not logged in.

#1 2013-02-23 00:59:00

messiach2012
Member
Registered: 2013-02-10
Posts: 12

Sound

Hi,

I have latest, updated arch linux with window manager as openbox which i installed from AUR.
I have also installed chromium and firefox.

Yesterday morning, browsers were running fine when suddenly audio disappeared from flash videos. Also at the same time mplayer, mpg123, vlc have no audio output.
 
I have searched all the arch wiki, read alsa website, arch forum for a proper answer.

I ran the very comprehensive alsa diagnostic script for a diagnosis, but i am unable to understand why audio stops while running either flash or the video players i have just installed.

I have attached the alsa diagnostic script report, which is very comprehensive.


http://www.alsa-project.org/db/?f=f848c … cde34b981f

Last edited by messiach2012 (2013-02-23 01:24:39)

Offline

#2 2013-02-23 01:32:59

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Sound

Not an Installation issue, moving to Newbie Corner...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-02-23 01:57:20

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: Sound

Are the channels muted in alsamixer?


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#4 2013-02-23 02:08:51

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: Sound

First thing to check would be:
1) run alsamixer and ensure sound channels aren't muted (doubt it is muted as per your diagnostics but never hurts)
2) ensure that the proper audio device is selected
3) plugin headphones and check if audio works

Maybe some logs would help, preferably the boot logs.

Last edited by frank604 (2013-02-23 02:10:13)

Offline

#5 2013-02-23 02:11:25

messiach2012
Member
Registered: 2013-02-10
Posts: 12

Re: Sound

nomorewindows wrote:

Are the channels muted in alsamixer?

No, they are not.
Flash videos were working till yesterday morning, when suddenly only audio output stopped while flash video was running. At the same time, i checked mplayer, mpeg123 , there is no audio output there aswell.

Offline

#6 2013-02-23 02:17:08

messiach2012
Member
Registered: 2013-02-10
Posts: 12

Re: Sound

frank604 wrote:

First thing to check would be:
1) run alsamixer and ensure sound channels aren't muted (doubt it is muted as per your diagnostics but never hurts)
2) ensure that the proper audio device is selected
3) plugin headphones and check if audio works

Maybe some logs would help, preferably the boot logs.

alsamixer is not muted.
audio devices, would it be in the proc/asound folder!!
no sound in headphones.
boot logs, output from dmesg.


dmesg [ very long file ]
http://pastebin.com/N17zxqRN

these are various files and folder in /var/log, which one do you need.
i cant see a deamon.log or kernel.log file here.

Xorg.0.log      btmp     journal  old         pm-powersave.log  wtmp
Xorg.0.log.old  faillog  lastlog  pacman.log  slim.log



this is output from cat /proc/asound/devices

2: [ 0- 3]: digital audio playback
  3: [ 0- 0]: digital audio playback
  4: [ 0- 0]: digital audio capture
  5: [ 0- 3]: hardware dependent
  6: [ 0- 0]: hardware dependent
  7: [ 0]   : control
33:        : timer


ls -l /dev/snd [audio devices]

total 0
drwxr-xr-x  2 root root       60 Feb 23 01:18 by-path
crw-rw----+ 1 root audio 116,  7 Feb 23 01:18 controlC0
crw-rw----+ 1 root audio 116,  6 Feb 23 01:18 hwC0D0
crw-rw----+ 1 root audio 116,  5 Feb 23 01:18 hwC0D3
crw-rw----+ 1 root audio 116,  4 Feb 23 01:18 pcmC0D0c
crw-rw----+ 1 root audio 116,  3 Feb 23 03:02 pcmC0D0p
crw-rw----+ 1 root audio 116,  2 Feb 23 01:18 pcmC0D3p
crw-rw----  1 root audio 116,  1 Feb 23 01:18 seq
crw-rw----+ 1 root audio 116, 33 Feb 23 01:18 timer

sudo cat controlC0
cat: controlC0: File descriptor in bad state

sudo cat hwC0D0
cat: hwC0D0: No such device or address

sudo cat hwC0D3
cat: hwC0D3: No such device or address

sudo cat pcmC0D0c
cat: pcmC0D0c: File descriptor in bad state

Last edited by messiach2012 (2013-02-23 03:25:46)

Offline

#7 2013-02-23 18:45:17

messiach2012
Member
Registered: 2013-02-10
Posts: 12

Re: Sound

i looked at alsa.org again,

i found,
/etc/rc.d/alsa
/etc/conf.d/alsa

both scripts point to /var/lib/alsa/asound.state for configuration at boot.
cat outout of:

/etc/rc.d/alsa
/etc/conf.d/alsa
/var/lib/alsa/asound.state

http://pastebin.com/jDeWW1xP

Last edited by messiach2012 (2013-02-23 18:45:31)

Offline

#8 2013-02-23 20:45:25

messiach2012
Member
Registered: 2013-02-10
Posts: 12

Re: Sound

this is /proc/asound folder:
PCH  card0  cards  devices  hwdep  modules  oss  pcm  seq  timers  version

cat modules
0 snd_hda_intel

cat cards
0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7c00000 irq 50
cat devices
  2: [ 0- 3]: digital audio playback
  3: [ 0- 0]: digital audio playback
  4: [ 0- 0]: digital audio capture
  5: [ 0- 3]: hardware dependent
  6: [ 0- 0]: hardware dependent
  7: [ 0]   : control
33:        : timer

cat hwdep
00-03: HDA Codec 3
00-00: HDA Codec 0

cat oss
cat: oss: Is a directory

cat pcm
00-00: CONEXANT Analog : CONEXANT Analog : playback 1 : capture 1
00-03: HDMI 0 : HDMI 0 : playback 1

Offline

#9 2013-02-23 20:52:45

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,773

Re: Sound

Have you read this sub-article?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#10 2013-02-24 20:23:02

messiach2012
Member
Registered: 2013-02-10
Posts: 12

Re: Sound

ewaller wrote:

Have you read this sub-article?

yes, does not work.

Offline

#11 2013-02-26 02:00:28

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: Sound

messiach2012 wrote:

i looked at alsa.org again,

i found,
/etc/rc.d/alsa

I didn't think we were using rc scripts:
https://www.archlinux.org/news/final-sy … n-warning/

I don't know if removing it will fix your problem.  This thread seems to be having a similar problem:

https://bbs.archlinux.org/viewtopic.php?id=158693


I laugh, yet the joke is on me

Offline

Board footer

Powered by FluxBB