Best settings for 4K HDR playback?

  • Hi guys, I have 2 Nexbox S905x boxes....1 with latest Kodi 17 Libreelec build on and one on android with the latest SPMC build on and the 4k movies (via Kodi addons) play spot on in the SPMC, but when i try in Libreelec they just freeze after a couple of sessions. Is there possibly something within my Libreelec settings that I could amend for smooth playback? Cheers

  • I started using these ROMs recently. 7 worked fine but 8 was having the exact same buffering problems described here. I knew it wasn't my network or my NAS and even with 100mbs, there should be plenty of bandwidth for movies twice the size as I'm trying. No mater what I tried, none of my Bluray backups would play without skipping/buffering. I wasted a couple of hours messing with settings, with no luck, and I finally got these rips to play 100%. I tried so many things so I can't be certain that this is what finally did it. But what I think it was finally was messing with the advancedsettings.xml file. Setting


    <memorysize>50000000</memorysize>
    <buffermode>1</buffermode>
    <readfactor>6.0</readfactor>


    is what started it working for me. Let me know if this helps your guys' buffering issues. I've only gone through 2 movies but I'm hopeful. I'd rather not run android.


  • I will try this today and report back, thanks


  • <memorysize>50000000</memorysize>


    50000000kb = 48828.125Mb


    I don't think that's right
    How much memory your box have?

    - Box Android Mini M8S II (Amlogic S905X, 2GB RAM, 8GB ROM)
    - Ugreen USB Ethernet Adapter Usb 3.0 2.0 [ASIX AX88179 Chipset]
    - LibreELEC 8.2 (Nougat Kernel) builds aimed at devices based on Amlogic S905/S905X SoC.


  • bytes, yo. no kilo


    I have tried to play with the advanced settings but, at least for me, the issue is the NFS/SMB implementation integrated in Kodi.
    Everything works just fine when my repository is mounted directly via NFS from the underlying OS.

    Zenbox Z11 Pro 2G/16G - 100M LAN - Wireless AC Qualcomm QCA9377 1-stream (433 Mbps) - LE 8.2.4.2-Test2

    Edited once, last by r4w ().

  • I will try your method when I get home. It's still a little temperamental. I always have to pause it a ltitle to buffer before it plays OK. Also, I'm just using ftp, I'll try the other 2 later to. But this seems to have fixed it for me. Still tinkering.

  • I tested a lot
    Buffering was no solution for me :-/


    Best result(for me) is using USB-Network adapter(Gb) and NFS protocol.
    Alternative = USB HDD

  • I've tried several different USB lan adapters, I still had the exact same buffering problems. But really the network should be able to do many movies like this at once. And my audio would have a loud pop every time it would lag for a second and then catch up. Sometimes popping on and off almost constantly. Not a single Bluray rip would play with out buffering. Sometimes I would get a few minutes but eventually it would start buffering. But now, If I pause for a few seconds in the beginning, It will play through all the way flawlessly.


    I think its the cache settings that finally fixed it for me but I did try two other commands at the same time I can't rule out. I got them from the LE 8 thread. I also gave these 2 commands through ssh. Maybe try them too.


    1.
    echo 5 > /sys/class/mpgpu/cur_freq


    2.
    fw_setenv hdmimode 1080p24hz; fw_setenv outputmode 1080p24hz


    After the second one, I was then able to manually change the refresh rate and resolution in the settings.


  • Not a single Bluray rip would play with out buffering.


    1920x1080 :huh:
    There are many ways ripping standard Bluray


    I'm talking about 4k UHD 10 bit resolution 3840x2160, for me it's not necessary to change buffering settings playing Jellyfish Bitrate Test Files(for example)
    and 4k HDR playback of Sony Camp HDR version(for example).


    In my case I found the bottleneck network and NFS protocol.
    I guess the in Your case there is another reason.

  • I also have 4k stuff that did the same thing. I just noticed that the full BR rips all did it too. That's where I started focusing. 4k also plays for me now. Booth were having the same problem. Looks like I have a new update to try now.


  • Booth were having the same problem.


    My issue is solved using NFS protocol on my NAS(wired Gb) and USB-Network adaptor.
    Known issue: SMB is not working


    Try ASIX AX88178 chipset based Network adapter

  • Hi guys, can someone advise as to why on LE whenever i try and play a 4k movie it freezes after about 5 seconds, but if i play through SPMC it works fine?


    Cheers

  • Well, as obviously most of us have no problems with freezes during playback, you will need to provide:

    • debug logs. See thread-981.html
    • sample file(s). You can try to cut off a piece from the start of the file and see if it still triggers the bug to make it easier to upload


    I also can recommend to create a fresh install of LE8 on a spare card, double check that you use the right device tree and play the problematic file without installing any addons or changing any settings to rule out a corrupted system or your own setup.

    Wetek Hub: LibreElec 8.2.3.1 (Philips 42PFL8404)
    MK808B+: LibreElec 7.0.2.7 (Samsung UE55H6270)
    OTT MXQ Pro 4k (S905): LibreElec 7.0.3.12k (Denon X1200W, 7.1, LG PF1500G)
    AKASO HM8 (S905X): CoreElec 9.0 dev build, Acer Revo 3610: Milhouse test


  • Well, as obviously most of us have no problems with freezes during playback, you will need to provide:

    • debug logs. See thread-981.html
    • sample file(s). You can try to cut off a piece from the start of the file and see if it still triggers the bug to make it easier to upload


    I also can recommend to create a fresh install of LE8 on a spare card, double check that you use the right device tree and play the problematic file without installing any addons or changing any settings to rule out a corrupted system or your own setup.


    Thank MMPP, I will look a a debug log. Just as an aside my LE is always on the nand. Do you change any of your settings to play 4k?


    Cheers

  • My only 4k sources are some demo clips, youtube streams and dvb-s2 test broadcasts. I currently use my boxes only with 1080p tv sets, but I do not think the output resolution makes any difference. I tested it once on a 4k hdmi 2.0 set, all was the same.


    Settings-wise I only have added a 3s delay for the frequency adjustment at start/stop, because my tv set takes a little time to digest the change. Almost everything else is stock.

    Wetek Hub: LibreElec 8.2.3.1 (Philips 42PFL8404)
    MK808B+: LibreElec 7.0.2.7 (Samsung UE55H6270)
    OTT MXQ Pro 4k (S905): LibreElec 7.0.3.12k (Denon X1200W, 7.1, LG PF1500G)
    AKASO HM8 (S905X): CoreElec 9.0 dev build, Acer Revo 3610: Milhouse test

  • No special Kodi settings to play 4k sources.
    I use NFS and external network adapter