bordaigorl / rmview

A live viewer for reMarkable written in PyQt5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Turning page time

nicolabotta opened this issue · comments

Thanks for providing rmview! The application works fine with my rM 1 (version 2.12) and Debian stable.

The writing speed is very good on my old Thinkpad x230 but it takes 5-6 seconds for rmview to turn a page. The windows app under wine needs about 1 second to turn a page on the same laptop, more or less like the rM. Is there anything that I can do to make turning pages with rmview faster?

Turning pages is indeed weirdly slow, I did not know it was that much slower than the official app.
I am not sure what could cause this. Options:

  • the server issues many small rectangle updates and rmview processes them slowly
  • the server supports an encoding which rmview does not which when used in this scenario speeds up things

If I can find the time I'll try to debug this one.
I'll keep the issue open in case somebody else can provide other ideas/data points.

Great, thanks for providing rmview and for looking into this issue!

Just pushed an update (0ebddac on branch devel) that should fix this issue.
The problem was the implementation of the RFB protocol, which was very memory-inefficient in decoding the stream of tiles.
I reimplemented it and now the latency is negligible.