Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turning page time #135

Open
nicolabotta opened this issue Feb 17, 2022 · 3 comments
Open

Turning page time #135

nicolabotta opened this issue Feb 17, 2022 · 3 comments

Comments

@nicolabotta
Copy link

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
Copy link
Owner

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.

@nicolabotta
Copy link
Author

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

@bordaigorl
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants