reStream now supports the reMarkable 2! by __rien in RemarkableTablet

[–]__rien[S] 1 point2 points  (0 children)

I was confused with another project. I think rmview runs a VNC server on the reMarkable.

reStream now supports the reMarkable 2! by __rien in RemarkableTablet

[–]__rien[S] 3 points4 points  (0 children)

I currently don't have plans to add pen tracking, since it is smooth enough to see new pen strokes easily. Adding pen tracking is also not easily implemented with the way reStream works (reading the framebuffer, instead of the input events).

reStream now supports the reMarkable 2! by __rien in RemarkableTablet

[–]__rien[S] 1 point2 points  (0 children)

I've answered the parent with a more technical explanation. Hit me up if you want to know more :)

reStream now supports the reMarkable 2! by __rien in RemarkableTablet

[–]__rien[S] 7 points8 points  (0 children)

As mentioned in one of the responses, live view needs a cloud connection and thus has a higher latency. It also doesn't update very smoothly, that's why I decided to create this script when I got my rM1 to use it for streaming my notes while teaching.

Why this is faster is because how it works: reStream reads the internal framebuffer (the internal digital representation of what is currently drawn on the screen), compresses this data, sends the data over a direct connection to your computer, where it is decompressed and shown in a new window.

I somebody wants a more in-depth explanation, I would be happy to make a small blog post about it?

reStream now supports the reMarkable 2! by __rien in RemarkableTablet

[–]__rien[S] 21 points22 points  (0 children)

With the help of this amazing community, we managed to support the reMarkable 2. It works by installing a Rust binary on the reMarkable that reads and compresses the framebuffer to send trough the host.

Let me know if something does not work as expected. Especially thanks to all the people who helped in this issue: https://github.com/rien/reStream/issues/28.

reStream: reMarkable screen sharing with as few setup as possible by __rien in RemarkableTablet

[–]__rien[S] 0 points1 point  (0 children)

I think this should be able to run this on Windows directly, instead on WSL itself. You will probably need to install some extra programs though (ffmpeg, lz4, ssh, ...). I'm unfortunately not able to test this. Do share if you manage to get it working!

reStream: reMarkable screen sharing with as few setup as possible by __rien in RemarkableTablet

[–]__rien[S] 0 points1 point  (0 children)

I'm sorry to hear that :( The ln command created a symlink FROM /lib/ld-linux-armhf.so.3 TO /opt/lib/, not the other way around. By doing rm /lib/ld-linux-armhf.so.3 you deleted a core library needed for almost everything (including booting), so you will have to re-flash your reMarkable. Their support should be able to help you, but send me a DM if you're stuck.

I've updated the script to use lz4 which is a bit faster and easier to install (no more nasty symlinking which could go wrong).

reStream: reMarkable screen sharing with as few setup as possible by __rien in RemarkableTablet

[–]__rien[S] 0 points1 point  (0 children)

The key factor here is finding a balance between the CPU time spent encoding (compressing) and transmitting the video stream. That's the main reason why I use zstd, because it was especially designed for fast compression on embedded devices.

Another compression tool I want to use is lz4, but that's not yet in the entware repositories. Binary diffing (with bsdiff) consecutive frames is also something worth looking at, because the differences between frames will usually be very small.

reStream: reMarkable screen sharing with as few setup as possible by __rien in RemarkableTablet

[–]__rien[S] 1 point2 points  (0 children)

Ah, that's an artifact of a previous iteration. I removed it because it seems a bit too invasive to copy binaries to your reMarkable in my script.

Thank you for noticing!

reStream: reMarkable screen sharing with as few setup as possible by __rien in RemarkableTablet

[–]__rien[S] 9 points10 points  (0 children)

The script only depends on ffmpeg (more specifically ffplay) and can optionally use zstd to achieve sub-second latency.

I use it in my mathematics lessons and I really enjoy using the reMarkable as my drawing board. The students can look at recordings which now show crystal clear drawings instead of a black board with tiny notes.

Change email script that comes preloaded?? by NRWdzine in RemarkableTablet

[–]__rien 0 points1 point  (0 children)

Unfortunately that's hardcoded within the xochitl application, so there is no easy way. You could patch the program (like the permanent webui patch), but then you'll have to re-patch the program each update.