LibreELEC Leia on Rock64 issues with widevine library

  • Hi All,

    I have just done a clean install of the latest version of Libre for the Rock64 board, and it works mostly great, except for a couple of issues.

    1. I have installed the Netflix plugin, but when it tries to install widevine it downloads the huge 2G chromium image but when it tries to extract, either says there is no room or it crashes.

    I have installed to a 16G eMMC card, and there is heaps free >13G

    2. I notice the GUI is at the full 4K resolution of my screen, but when I play 1080P movies or any other resolution, the screen changes to that resolution rather than kodi scaling to 4K, is that normal behavior? ... I am used to my Nvidia Shield which does scale to 4K ...

    Any idea's to resolve would be great ..

    Many Thanks,


  • You need to share a debug logfile for us to see what the issue with decompressing widevine is (hopefully something is logged). The resolution switch is normal. It can be changed if you remove the 1080p modes from the whitelist. Kodi will then remain at 4K and will scale lower resolution media to 4K at matching refresh rates. This takes some compute power and most TV's do a better job of scaling 1080p to 4K than Kodi can, so the default behaviour of playing media at its native resolution usually gives the best result.

  • Please provide a full debug log.

    How to post a log (wiki)

    1. Enable debugging in Settings>System Settings>Logging
    2. Restart Kodi
    3. Replicate the problem.

    Note: Full logs only. No partial or modified logs.

    Do not post your logs directly into the forum, use and post the link.
  • These are the logs I get, which one should I try to paste?

    1. drwxr-xr-x 2 root root 1.0K Mar 24 20:10 archive_cache
    2. -rw-r--r-- 1 root root 951.8K Mar 24 20:17 kodi.log
    3. -rw-r--r-- 1 root root 948.0K Mar 24 20:09 kodi.old.log
    4. lrwxrwxrwx 1 root root 32 Mar 24 20:04 kodi_crash.log -> kodi_crashlog_20190324200428.log
    5. -rw-r--r-- 1 root root 35.4K Mar 24 19:59 kodi_crashlog_20190324195912.log
    6. -rw-r--r-- 1 root root 1.3M Mar 24 20:04 kodi_crashlog_20190324200428.log
    7. drwxr-xr-x 2 root root 1.0K Jan 21 2016 temp
  • I will try, but pastebin file limit is 500K, this is >900K

    I will put a google drive link up when I get home ...

    Edited once, last by bmentink ().

  • Code
    1. cat /storage/.kodi/temp/kodi.log | paste

    ^ our in-build paste function to has a 1mb limit

  • chewitt

    Thanks. However I recreated a new log by re-trying the widevine install, and this time it actually completed. Crazy ..

    I do notice though, that playback is terrible, jerky and only 11FPS and 240%CPU (out of 400%)

    Any idea's on that? ... normal 1080P plays at 30FPS and the gui at 4K is the same ..


  • Anything that you play via libwidevine is software decoded so you're dependent on the capabilities of the CPU and most ARM boards are basically weak in this area. You might find 1080p is too much and 720p or even SD are the maximum possible.

  • I'm not sure that is correct. The problem seems to be Netflix only. I have a local TV station TvOnDemand which uses libwidevine and it has no problem even with 1080p ..

  • I am 100% confident that widevine content is software decoded. There may be some other issue, but further diagnosis needs a debug log.

  • You have to build your own LibreELEC image with Widevine software decoding support for Rockchip.

    The nightly images are not optimized and won't work properly for such content.

    See the RK3328 images I made with extra patches for 720p Netflix.