bordaigorl / rmview

A live viewer for reMarkable written in PyQt5
GNU General Public License v3.0
754 stars 62 forks source link

Turning page time #135

Open nicolabotta opened 2 years ago

nicolabotta commented 2 years ago

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?

bordaigorl commented 2 years ago

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:

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.

nicolabotta commented 2 years ago

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

bordaigorl commented 1 year ago

Just pushed an update (0ebddac75877ae8868f94b678f39b5bb36124dc0 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.