-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Description
EDIT: My question is can I run scrcpy with an options to handle this scenario better?
Supernote is an eink tablet like remarkable. My Supernote_A6_X is running an old Android 8.1.0 (Chauvet) with a very custom UI - they're also working on a linux OS.
Wanting to use scrcpy is a bit of an edge-case device (because it already has device streaming functions), but it actually almost works with scrcpy. Could be useful when device is off wifi.
I found you can get the screen to display (default will green screen) with:
scrcpy --video-codec=h264 --video-encoder=OMX.google.h264.encoder
While drawing, the screen refresh on scrcpy is fairly delayed about 4 seconds. I think this to do with the supernote being e-ink and the pen drawing is not causing a refresh of the entire device screen. The pen pulls the "black ink" up on the screen if you will - without the need to invoke a redraw on the entire screen. If I swipe to navigate pages (a full redraw), scrcpy refreshes instantaneously, basically telling me that scrcpy is refreshing quick when the entire device refreshes. That's simply not the nature of this eink device. When I print out fps it mostly sits at 0 fps indefinitely until something happens. Draw something will bump up temporarily like this:
FPS:
INFO: 0 fps
INFO: 3 fps
INFO: 8 fps
INFO: 0 fps
INFO: 0 fps
Is there a way to tell scrcpy to refresh/poll at a certain interval?
Or is this currently designed to be defined from the device itself?
I feel like if I could tell scrcpy to run at a refresh I specify, not the device, it would refresh as I draw on the device. Which would be sweet.
