rien / reStream

Stream your reMarkable screen over SSH.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

reMarkable build 3.6.0.1806 changes

loricott opened this issue · comments

I just updated my reMarkable to the release in question, and now the video stream is mirrored and apparently only a quarter of the screen is visible.
I am more than willing to help in solving this, and I would appreciate if someone could point me in the good direction.

IMG_20230804_171738
IMG_20230804_171750

For reference.

If it helps with the debugging, here is what I experimented with.
I edited the reStream.sh file as follows:

  1. adding vflip in the video_filters options corrects the image orientation
  2. in the selection of the remarkable model (lines 144+) the latest remarkable update does not have the /dev/shm/swtfb.01 entry, therefore it falls into the 'else' section. There, using pixel_format="rgb565le" and bytes_per_pixel=2 manages to get a readable image, with the drawback that the background is blue.

The following worked for me:

            bytes_per_pixel=2
            pixel_format="gray16be"
            video_filters="$video_filters,transpose=3"

The following worked for me:

            bytes_per_pixel=2
            pixel_format="gray16be"
            video_filters="$video_filters,transpose=3"

Hi Mahrud,
yes, it works nicely also for me.
Thanks for the solution.

By the way, also the latest update 3.6.0.1845 works.

The following worked for me:

            bytes_per_pixel=2
            pixel_format="gray16be"
            video_filters="$video_filters,transpose=3"

This is not working for me (ver 3.5.2.1807)
in this case, specifically

        else
            width=1872
            height=1404
            bytes_per_pixel=2
            fb_file=":mem:"
            pixel_format="gray16be"
            video_filters="$video_filters,transpose=3"
        fi

I have have 4 screen overlapped together and flashing
image

this is the closet I got

150   ¦ ¦ ¦ ¦ ¦ width=1404
151   ¦ ¦ ¦ ¦ ¦ height=2800
152   ¦ ¦ ¦ ¦ ¦ bytes_per_pixel=2
153   ¦ ¦ ¦ ¦ ¦ fb_file=":mem:"
154   ¦ ¦ ¦ ¦ ¦ pixel_format="gray16" 

image

On firmware version 3.8.3.197 I got problems with grey banding, wrong resolution, and mirrored image.

Thanks to the helpful messages in this thread, the following tweaks fixed it:

# in the top of the file
video_filters="curves=all='0/0 0.07/1 1/1'"

# [...]
case "$rm_version" in
# [...]
        else
            bytes_per_pixel=2
            pixel_format="gray16be"
            video_filters="$video_filters,transpose=3"
            width=1872
            height=1404
            fb_file=":mem:"
        fi

On firmware version 3.8.3.197 I got problems with grey banding, wrong resolution, and mirrored image.

Thanks to the helpful messages in this thread, the following tweaks fixed it:

# in the top of the file
video_filters="curves=all='0/0 0.07/1 1/1'"

# [...]
case "$rm_version" in
# [...]
        else
            bytes_per_pixel=2
            pixel_format="gray16be"
            video_filters="$video_filters,transpose=3"
            width=1872
            height=1404
            fb_file=":mem:"
        fi

This also worked for me today on my reMarkable 2, running version 3.8.31976

To address the dark image issue, add an eq=gamma=10 filter, like so:

video_filters="$video_filters,transpose=3,eq=gamma=10:contrast=1.15"

The contrast filter offsets some of the defects introduced by the gamma=10 filter, especially visible with thin lines.

See here for detailed ffmpeg documentation.

commented

This should be fixed in the latest release by #100. Let me know if you encounter any additional issues.