From eda2b9b08b05057b8d7f679e78bf08883401a7b6 Mon Sep 17 00:00:00 2001 From: Arne Coucheron Date: Wed, 12 Aug 2015 01:20:49 +0200 Subject: [PATCH] (wetek_play) platform_init: Use 1080p virtual size in 720p mode For AML, Kodi is by default initialized with 1080p virtual size, so doing the same in init before Kodi loads, will prevent screen corruption when switching from OpenELEC splash and Kodi. --- projects/WeTek_Play/initramfs/platform_init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/WeTek_Play/initramfs/platform_init b/projects/WeTek_Play/initramfs/platform_init index 5f36b62914..434f132c24 100755 --- a/projects/WeTek_Play/initramfs/platform_init +++ b/projects/WeTek_Play/initramfs/platform_init @@ -49,7 +49,7 @@ echo 0 > /sys/class/graphics/fb0/free_scale # Set framebuffer geometry to match the resolution case "$hdmimode" in 720*) - fbset -fb /dev/fb0 -g 1280 720 1280 1440 32 + fbset -fb /dev/fb0 -g 1280 720 1920 2160 32 ;; 1080*) fbset -fb /dev/fb0 -g 1920 1080 1920 2160 32