Xpra: Ticket #1651: very high latency on LAN

OS: Debian testing (Future Buster) xpra version client + server : Xpra gtk2 client version 2.1.2-r16903 64-bit

2017-09-19 14:47:46,728  running on Linux Debian testing buster
2017-09-19 14:47:49,137 GStreamer version 1.12.2 for Python 2.7.13 64-bit

installed from winswitch repo.

commandline:

xpra --speaker=on --desktop-scaling=off --video-scaling=off --border=off --opengl=yes --exit-with-children start ssh:mars --start-child="xterm"

then start opengl application (eve online, game) with vglrun wine path/to/exe

xpra works, but the latency makes it unusable.

xpra info | grep latency.avg
damage.in_latency.avg=1891
damage.out_latency.avg=1984
window.1.damage.in_latency.avg=228
window.1.damage.out_latency.avg=228
window.1.encoding.speed.damage_latency.avg=311
window.3.damage.in_latency.avg=0
window.3.damage.out_latency.avg=0
window.3.encoding.speed.damage_latency.avg=100
window.4.damage.in_latency.avg=0
window.4.damage.out_latency.avg=0
window.4.encoding.speed.damage_latency.avg=100
window.5.damage.in_latency.avg=3610
window.5.damage.out_latency.avg=3799
window.5.encoding.speed.damage_latency.avg=792

this is on a lan with one PC connected to router, one connected to router through 100mbit switch.

I used to use the very old 0.16 version present in the debian repo, and it worked until I had to do an update, after which it stopped working with 0.16. After that I decided to update to 2.1.2 from the winswitch repo, and never got it to work again without unusable latency.

So, I know it worked at one time with the application and virtualgl.

xpra info | egrep "last_used|total_frames|total_pixels"
window.1.last_used=rgb24
window.1.total_frames.rgb24=3
window.1.total_pixels.rgb24=1510860
window.3.last_used=rgb24
window.4.last_used=rgb32
window.5.last_used=rgb24
window.5.total_frames.rgb24=4
window.5.total_pixels.rgb24=3145728
window.19.last_used=rgb24
window.20.last_used=h264
window.20.total_frames.delta=11
window.20.total_frames.h264=10
window.20.total_frames.jpeg=44
window.20.total_frames.png=7
window.20.total_frames.rgb24=27
window.20.total_pixels.delta=216332
window.20.total_pixels.h264=10427792
window.20.total_pixels.jpeg=26149524
window.20.total_pixels.png=7343616
window.20.total_pixels.rgb24=13448880

I'll attach the xpra info as file. below output from the bug-report tool



Tue, 19 Sep 2017 13:34:54 GMT - mavu: attachment set


Wed, 20 Sep 2017 05:58:16 GMT - Antoine Martin: attachment set

converting super long bug report to attachment


Wed, 20 Sep 2017 06:02:53 GMT - Antoine Martin: owner, description changed

Does this happen with other applications or just this one? Can you give me a reproducible test case that does not involve running wine? Is the latency still bad if you attach directly on the server? (assuming that it isn't headless) Does it work any better if you use a tcp connection instead of ssh? Is the server powerful enough? Have you tried setting min-speed?


Sun, 01 Oct 2017 10:01:09 GMT - Antoine Martin: status changed; resolution set

Not heard back, closing.


Sat, 23 Jan 2021 05:30:07 GMT - migration script:

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