Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317229 - alsa-lib pcm_dmix.c fails for none-root users
Summary: alsa-lib pcm_dmix.c fails for none-root users
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-26 05:44 UTC by fkhp
Modified: 2010-04-27 01:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fkhp 2010-04-26 05:44:36 UTC
=============== none-root user fails
games@gentoo ~ $ LANG=en_US.utf8 speaker-test

speaker-test 1.0.23

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:985:(snd_pcm_dmix_open) unable to create IPC semaphore
Playback open error: -13,Permission denied

================= root user OK
# LANG=en_US.utf8 speaker-test

speaker-test 1.0.23

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 8192
Period size range from 1024 to 1024
Using max buffer size 8192
Periods = 4
was set period_size = 1024
was set buffer_size = 8192
 0 - Front Left

========vlc fails for none-root users too.

[0x12f70c8] main blend debug: TIMER module_need() : 0.266 ms - Total 0.266 ms / 1 intvls (Avg 0.266 ms)
ALSA lib pcm_dmix.c:985:(snd_pcm_dmix_open) unable to create IPC semaphore
[0x11e76c8] qt4 video output debug: Qt: Entering Fullscreen
[0x7f786c250488] alsa audio output debug: failed to find a useable alsa configuration
QPainter::begin: Paint device returned engine == 0, type: 1
ALSA lib pcm_dmix.c:985:(snd_pcm_dmix_open) unable to create IPC semaphore
[0x11e76c8] main video output debug: Post-processing available
[0x7f786c250488] main audio output debug: using audio output module "dummy"
================= root ok

[0x12f70c8] main blend debug: TIMER module_need() : 0.266 ms - Total 0.266 ms / 1 intvls (Avg 0.266 ms)
QPainter::begin: Paint device returned engine == 0, type: 1
[0x7f0fb804f708] qt4 video output debug: Qt: Entering Fullscreen
QPainter::begin: Paint device returned engine == 0, type: 1
[0x7f0fb8112df8] alsa audio output debug: opening ALSA device `default'
[0x7f0fb8112df8] main audio output debug: thread (aout) created at priority 15 (alsa.c:687)
[0x7f0fb8112df8] main audio output debug: using audio output module "alsa"
Comment 1 Arttu Valo 2010-04-26 10:07:00 UTC
Just checking: is your user in the audio group?
Comment 2 fkhp 2010-04-27 01:13:28 UTC
it works now. thank you very much.
# gpasswd -a games audio