View Single Post
Old 08-18-2022, 01:58 PM   #875
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
I've never been entirely fond of the results with that approach last I checked, but it's possibly less terrible on some devices (the latency at which the frontlight reacts varies wildly between devices).

Regardless of how it ends up working, yeah, that's basically the best you can do from userland .

Keep in mind that wait might block *noticeably* longer than the visible refresh. Not a lot, but it's noticeable, especially given the timing issues mentioned earlier. And also that the wait ioctl is hilariously borked on some devices (Libra 1 for sure, jury's still out for the Libra 2 & Nia).

Last edited by NiLuJe; 08-18-2022 at 02:01 PM.
NiLuJe is offline   Reply With Quote