Giter Site home page Giter Site logo

White screen on Windows about rmview HOT 17 CLOSED

bordaigorl avatar bordaigorl commented on July 25, 2024
White screen on Windows

from rmview.

Comments (17)

mrwth avatar mrwth commented on July 25, 2024 1

I made the edit and it works now! Thanks!

from rmview.

wouterdhooghe avatar wouterdhooghe commented on July 25, 2024

Great project! This is the furthest I got on windows to an actual screencast of the remarkable input.

However I can confirm the white screen on windows 10. The red dot does show though and moves along with the remarkable stylus. Unfortunately no actual pen strokes are displayed in the application window. Also the standard orientation seems wrong: landscape with x and y inverted.

from rmview.

bordaigorl avatar bordaigorl commented on July 25, 2024

I tested it on Win10 and it works out of the box for me.
Can you try to see which step is breaking?
Maybe inject some debug prints with

    self.fbworker.signals.onNewFrame.connect(lambda image: print("ok"))

after line 130.

from rmview.

wouterdhooghe avatar wouterdhooghe commented on July 25, 2024

Hey thanks for your quick response. I added the debug print but it doesn't show any output in the console so i guess the program does not reach this line? I'm not very good with python so i couldn't detect which line fails.
72WSvhbbj4

from rmview.

bordaigorl avatar bordaigorl commented on July 25, 2024

Ok I will need help in debugging this since I cannot reproduce it.
Can you tell me which options you are using?
And which version of PyQt?
What do you see in the standard output?
Also, can you make sure you are testing the latest version of rmview?
Have you installed LZ4 in your remarkable?

from rmview.

mrwth avatar mrwth commented on July 25, 2024

I have the same issue. On Windows 10, Anaconda distribution of Python 3.7 (all packages up to date), pyqt has version 5.9.2. LZ4 is on the remarkable. No options (also no options file). Nothing in the output (after "Connected to 10.11.99.1"). The newest version of rmview.

One additional thing which might be helpful - after the connection the displayed white window covered only a part of the remarkable screen - when I moved the pen, the red dot was not at the corresponding position. After I moved the pen to all the corners, this little problem disappeared.

from rmview.

bordaigorl avatar bordaigorl commented on July 25, 2024

Can you try the "fit to window" action from the context menu or "Actual size" or resizing the window? Trying to understand if it's a display problem

from rmview.

bordaigorl avatar bordaigorl commented on July 25, 2024

Also: can you try commenting out lines 73-77 (included) in workers.py and see if you get an error message?

from rmview.

mrwth avatar mrwth commented on July 25, 2024

commenting out produces Error: <class '_lz4framed.Lz4FramedNoDataError'> in the terminal and a window with the message "Please check your reMarkable is properly configured with LZ4 installed".
(resizing the window doesn't change anything)

from rmview.

bordaigorl avatar bordaigorl commented on July 25, 2024

Ok that helps. It would seem that LZ4 is working on the remarkable, but somehow no data is being transmitted.
Could you add

print(rmerr.read().decode('ascii'), rmstream.channel.recv_exit_status())

before line 82 in workers.py?

from rmview.

mrwth avatar mrwth commented on July 25, 2024

gives me
NameError: name 'rmerr' is not defined

edit: SORRY, now I indented in the file

gives me
126

from rmview.

bordaigorl avatar bordaigorl commented on July 25, 2024

AH!!!! try running

ssh 10.11.99.1 chmod +x lz4 

from rmview.

mrwth avatar mrwth commented on July 25, 2024

done; now I get

Error: <class 'AttributeError'> type object 'QImage' has no attribute 'Format_Grayscale16'

from rmview.

bordaigorl avatar bordaigorl commented on July 25, 2024

Progress!
Version of PyQt?

from rmview.

mrwth avatar mrwth commented on July 25, 2024

5.9.2

from rmview.

bordaigorl avatar bordaigorl commented on July 25, 2024

Ah there's the problem! From the docs:

QImage.Format_Grayscale16 The image is stored using an 16-bit grayscale format. (added in Qt 5.13)

Now, one solution is upgrading Qt. The other is replacing
QImage.Format_Grayscale16 with QImage.Format_RGB16 in workers.py.

from rmview.

bordaigorl avatar bordaigorl commented on July 25, 2024

Fantastic. I'll push a fix. Thanks so much for helping me debug!

from rmview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.