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

[remux] Suspend weirdness, image bad resolution/quality #54

Closed
notDavid opened this issue Jan 20, 2021 · 7 comments
Closed

[remux] Suspend weirdness, image bad resolution/quality #54

notDavid opened this issue Jan 20, 2021 · 7 comments

Comments

@notDavid
Copy link

notDavid commented Jan 20, 2021

Hi there,

FYI i noticed some weirdness on my remarkable2 with suspending after installing reumx;

  1. It seems my remarkable2 will sometimes go to suspend much faster (like 3 minutes) than before i installed remux (~ 15 minutes.)


  2. Most of the time the suspend image is really bad quality. Like for example it is only 300 pixels or something instead of 4000.
 But this does not always seem to be the case, sometimes it is the normal/proper image quality.

  3. When suspend happens after 4 minutes (and i then see the bad resolution suspend image), and i click the button to wake up the rm2 again, it wakes up but only for about 10 seconds, then it will immediately go back to the suspend image again. This repeats, until i do some activity like writing or something.

reMarkable: ~/ opkg list_installed | grep -i remux
remux - 0.1.5-1

PS. When using the button to suspend my rm2, the suspend image quality is always good.

@raisjn
Copy link
Member

raisjn commented Jan 20, 2021

thanks for the detailed bug report, i really appreciate it!

  1. It seems my remarkable2 will sometimes go to suspend much faster (like 3 minutes) than before i installed remux (~ 15 minutes.)


you can fix this by editing the xochitl.conf and setting IdleSuspendDelay to a higher value (see https://remarkablewiki.com/tips/suspendtime). if this value is unset, remux uses 4 minutes by default. is there a way this can be improved for you? (do you want the config in remux.conf? do you want remux to use same default? the default in remux was lowered because rM1 is worse with battery life than rM2)

  1. Most of the time the suspend image is really bad quality. Like for example it is only 300 pixels or something instead of 4000.
 But this does not always seem to be the case, sometimes it is the normal/proper image quality.

can you link your suspend image and can you take a picture of what you mean by bad resolution? (does it mean that the image isn't being resized or does it mean the colors are wrong, etc). for testing purposes, i can make a binary that sets the screen to an image using the same routines as remux and we'll see if it paints correctly.

  1. When suspend happens after 4 minutes (and i then see the bad resolution suspend image), and i click the button to wake up the rm2 again, it wakes up but only for about 10 seconds, then it will immediately go back to the suspend image again. This repeats, until i do some activity like writing or something.

this sounds like remux isn't properly resetting the suspend timer when it wakes from sleep. i believe a46fa08 will fix this. you can try the remux binary from https://build.rmkit.dev/master/latest/files/ (make sure to chmod +x it) to see if this fixes it.

@notDavid
Copy link
Author

Hi @raisjn, thanks for your reply;

  1. Okay great, if there's a setting that's perfectly fine with me. I will change the IdleSuspendDelay back to the default setting.

  2. Here's the original image and 2 pictures, the correct one when i press the power button, and the weird one when it goes to suspend automatically. Now that i look at it again, it looks like the "colors" are inverted...?

  1. Okay, i will test this later...

@raisjn
Copy link
Member

raisjn commented Jan 20, 2021

perfect, you gave me enough to debug part 2. i think you are right: the colors are coming out wrong (and maybe R is swapped with G or similar)

@raisjn
Copy link
Member

raisjn commented Jan 20, 2021

thanks for the test image, it helped! the issue was that the image you are using is a 8 bit grayscale and remux didn't know how to handle those properly. a new binary should be available on build.rmkit.dev (same as the URL above)

this fix will likely make it into toltec testing this week and hopefully be in stable in the next merge window (next week)

@notDavid
Copy link
Author

Thank you for the quick fix! :-)

@jonahweissman
Copy link

  1. It seems my remarkable2 will sometimes go to suspend much faster (like 3 minutes) than before i installed remux (~ 15 minutes.)

you can fix this by editing the xochitl.conf and setting IdleSuspendDelay to a higher value (see https://remarkablewiki.com/tips/suspendtime). if this value is unset, remux uses 4 minutes by default. is there a way this can be improved for you? (do you want the config in remux.conf? do you want remux to use same default? the default in remux was lowered because rM1 is worse with battery life than rM2)

I think it would make more sense for remux to use the same default as xochitl. As a new remux user (on rM2), it was kinda jarring to have the suspend time change so dramatically without me having chosen that. If it's important to let rM1 users know that they can lower the sleep time, maybe there could be a link to the wiki in the remux README.

@raisjn
Copy link
Member

raisjn commented Feb 3, 2021

I think it would make more sense for remux to use the same default as xochitl. As a new remux user (on rM2), it was kinda jarring to have the suspend time change so dramatically without me having chosen that. If it's important to let rM1 users know that they can lower the sleep time, maybe there could be a link to the wiki in the remux README.

sounds reasonable to me

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

3 participants