xpra icon
Bug tracker and wiki

Opened 5 weeks ago

Closed 5 weeks ago

#1623 closed defect (fixed)

pulse audio does not start with xpra 1.0.7 client

Reported by: Jiang Owned by: Antoine Martin
Priority: critical Milestone: 1.1
Component: sound Version: trunk
Keywords: Cc:

Description (last modified by Antoine Martin)

I was running xpra 1.0.6 (1.0.6-r15847-2) on ubuntu 14.04 64 bit, both client and server, and everything works fine. Then I updated to xpra 1.0.7 (1.0.7-r16697-1). Sound forwarding stops working.

Specifically, I always start with --speaker-code=wav and --speaker=off, and then when I need sound I turn out speaker via context menu. When both server and client run 1.0.7, and I start speaker from context menu, I get this error message:

2017-08-14 14:14:23,462 sound output play: invalid sink: pulsesrc
2017-08-14 14:14:23,499 the wav sound sink has stopped
and sound forwarding doesn't work.

When I run 1.0.6 on the client (while the server is still 1.0.7),the error does not appear and the sound forwarding works.

It is natural to speculate that the bug is introduced, on the client side, in 1.0.7

Change History (1)

comment:1 Changed 5 weeks ago by Antoine Martin

Description: modified (diff)
Resolution: fixed
Status: newclosed

There were only two changes in the sound subsystem for 1.0.7: xpra sound commits

  • r16511 stream compressors (no problem)
  • r16512 is the culprit: in backporting r16461, the patch context matched the wrong function as the function which was meant to be patched does not even exist in the 1.0 or 2.0 branches!

This is now fixed up in r16700 and will be included in 1.0.8.
You can apply by hand, or workaround it using:

XPRA_SOUND_SINK=pulsesink xpra ...
Note: See TracTickets for help on using tickets.