4k Photos being downsized

  • I am running LibreELEC on the Odroid C2 which is set to 3840x2160. In every version of LibreElec that I've tried images are being downsized to the resolution of the UI. I am actually really interested in having 4k images show up in 4k because the goal is to make this Odroid/TV combo behave more like a very high res digital picture frame.

    I can play 4k video without any downsampling (which works surprisingly well, especially on the latest alpha). However, when I view images through LibreELEC, whether that be the picture viewer, the slideshow or any of the screensaver addons I've installed they get downsampled to 1920x1080.

    I know that it is possible to show 4k images in Kodi as I am able to do so on the Odroid factory Ubuntu image. You'll probably say: "well then use the Ubuntu image". However the Ubuntu build is very slow and video playback is very glitchy in Kodi and pretty much a no go in VLC or any other non-kodi video player. I love how snappy and polished LibreElec is compared to all the other OS's I've tried on my C2.

    From digging around on various forums, I've found that Kodi likes to limit the GUI to 1920x1080 to avoid some bugs or performance issues and perhaps that is why LibreELEC is preventing the GUI from running in 4K as well. In this thread: LibreELEC kszaq posted several test patches that supposedly lift this limitation, but alas those files are no longer on his server.

    I did find this in \usr\share\kodi\system\settings\rbp.xml which might be the key to unlock this limitation:

    Trouble is this file is on a read-only squashfs'd mount, meaning I can't edit the file to see if it is indeed the culprit. I've tried remounting the partition to be Read and Write but I am not able to do get it to be writable.

    Code
    mount -o remount,rw /

    I thought about compiling my own version of LibreELEC with this setting pre-adjusted but

    1. My desktop is on Windows 10 which doesn't have a good way to compile LibreELEC and
    2. I can't find this setting anywhere in the LibreELEC Github repo for me to change. So before I go through the trouble of installing Ubuntu 16 on my desktop I'd like to know where I can make this adjustment in the repo for this change to be baked in.

    Perhaps there's another way I can change this setting that doesn't require write access to the '/' mount. I've investigated adding it to ~/.kodi/userdata/advancedsettings .xml but haven't been able to determine a syntax that correctly overrides the GUI limitation.

    Since I've been looking at this for a long time without finding a solution I thought I'd reach out to this forum to see if one of you could help me.

    Thanks in advance!

    -W

    Edited once, last by wreyniers (December 8, 2016 at 4:46 PM).