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

Strange color rendering #134

Closed
nicolabotta opened this issue Feb 15, 2022 · 5 comments
Closed

Strange color rendering #134

nicolabotta opened this issue Feb 15, 2022 · 5 comments

Comments

@nicolabotta
Copy link

Thanks for providing rmview, it's a great tool!

I was wandering whether color rendering is supported. I have played a bit around and I get some weird result. Writing in red with the Ballpoint pen is rendered in black with some red strokes.

Highlighting on text works as expected but on a white background the results are quite strange, please see below. Similarly for other tools that support colors.

My device is a rM1 and I am on 2.12.1.527, the host runs Debian stable:

Linux cirrus 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 GNU/Linux

My rmview configuration is

{
  "ssh": {
    "address": ["10.11.99.1"],
    "username": "root",
    "auth_method": "key",
    "key": "/home/nicola/.ssh/id_rsa",
    "timeout": 2
  },
  "orientation": "auto",
  "pen_size": 15,
  "pen_color": "red",
  "pen_trail": 50,
  "background_color": "white",
  "hide_pen_on_press": true
}

rm-screenshot

Best+thanks! N.

@bordaigorl
Copy link
Owner

I did a couple of tests: it seems the problem is there only when annotating pdfs. If I try on a notebook the colors render without issues.
On PDFs I can see the artifacts of your screenshot, and they disappear if you change page and go back (thus triggering a full refresh).
I suspect this is a problem with the built-in VNC server running on the tablet, but to confirm one would need to reproduce the issue on the official app.
One workaround I could code up is to provide a "refresh" menu item that requests the full screen data from scratch (my guess is that the artifacts are causing by the server not sending updates for all the affected areas but only some).

@nicolabotta
Copy link
Author

I would be happy to try to reproduce the issue on the official app but having upgraded to Debian stable (bullseye) to install rmview I am now unable to install wine32 and run the official windows app under wine. I'll give it another try later but support for multiarchitecture appears to be broken.

@nicolabotta
Copy link
Author

Ok, I have managed to run the official windows app under wine on another machine running Debain buster (oldstable). As it turns out, color rendering was broken under reMarkable-2.11.0.182-win32.exe:

Screenshot_2022-02-16_13-12-30

but seems to work with reMarkable-2.12.1.187-win32.exe:

Screenshot_2022-02-16_13-21-07

@bordaigorl
Copy link
Owner

🤔 that's weird.
If I had to guess, it is possible that when you tried with 2.12.1.187 a full refresh was triggered (which would have solved the issue with 2.11.0.182 too).
Could you do one more test using 2.12.1.187 but starting with a PDF from scratch and draw in color while screensharing?

@nicolabotta
Copy link
Author

Done: you are right, 2.12.1.187 needs a refresh except when highlighting text which is immediatly rendered in color, sorry for the noise!

The only problem I am left with is that rmview needs 5-6 seconds to turn a page on my laptop (Thinkpad x230), the windows app under wine takes about 1 second, more or less like the rM.

This is a bit strange because writing in rmview is at least as fast as writing with the official windows app under wine!

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