[winswitch] [Xpra] Sound problem

John Smith johnss1221 at gmail.com
Tue Dec 1 10:11:31 GMT 2015

> > "inactive" means the xpra-sound process (PID 49163) is not used. The
> > value of "TIME+" column from top command is not increased anymore
> > (0:00.12).
> >  "switched on" means I can listen the sound from client ( was
> > interrupted before ) after reattaching xpra. (1)
> So, one is a specific process state, the other measured through senses.
> Which is still leaving me confused about the meaning of that original
> sentence: (re-)starting the sound should create a new process.
> > After (1), at the server, one new xpra-sound process was appeared:
> > main-xpra(pid 1145), old-sound-xpra(49163), new-sound-xpra(53243).
> > I can't also kill old-sound-xpra process by "kill 49163", but can kill
> > by "kill -9 49163"
> Unused sound processes not going away is a known issue in 0.15 which is
> fixed in 0.16:
> http://xpra.org/trac/ticket/1001
> >     Note: quite a few sound related bugs are fixed in the 0.16.0 server.
> >
> > I tried running xpra 0.16.0 r11304 for server(trusty), same as client
> > (MS Windows 7). But the sound is disabled if I'm running xpra with it.
> > I attached the output of xpra attach with '-d sound'
> This sounds like a bug which needs to be fixed before the final release.
> Can you please create a ticket for it?
> Your client log does not contain anything of interest, the problem is
> likely to be on the server side. Maybe some missing sound plugins there?
I attached my server log. Can you please check it  ? If this problem is a
bug, I will create a ticket for it.
Thank you for the useful information that you provided.

> >     > How to switch on the sound from client without attaching?
> >     You should be able to use the systray to toggle the sound on and off.
> >
> > I found this ticket <https://www.xpra.org/trac/ticket/1003>, and used
> > "xpra control :100 sound-output stop && xpra control :100 sound-output
> > start mp3" to restarting the sound.
> This should have the same effect as using the system tray, except you
> can choose the codec to use - which is not necessarily a good thing
> since we want to retire mp3 and move to vorbis.
> Cheers
> Antoine
-------------- next part --------------
2015-12-01 09:42:17,788 Warning: failed to load the mdns avahi publisher: No module named avahi
2015-12-01 09:42:17,788  either fix your installation or use the 'mdns=no' option
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension GLX
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/Type1, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!
Xlib:  extension "RANDR" missing on display ":100".
Xlib:  extension "RANDR" missing on display ":100".
2015-12-01 09:42:19,135 Error: printing disabled:
2015-12-01 09:42:19,135  No module named cups
2015-12-01 09:42:19,410 Warning: libvpx ABI version 5 is too old:
2015-12-01 09:42:19,410  disabling YUV444P support with VP9
2015-12-01 09:42:19,538 Warning: swscale version 2.1.1 is too old:
2015-12-01 09:42:19,538  disabling YUV422P to RGB, BGR, BGRX
2015-12-01 09:42:19,539 libav: gbrp is not supported as output pixel format
2015-12-01 09:42:19,539  cannot load csc_swscale (swscale colorspace conversion): ColorspaceConverter missing from xpra.codecs.csc_swscale.colorspace_converter
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/xpra/codecs/loader.py", line 64, in codec_import_check
  File "xpra/codecs/csc_swscale/colorspace_converter.pyx", line 571, in xpra.codecs.csc_swscale.colorspace_converter.selftest (xpra/codecs/csc_swscale/colorspace_converter.c:8837)
  File "/usr/lib/python2.7/dist-packages/xpra/codecs/codec_checks.py", line 228, in testcsc
    return do_testcsc(csc_module, W, H, full, test_cs_in, test_cs_out)
  File "/usr/lib/python2.7/dist-packages/xpra/codecs/codec_checks.py", line 267, in do_testcsc
    e.init_context(W, H, cs_in, W, H, cs_out)
  File "xpra/codecs/csc_swscale/colorspace_converter.pyx", line 382, in xpra.codecs.csc_swscale.colorspace_converter.ColorspaceConverter.init_context (xpra/codecs/csc_swscale/colorspace_converter.c:5279)
AssertionError: sws_getContext returned NULL
2015-12-01 09:42:19,554 Warning: no X11 RandR support on :100
Warning: failed to import GStreamer:
 1.0 failed with: Namespace Gst not available
2015-12-01 09:42:19,848 pulseaudio server started with pid 15786
2015-12-01 09:42:19,854 using notification forwarder:
2015-12-01 09:42:19,854  DBUS-NotificationsForwarder(org.freedesktop.Notifications)
2015-12-01 09:42:19,902 started command 'xterm' with pid 15790
2015-12-01 09:42:19,903 xpra X11 version 0.16.0-r11304
2015-12-01 09:42:19,903  running with pid 15758 on Linux Ubuntu 14.04 trusty
2015-12-01 09:42:19,903  on display :100
2015-12-01 09:42:19,945 xpra is ready.
2015-12-01 09:42:20,468 New unix-domain connection received on /home/vcm12_user_c/.xpra/rebuild14.04-100
2015-12-01 09:42:20,469 Connection lost
2015-12-01 09:43:19,081 New tcp connection received from
2015-12-01 09:43:19,096 Handshake complete; enabling connection
2015-12-01 09:43:19,205 Python/Gtk2 Microsoft Windows 7 client version 0.16.0-r11304
2015-12-01 09:43:19,205  connected from 'John-PC' as 'John'
2015-12-01 09:43:19,205  using h264 as primary encoding also available:
2015-12-01 09:43:19,205   vp9, vp8, png, png/P, png/L, webp, rgb24, jpeg, rgb32
2015-12-01 09:43:19,206  client root window size is 1366x768 with 1 display:
2015-12-01 09:43:19,207   Default (361x203 mm - DPI: 96x96) workarea: 1304x768
2015-12-01 09:43:19,207     DISPLAY1 (482x271 mm - DPI: 71x71)
2015-12-01 09:43:19,232 setting key repeat rate from client: 500ms delay / 33ms interval
2015-12-01 09:43:19,233 setting keyboard layout to 'us'

More information about the shifter-users mailing list