Posts by himijendrix

    Hello again, thanks for replying and sorry for not providing enough information.

    Here is what I do with my autoexec.py

    I now tested it again with a different setup and router and it seems to work without a noticeable delay.

    I use two earphones connected to the player and they both start playing immediately.

    If I connect them through wifi they get a small delay, but that's explainable.

    Also if I use different video files (different content, different size, but same audio track) they get a larger delay, depending on the size I think,

    but it's still okay and barely audible.

    Before it was up to 2000 ms for some players.

    Maybe a router problem?

    Maybe the display or libreelec changing resolution/refreshrate?

    I also went through all the settings again and added the <video> tag to avoid detecting the fps automatically which I though could cause some delay before starting playback.

    I also set the display latency to 0.


    All settings are copied to advancedsettings.xml for a headless player setup.

    Sadly not every setting is explained (Proper settings documentation would be nice for the new libreelec).

    Good evening,

    I have a setup, where two screens (4k and HD) have to play videos synchronized.

    I have two minix neo u9-h with libreelec 8.2.5 from wrxstasy.

    Both players are conneced to a router via ethernet.

    On both boxes I have a small python script (/storage/.kodi/userdata/autoexec.py) that connects to a tcp port,

    which is created on an esp8266, connected via wifi to the router.

    Both players have the exactly same settings.

    The esp8266 sends a trigger message to the tcp port which in the python script starts a video via:

    xbmc.Player().play(path_to_video)

    Now my problem is, that both videos start with a different latency, which is around 1500ms. for one player and 200ms for the other.

    I already tried to synchronize the videos by addings a fixed delay,

    but this is hard to measure and not very beautiful.

    I'm not even sure if it's constant.

    Changing the video content seems to change the delay.

    Moving the wifi device around (increasing the distance to the router) seems to change the delay slightly.

    However I doubt that writing a simple message to a tcp port can result in such long latency.

    What is causing the different latency?

    1) xbmc.Plyer().play() --> it seems the most direct way to controll kodi. Could it cause latency i.e. because of internal polling?

    2) different video content (HD, 4K)? Can switchwing from the GUI's HD resolution to the 4k video resolution cause latency?

    3) low wifi on the esp8266? --> I measured the time between and the esp8266 needs 1.5 ms (!) to send the messages to the tcp ports. So I guess it should be OK.

    What else could be the reason? Any experiences with similiar setups?

    Many Greetings, Himi

    Okay, thank you very much chewitt!

    While doing my research before purchasing I got the impression,

    that the u9-h would be a future proof libreelec hardware with 10 bit hdr support.

    At this time I didn't pay attention to the Amlogic/S912 anti-support.

    By now it's also discussed in the sticky-thread a bit more clear:

    Choosing a S905 / S905X / S905D / S905W / S912 box guide

    So I will use ethernet for now and wait for amlogic change their mind or supported new devices with S905D2/X2 or S922

    ... and dream of a widely supported raspberry pi 4(k).

    I opened the box and it has a ap6356s module installed.

    The internal model number is: NEO U9-H 9CXB-C7926-162

    Which command could I use on libreelec to show driver and hardware information?

    #1

    dmesg | pastebinit

    http://ix.io/1naj

    #2

    ethtool -i wlan0

    driver: wl

    version: 0

    firmware-version:

    expansion-rom-version:

    bus-info:

    supports-statistics: no

    supports-test: no

    supports-eeprom-access: no

    supports-register-dump: no

    supports-priv-flags: no

    Hello people,


    I have a problem with tethering on the internal wifi chip of a minix u9-h box.

    The release is LibreELEC-S912.arm-8.2.5.1-444-1000nits.tar

    Using the kodi gui I can connect to an existing wifi network.

    Using connmanctl however doesn't.

    Bash
    connmanctl
    connmanctl> tether wifi off
    connmanctl> enable wif
    connmanctl> scan wifi
    (... waiting ...)
    connmanctl> services

    services just shows the wired connection:

    *AO Wired ethernet_a01e0b0a3835_cable

    After a while I receive:

    Error /net/connman/technology/wifi: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

    Repeating the whole procedure with an external wifi adapter works without problems!

    Tethering also works with the adapter using "connmanctl tether wifi on ssid_xyz secretpsk"

    If I enable tethering on the internal wifi (usb adapter disconnected), the access point appears, but if I try to connect my android phone stops showing "waiting for ip ..." and my laptop does also not connect (even if I set its IP manually).

    At this point I have no idea where to continue.

    I bough the minix u9-h mainly because of the good wifi and the large heatsink.

    It shouldn't be a driver issue, since connecting via gui perfectly works. Help would be really great <3. Could upgrading to libreelec 9 be a solution?

    Here is my dmesg log during the tethering procedure.

    After enableing tethering:

    [ 847.322751@7] CFG80211-ERROR) wl_cfg80211_del_station : Disconnect STA : ff:ff:ff:ff:ff:ff scb_val.val 3

    [ 847.324165@5] wl_iw_event: Link Down with BSSID=ac:83:f3:b4:49:2e

    [ 847.361595@5] wl_host_event: Invalid ifidx 0 for wl0

    [ 847.361789@5] wl_host_event: Invalid ifidx 0 for wl0

    [ 847.362366@7] CFG80211-ERROR) wl_cfg80211_set_mgmt_vndr_ies : vndr ie set error : -30

    [ 847.362375@7] CFG80211-ERROR) wl_cfg80211_clear_per_bss_ies : vndr_ies clear failed. Ignoring..

    [ 847.362704@7] CFG80211-ERROR) wl_cfg80211_set_mgmt_vndr_ies : vndr ie set error : -30

    [ 847.362710@7] CFG80211-ERROR) wl_cfg80211_clear_per_bss_ies : vndr_ies clear failed. Ignoring..

    [ 847.808079@2] CFG80211-ERROR) wl_cfg80211_disconnect : Reason 3

    [ 847.809540@2] CFG80211-ERROR) wl_cfg80211_del_station : Disconnect STA : ff:ff:ff:ff:ff:ff scb_val.val 3

    [ 847.814516@2] netdev_ifidx(3), chan_type(1) target channel(1)

    [ 847.853203@5] wl_host_event: Invalid ifidx 0 for wl0

    [ 847.917906@5] wl_iw_event: Link UP with BSSID=ac:83:f3:b4:49:2e

    [ 847.917954@6] CFG80211-ERROR) wl_notify_connect_status_ap : ** AP/GO Link up event **

    after trying to connect to the AP with my android phone

    [ 875.709644@6] wl_notify_connect_status_ap: connected device 44:81:eb:8e:df:f3

    [ 875.709906@4] CFG80211-ERROR) wl_cfg80211_change_station : WLC_SCB_AUTHORIZE sta_flags_mask not set

    after waiting some time

    [ 949.317149@6] CFG80211-ERROR) wl_notify_connect_status_ap : event WLC_E_DEAUTH_IND(6) status 0 reason 3

    [ 949.317170@6] wl_notify_connect_status_ap: deauthenticated device 44:81:eb:8e:df:f3

    [ 949.317237@6] CFG80211-ERROR) wl_notify_connect_status_ap : event WLC_E_DISASSOC_IND(12) status 0 reason 8

    [ 949.317249@6] wl_notify_connect_status_ap: disassociated device 44:81:eb:8e:df:f3

    [ 949.318527@7] CFG80211-ERROR) wl_cfg80211_del_station : Disconnect STA : 44:81:eb:8e:df:f3 scb_val.val 3