You are not logged in.

#1 2014-06-06 22:36:48

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

[Solved]Alsa/pulseaudio going mute

Logging out/in with awesome/slim seems to have audio at first, but after awhile ssems to switch to pulseaudio, but then pulseaudio fails to recognize audio hardware as anything but dummy output.

Last edited by nomorewindows (2014-06-07 00:48:57)


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

Offline

#2 2014-06-06 22:56:24

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

Re: [Solved]Alsa/pulseaudio going mute

Seems to be related to FireFox.


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

Offline

#3 2014-06-07 00:06:39

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Solved]Alsa/pulseaudio going mute

fuser -v /dev/snd/*

Offline

#4 2014-06-07 00:14:38

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

Re: [Solved]Alsa/pulseaudio going mute

I can switch to a virtual console/getty and try to play sound during a mute-out and it won't play there either.  When I logout and back in to the WM it restores functionality, but something in firefox seems to trigger something with audio configuration that disables it from playing sound even with the mixer settings turned all up and unmuted.  The only thing that works during mute-out is beep.


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

Offline

#5 2014-06-07 00:20:40

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Solved]Alsa/pulseaudio going mute

That would be probably flash. What if you kill plugin-container?

fuser -v /dev/snd/*
pkill -9 plugin-container

Offline

#6 2014-06-07 00:26:21

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

Re: [Solved]Alsa/pulseaudio going mute

emeres wrote:
fuser -v /dev/snd/*
                               USER        PID ACCESS COMMAND
/dev/snd/controlC0:  <user>     xxxx F.... plugin-containe
/dev/snd/pcmC0D0p:  <user>       xxxx F...m plugin-containe
/dev/snd/timer:      <user>       xxxx f.... plugin-containe

Looks like to me that plugin-container is the problem.

emeres wrote:

That would be probably flash. What if you kill plugin-container?

fuser -v /dev/snd/*
pkill -9 plugin-container

It goes away with exiting firefox and nothing shows up with

 fuser -v /dev/snd/* 

when the failure occurs.  No applications with sound work, and fuser doesn't show anything.

Last edited by nomorewindows (2014-06-07 00:28:19)


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

Offline

#7 2014-06-07 00:35:16

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Solved]Alsa/pulseaudio going mute

If you use PA. how come flash grabs your hardware? You probably have pulseaudio set to suspend when idle. You might want to change that:

$ cat ~/.config/pulse/default.pa
[...]
### Automatically suspend sinks/sources that become idle for too long
#load-module module-suspend-on-idle
[...]

Can you change the samplerate in alsamixer?

Offline

#8 2014-06-07 00:41:04

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

Re: [Solved]Alsa/pulseaudio going mute

pkill -9 plugin-container

Causes flash to crash, and restores audio.  I run flash in dwb-git just fine (unless flash craps it out). 
I have no ~/.config/pulse/default.pa, I have only one file name 'cookie' in that dir.  I do have /etc/pulse/default.pa and it is uncommented.  Will try to fix that, and maybe what the audio pops when I switch to battery. 

emeres wrote:

Can you change samplerate in alsamixer?

I have no such option in alsamixer.

Last edited by nomorewindows (2014-06-07 00:45:16)


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

Offline

#9 2014-06-07 00:47:23

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

Re: [Solved]Alsa/pulseaudio going mute

Commented out in /etc/pulse/default.pa the line

load-module module-suspend-on-idle

and we now have sound in Firefox/flash.
Never had any problem with it before except maybe the possibility of running on battery.

Last edited by nomorewindows (2014-06-07 00:48:40)


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

Offline

Board footer

Powered by FluxBB