Giter Club home page Giter Club logo

Comments (9)

huijunchen9260 avatar huijunchen9260 commented on June 15, 2024 1

After I tried the update version, it works!
Thank you for such an awesome project!

from restream.

vinipsmaker avatar vinipsmaker commented on June 15, 2024 1

@rien, maybe you'll find this interesting: https://facebook.github.io/zstd/#small-data

With train data, zstd can beat lz4's speed. And it already has more throughput, so maybe better framerate. Although it's good to refrain ourselves from reimplementing a codec job using zstd and just stick to the basics.

Cool project, btw.

from restream.

huijunchen9260 avatar huijunchen9260 commented on June 15, 2024

If I log in the remarkable ssh and try to type it, it say no such file or directory, while zstd is actually there.

remarkable: ~/ /home/root/zstd                                                                                 
-sh: /home/root/zstd: No such file or directory
remarkable: ~/ ls zstd                                                                                         
zstd

from restream.

rien avatar rien commented on June 15, 2024

Strange. @huijunchen9260, what is your home directory on your remarkable? e.g. what does pwd produce?

from restream.

rien avatar rien commented on June 15, 2024

I have pushed a possible fix. Could you look if it fixes the problem?

from restream.

vdrummer avatar vdrummer commented on June 15, 2024

I'm experiencing the same issue:

remarkable: ~/ pwd
/home/root
remarkable: ~/ ls zstd 
zstd
remarkable: ~/ ./zstd 
-sh: ./zstd: No such file or directory
remarkable: ~/ /home/root/zstd 
-sh: /home/root/zstd: No such file or directory

sh doesn't seem to find the binary if I try to execute it.

I tried the most recent version of the script (with ~/zstd) but as you can see, the path doesn't seem to be the problem

EDIT:
Solved it: The path of ld is different on the rM. I just created a symlink.

remarkable: ~/ file zstd 
zstd: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /opt/lib/ld-linux.so.3, for GNU/Linux 3.2.0, stripped
remarkable: ~/ ln -s "/lib/ld-linux-armhf.so.3" /opt/lib/ld-linux.so.3
ln: /opt/lib/ld-linux.so.3: No such file or directory
remarkable: ~/ mkdir -p /opt/lib
remarkable: ~/ ln -s "/lib/ld-linux-armhf.so.3" /opt/lib/ld-linux.so.3
remarkable: ~/ ./zstd 
Incorrect parameters
Usage : 
      zstd [args] [FILE(s)] [-o file] 

FILE    : a filename 
          with no FILE, or when FILE is - , read standard input
Arguments : 
 -#     : # compression level (1-19, default: 3) 
 -d     : decompression 
 -D file: use `file` as Dictionary 
 -o file: result stored into `file` (only if 1 input file) 
 -f     : overwrite output without prompting and (de)compress links 
--rm    : remove source file(s) after successful de/compression 
 -k     : preserve source file(s) (default) 
 -h/-H  : display help/long help and exit

from restream.

rien avatar rien commented on June 15, 2024

Ah, that is probably caused by entware. I gues I could try compiling a statically linked binary of zstd.

Thanks for troubleshooting!

from restream.

vdrummer avatar vdrummer commented on June 15, 2024

I just had a look at the entware repo. It puts everything into /opt which is linked to ~/.entware but /opt doesn't exist on the rM and is created during the installation of entware.
I think a statically linked binary would be the best solution for users without entware.

You're welcome. Awesome project, by the way!

from restream.

rien avatar rien commented on June 15, 2024

I have switched to lz4 in my latest commit (9f6ba5d), which makes it a lot easier to install on the reMarkable (and as bonus: it's slightly faster!).

from restream.

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.