You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Somehow libremarkable's rm2fb client implementation is causing the server to stop working after executing the application once. The server no longer understands messages from either libremarkable apps OR the official rm2fb client - it is completely defunct. These log messages occur when the server becomes corrupteed:
Forcing libremarkable to use /dev/fb0 and running it under LD_PRELOAD=/opt/rm2fb/librm2fb_client.so.1.0.1 does not exhibit the issue. The application can be run any number of times without affecting the server. The issue only occurs when libremarkable is allowed to use its built-in client.
Codex version 2.11.0.442
reMarkable 2 model RM110
rm2fb server invocation: /usr/bin/env LD_PRELOAD=/opt/rm2fb/librm2fb_server.so.1.0.1 /usr/bin/xochitl
The text was updated successfully, but these errors were encountered:
use libremarkable::device::CURRENT_DEVICE;use libremarkable::framebuffer::core::Framebuffer;use libremarkable::framebuffer::FramebufferBase;fnmain(){Framebuffer::from_path(CURRENT_DEVICE.get_framebuffer_path());}
...which is wild, since of course many apps include that code. Perhaps a bug introduced very recently, something triggered by unusual use of the framebuffer, or some environmental thing?
I can try and repro, but maybe not for a couple days depending.
Good catch. Seems to be an issue with the built-in client. Found some weird crashing of the rm2fb stuff (including other apps wanting to use it) when testing the newest plato release with it. I disabled it by default there, but didn't have the time yet, to investigate further. Will do so now i guess.
Full discord message with some rationale why I didn't create this issue 2 days ago. Around that message might also be more context regarding finding / investigating this bug.
Somehow libremarkable's rm2fb client implementation is causing the server to stop working after executing the application once. The server no longer understands messages from either libremarkable apps OR the official rm2fb client - it is completely defunct. These log messages occur when the server becomes corrupteed:
Restarting rm2fb allows it to work again.
Forcing libremarkable to use
/dev/fb0
and running it underLD_PRELOAD=/opt/rm2fb/librm2fb_client.so.1.0.1
does not exhibit the issue. The application can be run any number of times without affecting the server. The issue only occurs when libremarkable is allowed to use its built-in client.Codex version 2.11.0.442
reMarkable 2 model RM110
rm2fb server invocation:
/usr/bin/env LD_PRELOAD=/opt/rm2fb/librm2fb_server.so.1.0.1 /usr/bin/xochitl
The text was updated successfully, but these errors were encountered: