Package msm framebuffer refresher
Created by: ollieparanoid
@drebrez found this: https://github.com/AsteroidOS/msm-fb-refresher
Some context: we have noticed, that some framebuffer drivers from Android kernels only implement double-buffering, but not single-buffering. weston, fbsplash and probably a lot of other Linux programs assume, that the single-buffering is working.
Right now we have a while true
shell-script, that forces the refresh all the time. The msm-fb-refresher
does basically the same thing, but more elegantly by only calling the necessary kernel syscall and - most importantly - with a sleep between the calls instead of running just all the time.
TODO:
-
package msm-fb-refresher
-
add a new deviceinfo option, that enables this hack -
extend the mkinitfs code to put msm-fb-refresher into the initramfs, in case that option is set -
extend the init script to actually run it, if it exists -
enable the option in all devices, that require the while true hack right now, and depend on the msm-fb-refresher package. also remove the existing while true hack.