I ran Weston on a Nexus 4 mobile phone, with a native GNU/Linux userland, and the latest Android kernel for that device from LineageOS [1]. calculate_refresh_rate() returned 1 (mHz), which gets rounded to 0 Hz later and results in nothing being drawn to the screen. This patch makes sure, that there is at least a refresh rate of 1 Hz, because it returns the default refresh rate of 60 Hz otherwise. [1]: https://github.com/LineageOS/lge-kernel-mako Signed-off-by: Oliver Smith <ollieparanoid@bitmessage.ch> Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>dev
parent
47bbdc7296
commit
a5066e00e8
Loading…
Reference in new issue