Xpra: Ticket #2677: xpra client something-something about sound

"Xpra-Python3-x86_64_4.0-r25747\xpra_cmd" attach ssh://user@ip/20 --ssh="plink -ssh -agent" --modal-windows=no --title="@title@ on @hostname@/@server-display@"
2020-03-24 12:20:20,936 Xpra GTK3 client version 4.0-r25747 64-bit
2020-03-24 12:20:20,938  running on Microsoft Windows 10
2020-03-24 12:20:21,034 Warning: failed to import opencv:
2020-03-24 12:20:21,035  No module named 'cv2'
2020-03-24 12:20:21,035  webcam forwarding is disabled
2020-03-24 12:20:21,990 GStreamer version 1.16.2 for Python 3.8.2 64-bit
2020-03-24 12:20:22,322 keyboard layout code 0x409
2020-03-24 12:20:22,322 identified as 'United States - English' : us
2020-03-24 12:20:22,501 OpenGL_accelerate module loaded
2020-03-24 12:20:22,563 Using accelerated ArrayDatatype
2020-03-24 12:20:23,468 Warning: vendor 'Intel' is greylisted,
2020-03-24 12:20:23,468  you may want to turn off OpenGL if you encounter bugs
2020-03-24 12:20:23,487 OpenGL enabled with Intel(R) HD Graphics 4000
2020-03-24 12:20:23,834  keyboard settings: layout=us
2020-03-24 12:20:23,838  desktop size is 1600x900 with 1 screen:
2020-03-24 12:20:23,840   Default (423x238 mm - DPI: 96x96) workarea: 1600x860
2020-03-24 12:20:23,841     Generic PnP Monitor (309x174 mm - DPI: 131x131)
2020-03-24 12:20:31,377 enabled remote logging
2020-03-24 12:20:31,387 Xpra GTK3 X11 server version 3.0.8-r25722 64-bit
2020-03-24 12:20:31,412  running on Linux Ubuntu 16.04 xenial
2020-03-24 12:20:31,439 Attached to 172.16.57.121:22
2020-03-24 12:20:31,445  (press Control-C to detach)
(xpra_cmd:17028): Pango-WARNING **: 12:20:32.230: couldn't load font "Bitstream Vera Sans Not-Rotated 14.662109375", falling back to "Sans Not-Rotated 14.662109375", expect ugly output.
2020-03-24 12:20:33,119 sound output using 'opus' audio codec
2020-03-24 12:20:33,268 UI thread is now blocked
2020-03-24 12:20:33,732 UI thread is running again, resuming
2020-03-24 12:25:42,306 Warning: failed to set clipboard data
2020-03-24 12:25:42,310  OpenClipboard: too many failed attempts, giving up
2020-03-24 12:35:40,724 sound output pipeline error: gst-resource-error-quark: IDirectSoundBuffer_GetStatus The operation completed successfully.
, IDirectSoundBuffer_GetCurrentPosition: The operation completed successfully.
, dwStatus: 0 (6)
2020-03-24 12:35:40,729 sound output  appsrc name=src emit-signals=0 block=0 is-live=0 stream-type=0 format=4 ! opusparse ! opusdec ! audioconvert ! audioresample ! queue name=queue min-threshold-time=0 max-size-buffers=0 max-size-bytes=0 max-size-time=450000000 leaky=2 ! volume name=volume volume=0 ! directsoundsink sync=False async=True qos=True
2020-03-24 12:35:40,730 sound output  ../gst-plugins-good-1.16.2/sys/directsound/gstdirectsoundsink.c(702)
2020-03-24 12:35:40,731 sound output  gst_directsound_sink_write ()
2020-03-24 12:35:40,732 sound output  /GstPipeline:pipeline0/GstDirectSoundSink:directsoundsink0
2020-03-24 12:35:40,734 sound output stopping
2020-03-24 13:23:30,015 UI thread is now blocked

I have been attaching and removing a USB headset around that time (but I don't know if it was that exact moment). Note that I am trying hard to disable any sound transfer (bw conservation / "not working" ; I'm starting all seamless instances with --microphone=off --speaker=off --webcam=no --pulseaudio=no)



Tue, 24 Mar 2020 12:18:41 GMT - Antoine Martin: status changed; resolution set

I don't think there's anything better we can do: gstreamer is telling us about an error, we log it and stop the audio.

r25760 improves the error formatting.

The fact that the error says "The operation completed successfully." is not particularly relevant, I would not trust it.


Sat, 23 Jan 2021 05:57:50 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2677