xpra icon
Bug tracker and wiki

Opened 5 years ago

Closed 5 years ago

#648 closed defect (fixed)

multiple pulseaudio warnings on client

Reported by: onlyjob Owned by: onlyjob
Priority: minor Milestone:
Component: client Version: 0.14.x
Keywords: Cc:

Description

On Debian when only "pulseaudio-utils" package is installed but not "pulseaudio" Xpra logs the following on attach:

2014-08-20 20:30:18,888 signal_safe_exec(['/usr/bin/pactl', 'list'],None) stdout=''
2014-08-20 20:30:18,888 signal_safe_exec(['/usr/bin/pactl', 'list'],None) stderr='Connection failure: Connection refused
pa_context_connect() failed: Connection refused
'
2014-08-20 20:30:18,895 signal_safe_exec(['/usr/bin/pactl', 'list'],None) stdout=''
2014-08-20 20:30:18,895 signal_safe_exec(['/usr/bin/pactl', 'list'],None) stderr='Connection failure: Connection refused
pa_context_connect() failed: Connection refused
'
2014-08-20 20:30:18,901 signal_safe_exec(['/usr/bin/pactl', 'list'],None) stdout=''
2014-08-20 20:30:18,901 signal_safe_exec(['/usr/bin/pactl', 'list'],None) stderr='Connection failure: Connection refused
pa_context_connect() failed: Connection refused
'
2014-08-20 20:30:18,909 signal_safe_exec(['/usr/bin/pactl', 'list'],None) stdout=''
2014-08-20 20:30:18,909 signal_safe_exec(['/usr/bin/pactl', 'list'],None) stderr='Connection failure: Connection refused
pa_context_connect() failed: Connection refused
'

Those warnings appears even if "speaker" and/or "pulseaudio" are disabled in "xpra.conf" as well as when I pass "--no-pulseaudio" in command line.
This did not happen in 0.13.9...

Change History (4)

comment:1 Changed 5 years ago by Antoine Martin

Owner: changed from Antoine Martin to onlyjob

I never thought of testing something like this! (how does it even work?)

r7363 fixes this for me - will backport.

Can you confirm?

comment:2 Changed 5 years ago by onlyjob

I did not test speaker forwarding on 0.14 yet (I'll open another bug if there are any problems). I only noticed errors in console hence opened this bug...

Fortunately with 0.13.* "pulseaudio" is not required on client for speaker forwarding. I'll test audio forwarding on 0.14.1 soon.

r7363 seems to fix this issue, thank you.

comment:3 Changed 5 years ago by Antoine Martin

That's right, we need pulseaudio server side for sound capture on *nix, on the client side we can use any of gstreamer's native plugins (alsa, oss, pulseaudio, ...)

comment:4 Changed 5 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

Backport was in r7367. Closing!

FYI: I'm not saying the sound is unbreakable, but it does get tested a lot... crashes would have been spotted and reproduce by now, there must be something fishy going on.

Note: See TracTickets for help on using tickets.