xpra icon
Bug tracker and wiki

Opened 3 months ago

Closed 2 months ago

#1651 closed defect (needinfo)

very high latency on LAN

Reported by: mavu Owned by: mavu
Priority: major Milestone: 2.2
Component: server Version: trunk
Keywords: latency Cc:

Description (last modified by Antoine Martin)

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
  • window 1 is the xterm
  • window 5 is the game launcher
  • window 20 game client

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

Attachments (2)

xpra_info (172.9 KB) - added by mavu 3 months ago.
bug-report.txt (159.1 KB) - added by Antoine Martin 3 months ago.
converting super long bug report to attachment

Download all attachments as: .zip

Change History (4)

Changed 3 months ago by mavu

Attachment: xpra_info added

Changed 3 months ago by Antoine Martin

Attachment: bug-report.txt added

converting super long bug report to attachment

comment:1 Changed 3 months ago by Antoine Martin

Description: modified (diff)
Owner: changed from Antoine Martin to mavu

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?

comment:2 Changed 2 months ago by Antoine Martin

Resolution: needinfo
Status: newclosed

Not heard back, closing.

Note: See TracTickets for help on using tickets.