View previous topic :: View next topic |
Author |
Message |
faux n00b
Joined: 26 Oct 2007 Posts: 61 Location: Linz, Austria
|
Posted: Sat May 10, 2008 2:31 pm Post subject: [SOLVED] pulsaudio won't start: Several permission errors |
|
|
Hi!
I'm playing around for a couple of days to get PulseAudio running, but I'm still at point zero: It won't start:
Code: | manuel-desktop lib # pulseaudio --system
W: pid.c: Stale PID file, overwriting.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
E: shm.c: shm_open() failed: Permission denied
W: core.c: failed to allocate shared memory pool. Falling back to a normal memory pool.
E: alsa-util.c: Error opening PCM device hw:0: Device or resource busy
E: module.c: Failed to load module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_8086_2668_alsa_playback_0"): initialization failed.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
E: x11wrap.c: XOpenDisplay() failed
E: module.c: Failed to load module "module-x11-publish" (argument: ""): initialization failed.
E: main.c: Module load failed.
E: main.c: failed to initialize daemon. |
I've configured nothing, still no HOWTO says, that is is required to configure anything. I've read the Gentoo-Wiki entry on PulseAudio and I've read some official PulseAudio wiki entry, but I'm unable to start it.
Can anyone recommend a good HOWTO to me?
Faux
Last edited by faux on Sat May 10, 2008 5:46 pm; edited 1 time in total |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sat May 10, 2008 4:53 pm Post subject: |
|
|
It's not the HOWTO problem, it probably your config.
In random order:
make sure you are both in pulse-access and audio groups
comment the line loading module-x11-publish
I think you are running either a different sound server or some program,
that already claimed soundcard, check that
and post useflags of your pulseaudio |
|
Back to top |
|
|
faux n00b
Joined: 26 Oct 2007 Posts: 61 Location: Linz, Austria
|
Posted: Sat May 10, 2008 5:12 pm Post subject: |
|
|
Thank's for the response!
VoidMage wrote: | It's not the HOWTO problem, it probably your config. |
I also think so.
VoidMage wrote: | In random order:
make sure you are both in pulse-access and audio groups |
It does not even work as root.
VoidMage wrote: | comment the line loading module-x11-publish |
Okay, the output got shorter:
Code: | manuel-desktop pulse # pulseaudio --system
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
E: shm.c: shm_open() failed: Permission denied
W: core.c: failed to allocate shared memory pool. Falling back to a normal memory pool. |
VoidMage wrote: | I think you are running either a different sound server or some program,
that already claimed soundcard, check that |
No, there is no other sound server. How do I check this, either?
VoidMage wrote: | and post useflags of your pulseaudio |
X alsa avahi dbus hal tcpd
Okay, now the daemon starts (ignoring the shm_open error). Thanks!
But: Every app which uses PulseAudio logs: E: shm.c: shm_open() failed: Permission denied. :S
Faux
Edit: Adding shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 to /etc/fstab helped. I knew this line has any function.
Thank's for you help. |
|
Back to top |
|
|
John Klug Tux's lil' helper
Joined: 20 Nov 2007 Posts: 75 Location: Minnesota
|
Posted: Sat May 10, 2008 11:36 pm Post subject: |
|
|
shm_open can be fixed by adding a line to /etc/fstab:
Code: | none /dev/shm tmpfs nodev,nosuid,noexec 0 0
|
Now mount /dev/shm
I am working on the same problem. I need to figure out how to get it to work with ALSA:iec958, the way MythTV does. It sends output to analog, but I want digital.
I get: Code: |
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.CX88x.pcm.front.0:CARD=1'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM front:1
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.CX88x.pcm.surround40.0:CARD=1'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM surround40:1
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.CX88x.pcm.surround51.0:CARD=1'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM surround41:1
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.CX88x.pcm.surround51.0:CARD=1'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM surround50:1
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.CX88x.pcm.surround51.0:CARD=1'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM surround51:1
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.CX88x.pcm.surround71.0:CARD=1'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM surround71:1
ALSA lib pcm_mmap.c:369:(snd_pcm_mmap) mmap failed: Invalid argument
W: module-alsa-source.c: Got POLLERR from ALSA
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0 |
|
|
Back to top |
|
|
|
|
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
|
|