Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to initialize audio driver 'alsa' -sometimes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
dead_parrot
n00b
n00b


Joined: 26 Mar 2012
Posts: 12
Location: /EU/PL

PostPosted: Wed Aug 15, 2012 7:44 pm    Post subject: Failed to initialize audio driver 'alsa' -sometimes Reply with quote

Hi,

I have a strange problem with an access to alsa output which appears sometimes when logged on as a second user. It is the following sequence that reproduces the problem:
1. user 1 is logged on
2. user 1 logs off
3. user 2 logs in
4. user 2 have a sound problem.

Skype and system sounds work fine, but web browsers and mplayer don't. Mplayer gives the following message
Code:

[AO_ALSA] alsa-lib: pcm_dmix.c:985:(snd_pcm_dmix_open) unable to create IPC semaphore
[AO_ALSA] Playback open error: Permission denied
Failed to initialize audio driver 'alsa'

If I run mplayer as a root it works.

I would be very thankful for any help.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Aug 15, 2012 9:13 pm    Post subject: Reply with quote

See if PAM is interfering:

find /etc/security -type f | xargs grep sound
Back to top
View user's profile Send private message
dead_parrot
n00b
n00b


Joined: 26 Mar 2012
Posts: 12
Location: /EU/PL

PostPosted: Thu Aug 16, 2012 6:48 pm    Post subject: Reply with quote

Code:

find /etc/security -type f | xargs grep sound

gives
Code:

/etc/security/group.conf:#              floppy, play, sound
/etc/security/group.conf:# the sound and play group) after work hours.
/etc/security/group.conf:#xsh; tty* ;sword;!Wk0900-1800;sound, play


nothing special, I guess.
Back to top
View user's profile Send private message
aCOSwt
Moderator
Moderator


Joined: 19 Oct 2007
Posts: 2386
Location: Hilbert space

PostPosted: Thu Aug 16, 2012 7:18 pm    Post subject: Re: Failed to initialize audio driver 'alsa' -sometimes Reply with quote

dead_parrot wrote:

Code:

[AO_ALSA] alsa-lib: pcm_dmix.c:985:(snd_pcm_dmix_open) unable to create IPC semaphore


Please post the output of :
Code:
# ipcs -ma

1/ Before user1 logs out
2/ After user2 logs in
_________________
Back to top
View user's profile Send private message
dead_parrot
n00b
n00b


Joined: 26 Mar 2012
Posts: 12
Location: /EU/PL

PostPosted: Wed Aug 22, 2012 6:40 pm    Post subject: Reply with quote

Thanks for the answer. It's strange, but now I can't reproduce this error. If it's not gone, I will return with the feedback ASAP.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum