[SOLVED] 8.2.2.2 LePotato 1/4 screen occupied in 4K

  • Hello,

    I have an issue on LePotato build.

    The kodi interface scales to 2160p in 8.2.1.2 but not in 8.2.2.2.

    The interface only occupies a quarter of the screen in this case.

    When playing a 4k movie, the kodi overlay and subtitles are displayed as if the resolution was still 1080p.

    I have restored a backup configuration that I made on 8.2.1.2 and it does not fix the problem

    Here are some photos: Imgur: The magic of the Internet

    HDR works fine too.

    On a positive note The remote through lirc works great on this build. I had to activate lirc in libreelec services configuration addon and that was it. Great work :)

  • Hello,

    Thanks for the quick answer. I did not know where to post to be honest since many users report problems to you directly on the main post :)

    Anyaway, even your suggestion does not produce the expected effect, I will try to get the logs.

  • It looks like a bug in setting free_scale but it shouldn't happen as SYTEM image is basically the same for all my S905(x) builds and nobody complained about the same bug. Can you post a result of ls -l /sys/class/graphics/fb0 and grep . /sys/class/graphics/fb0/free* when screen is set to 4K?

  • To rule out some magic happenig due to incorrect cmdline options, please update to 8.2.2.2a (it should happen automatically), run this command after update: mount -o rw,remount /flash ; mv /flash/boot.ini.update /flash/boot.ini and reboot.

  • Hello,

    Good news, the last command fixed the problem. So it seems some magic is happening in cmdline options :)

    Here are the logs for 8.2.2.2 :

    External Content pastebin.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    I can provide you with the complete zip file if needed.

    Here are the results of the commands for 8.2.2.2:

    Code
    LibreELEC:~ # ls -l /sys/class/graphics/fb0
    lrwxrwxrwx    1 root     root             0 Dec 31 10:27 /sys/class/graphics/fb0 -> ../../devices/meson-fb.14/graphics/fb0
    Code
    LibreELEC:~ # grep . /sys/class/graphics/fb0/free*
    /sys/class/graphics/fb0/free_scale:free_scale_enable:[0x0]
    /sys/class/graphics/fb0/free_scale_axis:0 0 1919 1079
    grep: /sys/class/graphics/fb0/free_scale_switch: Permission denied
    /sys/class/graphics/fb0/freescale_mode:free scale mode:
    /sys/class/graphics/fb0/freescale_mode:    0: VPU free scaler
    /sys/class/graphics/fb0/freescale_mode:    1: OSD free scaler
    /sys/class/graphics/fb0/freescale_mode:    2: OSD super scaler
    /sys/class/graphics/fb0/freescale_mode:current free_scale_mode:0

    After update to 8.2.2.2a BEFORE boot.ini change

    Logs:

    External Content pastebin.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    Code
    LibreELEC:~ # ls -l /sys/class/graphics/fb0
    lrwxrwxrwx    1 root     root             0 Dec 31 10:55 /sys/class/graphics/fb0 -> ../../devices/meson-fb.14/graphics/fb0
    Code
    LibreELEC:~ # grep . /sys/class/graphics/fb0/free*
    /sys/class/graphics/fb0/free_scale:free_scale_enable:[0x0]
    /sys/class/graphics/fb0/free_scale_axis:0 0 1919 1079
    grep: /sys/class/graphics/fb0/free_scale_switch: Permission denied
    /sys/class/graphics/fb0/freescale_mode:free scale mode:
    /sys/class/graphics/fb0/freescale_mode:    0: VPU free scaler
    /sys/class/graphics/fb0/freescale_mode:    1: OSD free scaler
    /sys/class/graphics/fb0/freescale_mode:    2: OSD super scaler
    /sys/class/graphics/fb0/freescale_mode:current free_scale_mode:0

    After update to 8.2.2.2a AFTER boot.ini change

    Code
    LibreELEC:~ # ls -l /sys/class/graphics/fb0
    lrwxrwxrwx    1 root     root             0 Dec 31 10:59 /sys/class/graphics/fb0 -> ../../devices/meson-fb.14/graphics/fb0
    Code
    LibreELEC:~ # grep . /sys/class/graphics/fb0/free*
    /sys/class/graphics/fb0/free_scale:free_scale_enable:[0x10001]
    /sys/class/graphics/fb0/free_scale_axis:0 0 1919 1079
    grep: /sys/class/graphics/fb0/free_scale_switch: Permission denied
    /sys/class/graphics/fb0/freescale_mode:free scale mode:
    /sys/class/graphics/fb0/freescale_mode:    0: VPU free scaler
    /sys/class/graphics/fb0/freescale_mode:    1: OSD free scaler
    /sys/class/graphics/fb0/freescale_mode:    2: OSD super scaler
    /sys/class/graphics/fb0/freescale_mode:current free_scale_mode:1

    There are some differences in free_scale_enable and free_scale_mode