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

Version for paper pro? #107

Open
agheorghiu opened this issue Sep 12, 2024 · 5 comments
Open

Version for paper pro? #107

agheorghiu opened this issue Sep 12, 2024 · 5 comments

Comments

@agheorghiu
Copy link

Hi! Any chance we can get a version of reStream for the paper pro? Thanks!

@rien
Copy link
Owner

rien commented Sep 12, 2024

If the system architecture doesn't differ too much, it might be possible to use reStream with the paper pro as well. Unfortunately I don't have one so I cannot test it.

Some changes will need to be done to the underlying libraries first. I guess those devs will already be trying to make things work 😁

I'll keep you updated through this issue.

@Eeems
Copy link

Eeems commented Sep 12, 2024

If the system architecture doesn't differ too much, it might be possible to use reStream with the paper pro as well. Unfortunately I don't have one so I cannot test it.

Some changes will need to be done to the underlying libraries first. I guess those devs will already be trying to make things work 😁

I'll keep you updated through this issue.

There is no framebuffer device on the rM Paper Pro, so you'd need to hook into xochitl to find where it's storing the display in memory. There is a /dev/dri/card0 device, but I don't know enough about it to know what is possible to pull from it.

@Lewiscowles1986
Copy link

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/DRM-framebuffer-capture-tool/ta-p/1523863 has some related question from 2023 about capturing a DRM framebuffer. iMx make something on the paper pro as I remember @Eeems linking me there on Bluetooth. If they are in-charge of the DRM GPU / rendering I do not know

@Lewiscowles1986
Copy link

Another (possibly convoluted) example of capturing from DRM graphics

https://wiki.tonytascioglu.com/scripts/ffmpeg/kmsgrab_screen_capture

ffmpeg -re -f alsa -i pulse -framerate 15 -device /dev/dri/card0 -re -f kmsgrab -i - -vf 'hwmap=derive_device=vaapi,hwdownload,format=bgr0' -s 1280x720 -c:v mpeg2video -q:v 10 -g 240 -c:a libmp3lame -b:a 64k -y ~/Recordings/screencap-(date +%Y-%m-%d--%H-%M).avi

this relies on ffmpeg, which might rely on a host of other things including xwindows / wayland compatible display manager.

Suggests to me that unless the prior link is useful as-is, then getting X or Wayland running would seem like a first logical step before being able to use this approach.

@Lewiscowles1986
Copy link

More useful than being able to stream the rMPP to my computer, would be being able to stream to the rMpp, but I doubt that will be possible,

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

4 participants