News for hackers. Stuff that matters.
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by jacooper on Wednesday August 24, 2022 @10:10AM (#32579688)
Look like the latency isn't great from the Gif.
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by 4oo4 on Wednesday August 24, 2022 @10:30AM (#32579943)
This might be why, it's using TCP instead of UDP?

    sudo ufw allow 1701/tcp
    sudo ufw allow 9001/tcp
https://github.com/H-M-H/Weylus#running
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by mbreese on Wednesday August 24, 2022 @02:03PM (#32583328)
I’m guessing because it’s wireless instead of plugged in. I bet a wired USB TCP connection would be much faster.

Also, if you notice, the laptop response is much faster. To me, this suggests that the drawing on the tablet might require a round trip back to the server. If so, it could probably be sped up by drawing locally/async.

Re:Weylus – Use your tablet as graphic tablet/touch screen o... by agloeregrets on Wednesday August 24, 2022 @10:29AM (#32579932)
First thing I noticed. Modern Pro tablets advertise latency in the 20ms range, this looks like a few hundred ms.
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by HMH on Wednesday August 24, 2022 @05:49PM (#32586237)
Creator here: The last time I did measurements for the latency of mirroring the screen I got about 60ms (over WIFI). The Gif is from way back before I did any optimizations at all.
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by danShumway on Thursday August 25, 2022 @12:59PM (#32596579)
Thanks for commenting.

Respectful suggestion that you have no obligation to follow up on, but it might be a good idea to replace that gif with a more recent capture, or even to just remove it? I ran into your project a while ago, before it got featured on here, and that specific gif is the sole reason I never looked into it any further; my immediate reaction was just, "oh, never mind, it looks like the latency is too high to be useful."

Seeing your comment here is actually a happy surprise since I remember thinking at the time that it would be a really cool project if only the latency was even just a bit better :)

60ms is still probably too high for most drawing (of course to be fair, WIFI I'm sure is a big part of that), but it's usable enough that I don't think I would have dismissed the project outright if I had known that the gif wasn't representative.

Either way though, cool project, and I appreciate the clarification.

Re:Weylus – Use your tablet as graphic tablet/touch screen o... by agloeregrets on Thursday August 25, 2022 @10:55AM (#32594466)
Thanks for the reply! Good to hear, thanks!