Best settings for 4K HDR playback?

  • Thanks for the responses chaps. It must be something my end then, as I have x 3 Nexbox A95x S905X boxes and all 3 freeze when trying 4k movies. Yet if reinstall SPMC on android they play 4k perfect. Weird.


  • Thanks for the responses chaps. It must be something my end then, as I have x 3 Nexbox A95x S905X boxes and all 3 freeze when trying 4k movies. Yet if reinstall SPMC on android they play 4k perfect. Weird.


    If you're using NFS, I would recommend to try to mount NFS at the OS level (Mounting network shares - OpenELEC).
    Without changing anything and using the same NFS server, I get sluggish performance using the native NFS implementation in Kodi while it works perfectly if I use the same server at the OS level.


    Something similar: NFS (libnfs) Performance

    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 ().

  • R4W,


    Thanks again for reminding us to do this. I really learned the hard way on this one. It would sometimes work but always give me problems when I reflashed the new ROM. This always works perfectly without messing with it for hours. I'd suggest anyone else with mysterious buffering issues, don't be stupid like me, do like r4w says first.

  • If you're using NFS, I would recommend to try to mount NFS at the OS level (Mounting network shares - OpenELEC).
    Without changing anything and using the same NFS server, I get sluggish performance using the native NFS implementation in Kodi while it works perfectly if I use the same server at the OS level.


    Something similar: NFS (libnfs) Performance


    I'm mapping the shares on OS level, but no files are listed inside the folders. I checked my NAS and permissions look OK, created a new share just in case, I can access the shares from my Windows PC and my Android phone, and I can access them on Kodi/LibreELEC via SMB or UpNP, but not NFS.


    I'm currently automatically mapping them at boot. I tried to use # mount -t nfs 192.168.0.9:/Movies /storage/movies2/ -o nolock via SSH and it returned an error which is probably the cause of the issue:
    mount: 192.168.0.9:/Movies failed, reason given by server: Permission denied
    mount: mounting 192.168.0.9:/Movies on /storage/movies2/ failed: Bad file descriptor


    The IP for the NAS is correct and so is the share, but even if I change that to an incorrect one it doesn't make any difference and I get the same error.


    I'm not a Linux user so any help is welcome.

  • mount -t nfs 192.168.0.9:/Movies /storage/movies2/ -o nolock


    Syntax is OK
    Did You create the local folder /storage/movies2 ?
    Is 192.168.0.9:/Movies the full path to folder on NAS ?


    command to mount my NAS

    Code
    mount -t nfs 192.168.0.41:/c/backup /storage/mnt -o nolock


    where 192.168.0.41:/c/backup is full path to NAS-share and /storage/mnt is local folder on my box



    check:

    Code
    Krypton-Box:~ # mount|grep mnt
    192.168.0.41:/c/backup on /storage/mnt type nfs (rw,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,hard,nolock,proto=tcp,port=2049,timeo=70,retrans=3,sec=sys,local_lock=all,addr=192.168.0.41)
  • I ended up giving up on LibreELEC and going to an Android TV build for proper HDR support.


    Pros: HDR/10 bit output/colorspace switching actually works with an Android TV port and spmc. It looks indistinguishable from my internal player.
    Can use some Android TV apps as spmc launcher shortcuts.


    Cons: No resolution switching, so dealing with poor upscaling on anything that isn't 4k.
    Brightness bug is back on boot.
    Needed to root and use PassthroughFix.apk to fix passthrough clipping.
    SPMC is currently only available as a Jarvis build.


    I'm very tempted to use separate boxes with LibreELEC and Android on different inputs so I can have proper HDR/10bit output/colorspace switching, and also resolution switching for decent upscaling.


  • Thank you for your reply :) All paths were correct and I tried all sorts of combinatons. Seems that it might be something to do with my NAS setup.


    I was able to get it working using cifs and shares are properly mapped at reboot. Hopefully that should take care of the bandwidth issues for me.

  • Adapter works oob with LE 7.95b
    Iperf reports 180-330 Mbit


    jellyfish-140-mbps-4k-uhd-hevc-10bit.mkv runnig smooth :exclamation:


    BTW:
    Adapter is not working with Stock Android

    Sorry for resurrecting this old thread.


    I have an adapter with the same chip, but I can`t get it to work. Well, it works - but only 100 Mbit. (Last version from kszaq).


    Here is what I get:


    LibreELEC:~ # ethtool eth1

    Settings for eth1:

    Supported ports: [ TP MII ]

    Supported link modes: 10baseT/Half 10baseT/Full

    100baseT/Half 100baseT/Full

    Supported pause frame use: No

    Supports auto-negotiation: Yes

    Advertised link modes: 10baseT/Half 10baseT/Full

    100baseT/Half 100baseT/Full

    Advertised pause frame use: Symmetric Receive-only

    Advertised auto-negotiation: Yes

    Link partner advertised link modes: 10baseT/Half 10baseT/Full

    100baseT/Half 100baseT/Full

    Link partner advertised pause frame use: Symmetric Receive-only

    Link partner advertised auto-negotiation: Yes

    Speed: 100Mb/s

    Duplex: Full

    Port: MII

    PHYAD: 32

    Transceiver: internal

    Auto-negotiation: on

    Link detected: yes


    LibreELEC:~ # ethtool -i eth1

    driver: r8152

    version: v1.04.0 (2014/01/15)

    firmware-version:

    expansion-rom-version:

    bus-info: usb-xhci-hcd.0.auto-2.4

    supports-statistics: no

    supports-test: no

    supports-eeprom-access: no

    supports-register-dump: no

    supports-priv-flags: no


    LibreELEC:~ # modinfo r8152

    filename: /lib/modules/3.14.29/kernel/drivers/net/usb/r8152.ko

    license: GPL

    description: Realtek RTL8152/RTL8153 Based USB Ethernet Adapters

    author: Realtek linux nic maintainers <[email protected]>

    alias: usb:v04E8pA101d*dc*dsc*dp*ic*isc*ip*in*

    alias: usb:v0BDAp8153d*dc*dsc*dp*ic*isc*ip*in*

    alias: usb:v0BDAp8152d*dc*dsc*dp*ic*isc*ip*in*

    depends:

    intree: Y

    vermagic: 3.14.29 SMP mod_unload aarch64



    Seems right?! But only 100baseT/Full :/


    The Adapter is indeed a r8153 - pluged it in my desktop and it works fine. 1000 Mbit. I have only a Windows 10 machine to test here atm, but driver says its a realtek 8153


    Any ideas?

  • USB Network adapter = usbnet0



    Settings for usbnet0:

    Supported ports: [ TP MII ]

    Supported link modes: 10baseT/Half 10baseT/Full

    100baseT/Half 100baseT/Full

    1000baseT/Half 1000baseT/Full

    Supported pause frame use: No

    Supports auto-negotiation: Yes

    Advertised link modes: 10baseT/Half 10baseT/Full

    100baseT/Half 100baseT/Full

    1000baseT/Full

    Advertised pause frame use: Symmetric

    Advertised auto-negotiation: Yes

    Link partner advertised link modes: 10baseT/Half 10baseT/Full

    100baseT/Half 100baseT/Full

    1000baseT/Half 1000baseT/Full

    Link partner advertised pause frame use: Symmetric Receive-only

    Link partner advertised auto-negotiation: Yes

    Speed: 1000Mb/s

    Duplex: Full

    Port: MII

    PHYAD: 2

    Transceiver: internal

    Auto-negotiation: on

    Supports Wake-on: pg

    Wake-on: d

    Current message level: 0x00000007 (7)

    drv probe link

    Link detected: yes

  • USB Network adapter = usbnet0

    Not necessarily.

    My RT8153 adapter shows up as eth1 and my AX88179 adapter shows up as usbnet0.


    puked:

    I heard a fake rt8153 adapter which was 100 mpbs only probably contained 8152 chip

    RPI3 1GB, Z4 RK3368 1GB, MINI MX-G 2GB, Mini M8S II (coreelec.org 9.2.1), H96 Pro (coreelec.org 9.2.1), ODORID N2 (coreelec.org 9.2.1), VIM3 PRO (coreelec.org 9.2.1), Beelink GT King (coreelec.org 9.2.1), Denon AVR-X2600H, LG 60SJ810V
    pel.hu

  • as I said - I tested it on my windows machine and it is indeed gigabit - does not just say so, but gives me gigabit speeds. Copied a file over smb and got ~40 MB/S. ID hints to 8153, too


    edit: Works on a raspi (raspbian) ootb - gigabit here, too.

  • SPMC is currently only available as a Jarvis build.

    There were a couple of scattered Krypton attempts by SPMC, but it is likely to remain that way for some time to come, as the SPMC developer Koying has recently moved over to the MrMC team.


    Also, HDR is still a work-in-progress in Kodi Leia.

  • @Tim_Taylor Thank you.


    could you run

    ethtool -i usbnet0

    please?

    ASIC adapter

    905X-WZ:~ # ethtool -i usbnet0

    driver: asix

    version: 22-Dec-2011

    firmware-version: ASIX AX88178 USB 2.0 Ethernet

    expansion-rom-version:

    bus-info: usb-xhci-hcd.0.auto-1

    supports-statistics: no

    supports-test: no

    supports-eeprom-access: yes

    supports-register-dump: no

    supports-priv-flags: no


    Realtek Adapter

    905X-AZ:~ # ethtool -i eth1

    driver: r8152

    version: v1.04.0 (2014/01/15)

    firmware-version:

    expansion-rom-version:

    bus-info: usb-xhci-hcd.0.auto-1

    supports-statistics: no

    supports-test: no

    supports-eeprom-access: no

    supports-register-dump: no

    supports-priv-flags: no


    905X-AZ:~ # ethtool eth1|grep -i speed

    Speed: 1000Mb/s

  • hm :/

    your adapter uses the r8152.ko module, too. as expected.


    lsusb gives me:

    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

    Bus 001 Device 035: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter

    Bus 001 Device 034: ID 05e3:0610 Genesys Logic, Inc. 4-port hub

    Bus 001 Device 033: ID 13fe:5500 Kingston Technology Company Inc.

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


    but:

    ethtool eth1|grep -i speed

    Speed: 100Mb/s


    damn :( - I have no idea


    thank you

  • 905X-AZ:~ # lsusb

    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

    Bus 001 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


    You are using an usb-hub, try to connect direct to onboard usb port

  • seems like I need another adapter.

    I´m using simple USB network adapter(s)

    I can try to test my combi adapter - 3port USB3 & Gb network


    905X-AZ:~ # ethtool -i eth1

    driver: r8152

    version: v1.04.0 (2014/01/15)

    firmware-version:

    expansion-rom-version:

    bus-info: usb-xhci-hcd.0.auto-1.1

    supports-statistics: no

    supports-test: no

    supports-eeprom-access: no

    supports-register-dump: no

    supports-priv-flags: no


    905X-AZ:~ # lsusb

    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

    Bus 001 Device 003: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter

    Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


    905X-AZ:~ # ethtool eth1|grep -i speed

    Speed: 1000Mb/s

    905X-AZ:~ # ethtool eth1|grep -i duplex

    Duplex: Full


    Your adapter fails

    Edited once, last by Tim_Taylor ().