----- "Lennart Poettering" <[email protected]> wrote:

> On Sat, 29.08.09 17:40, Nasa ([email protected]) wrote:
> 
> > Maybe I didn't quite explain it right...  If I login into a terminal
> and
> > do a pulseaudio --start, then a "mplayer *mp3" I will get the song
> playing..
> > If I then do a startx and from the frontend open up a new terminal
> and then
> > do a "mplayer *mp3" I will get connection refused errors.  "whoami"
> in both 
> > terminals will return the same user.
> > 
> > So call me confused...
> 
> Try "PULSE_LOG=99 pactl stat". It will then show you where it tries
> to
> connect.
> 
Back again...

I finally got some sound to work.  I can start playing some music, but after 2 
- 10
minutes sound stops.  Depending on the player it may freeze or it may continue 
with 
out noticing sound has stopped...

Here's what gets logged in my syslog file (it can be repeated a couple of 
times):

When pulseaudio crashes:
Aug 31 04:25:43 ice-car pulseaudio[3109]: rtpoll.c: Assertion 'usec <= 
((pa_usec_t) 1000000ULL)*60ULL*60ULL' failed at pulsecore/rtpoll.c:516, 
function pa_rtpoll_set_timer_relative(). Aborting.
Aug 31 04:34:31 ice-car pulseaudio[7316]: pid.c: Stale PID file, overwriting.

Other seeming important stuff:
Aug 31 04:34:31 ice-car pulseaudio[7316]: pid.c: Stale PID file, overwriting.
Aug 31 04:34:31 ice-car pulseaudio[7316]: alsa-util.c: Device spdif doesn't 
support 44100 Hz, changed to 48000 Hz.
Aug 31 04:34:31 ice-car pulseaudio[7316]: alsa-util.c: Device spdif doesn't 
support 6 channels, changed to 2.
Aug 31 04:34:54 ice-car pulseaudio[7316]: module-alsa-sink.c: Increasing wakeup 
watermark to 40.00 ms
Aug 31 04:34:55 ice-car pulseaudio[7316]: module-alsa-sink.c: Increasing wakeup 
watermark to 80.00 ms
Aug 31 04:35:14 ice-car pulseaudio[7316]: module-alsa-sink.c: Increasing wakeup 
watermark to 160.00 ms
Aug 31 04:37:12 ice-car pulseaudio[2506]: polkit.c: Cannot set UID on session 
object.
Aug 31 04:37:12 ice-car pulseaudio[2506]: main.c: Called SUID root and 
real-time and/or high-priority scheduling was requested in the configuration. 
However, we lack the necessary privileges:
Aug 31 04:37:12 ice-car pulseaudio[2506]: main.c: We are not in group 
'pulse-rt', PolicyKit refuse to grant us the requested privileges and we have 
no increase RLIMIT_NICE/RLIMIT_RTPRIO resource limits.
Aug 31 04:37:12 ice-car pulseaudio[2506]: main.c: For enabling 
real-time/high-priority scheduling please acquire the appropriate PolicyKit 
privileges, or become a member of 'pulse-rt', or increase the 
RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.

I do appreciate your patience with a poor soul trying to work this out...

Nasa

BTW: pulseaudio is running prior to to this starting (verified by doing a 
pulseaudio --check) and I had already added my user
to the pulseaudio groups (including pulse-rt)
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Reply via email to