Posts by rdorsch

    Hello,

    I was not entirely sure if I should submit this under Bug Reports or Rockchip. I decided for Rockchip since the issue might be limited to Rockchip or even rock64.

    My setup

    • Hardware: pine rock64
    • Libreelec: 12.0.1
    • Network: Ethernet

    The problem occurs when playing a stream file with inputstream.adaptive (it also occurs in the ARDundZDF plugin, but I thought it is easier to debug if it can be reproed with just a simple stream file):

    rock64b:~ # cat fs/videos/Streams/TV/04_ard_one.strm
    #KODIPROP:inputstream=inputstream.adaptive
    #KODIPROP:inputstream.adaptive.manifest_type=hls
    https://mcdn.one.ard.de/ardone/hls/master.m3u8

    rock64b:~ #

    Issues observed:

    • when navigating forward and backward, the video often plays for one or two seconds and then pauses for tens of seconds (during this time the OSD shows a high CPU load and one core is at 100%)
    • the video flickers somewhat (also the reported fps on the OSD is less than the 50 Hz of the video stream reported by the "o" key)
    • sometimes the systems hangs entirely (not in the attached debuglog)

    The problem started to show up quite sometime back, but I cannot tell if it is due to a change in LibreELEC or due to a change in the stream.

    In the logs, I see warnings like

    <general>: OutputPicture - timeout waiting for buffer

    Full kodi debug log is here:


    https://paste.libreelec.tv/cool-jaybird.log

    Any idea or hint is welcome.


    Thanks

    Rainer

    Nope sorry only ethernet

    And for now I'm still using Coreelec 9, as LE11 don't shut off, using LE 11 as test

    LE12 power off works now for me (e.g. LibreELEC-AMLGX.arm-12.0-nightly-20231130-0d2323e-box.img.gz) and wifi as long as the router has FT disabled as well.


    An issue I see with LE12: If I scroll in a stream (e.g. ARD Mediathek), the player freezes immediately and sound stops somewhat later. But maybe that is also a settings issue, I just used the default config, I just configured wifi.

    w46n3r : No libreelec is not a router. But I give it direct access to an internal vlan and a separate vlan for internet connection (this is rather a workaround for a router limitation).

    But where is it defined that eth0.1 is the default route to the internet? I recently had internet not working until I brought eth0.7 down, probably eth0.7 was configured as default route. Is it the first network which gets configured? In this case I would need to introduce an ordering dependency into the eth*.service files.

    Hi,

    I setup three VLANs on Libreelec 11.0.3

    Can anybody tell how I can control which network interface becomes the default route?

    Thanks

    Rainer

    Many thanks for the explanation.

    I already configured the wireless regdomain in the LE settings add-on, but channel 1 did not work.

    Now I just booted the system again, confirmed that the wireless regdomain is set and I saw channel 1 w/o any issues.

    I still experience the invalid-key issue reported in https://github.com/LibreELEC/LibreELEC.tv/issues/7166 though.

    [...] NB: I'm not sure what advantage you're expecting with aarch64, but it's not going to noticeably improve anything and you will have to reinstall or remove binary add-ons) as they are not aarch64 compatible; and there will be no replacement binary add-ons in the repo as there are no ARM aarch64 releases for LE11 so the add-ons weren't built/don't exist. [...]

    I was not sure what the right architecture is and I found quite a few references to aarch64, therefore I build for aarch64. I saw no obvious glitches or issues with it in my very basic tests. But honestly they were limited to the wifi invalid-key issue, I did not even attempt to play any content.

    Do I understand you correctly that ARCH=arm is used for the nightly builds and the LE11 releases?


    The kernel patchset is ridiculously large but will reduce if I ever find the enthusiasm to rebase it on a newer kernel. I have no plans to do that in the near-term future though.

    I think that after you completed the Ironman your enthusiasm for everything will dramatically increase even further :D

    I tried https://test.libreelec.tv/12.0/NXP/cubox…06-cubox.img.gz on a cubox-i.

    Initially everything went fine, I downloaded a plugin (ARD aktuell) and played the latest Tagesschau stream. It started to play well, but after moving forth and back in the stream, kodi hang very soon (not the system itself, could still ssh into it).

    I thought I paste the output of dmesg, which reports warnings and bugs, just in case it is useful for anybody.


    Thanks

    Rainer

    [Moderator edit: Log file moved from insecure link to attachment.]

    Would

    iwd: update to 2.6 · LibreELEC/LibreELEC.tv@97e1ced
    log: - https://git.kernel.org/pub/scm/network/wireless/iwd.git/log/
    github.com

    and

    connman: update to 24180d1 (1.41+/2022-04-11) · LibreELEC/LibreELEC.tv@5680288
    log: - https://git.kernel.org/pub/scm/network/connman/connman.git/log/
    github.com

    be enough to apply on LE11?

    And

    PROJECT=Amlogic DEVICE=AMLGX ARCH=aarch64 UBOOT_SYSTEM=box make image

    the right build command?

    I just saw the list of kernel patches for Amlogic. The three digits list is very impressive. That a significant part contains FROMGIT-6.2 or FROMGIT-6.3 gives some hope, that eventually that gets more managable. But there are still many patches remaining. Thanks for all the effort you put into extending the life these devices.

    Thanks for your reply and enjoy the Ironman triathlon :D

    I am most interested in the wifi updates mentioned here

    [BUG] Invalid-key while connecting to wifi - LE11 · Issue #7166 · LibreELEC/LibreELEC.tv
    Describe the bug Hello :) Since upgrading to LireElec 10 (10.0.3) the wifi is really unstable. Every now and then, LibreElec will forget the wifi password and…
    github.com

    Will they also be added to LE11 eventually? Or is it more likely to see Amlogic in LE12 again?

    That's more complex than I thought or I don't know enough to understand it:

    • Both drivers are under the GPL.
    • The Debian driver has these items in modinfo
      • version: v4.1.4_6773.20130222 (entry is missing in kernel 6.1)
      • author: Realtek Semiconductor Corp.
      • description: Realtek Wireless Lan Driver
      • license: GPL
      • staging: Y
      • retpoline: Y
      • intree: Y
      • name: r8188eu
    • The libreelec driver has these items in modinfo
      • license: GPL
      • description: RTL8XXXu USB mac80211 Wireless LAN Driver
      • author: Jes Sorensen <[email protected]>
      • intree: Y
      • name: rtl8xxxu

    What I don't understand:

    • Both drivers are GPL, why are there two drivers and what is the benefit of the rtl8xxxu driver?
    • According to modinfo and the Debian kernel package, the Debian module is from staging:
      rd@h370:/lib/modules/5.10.0-21-amd64$ find -name r8188eu.ko

      ./kernel/drivers/staging/rtl8188eu/r8188eu.ko
      rd@h370:/lib/modules/5.10.0-21-amd64$ dpkg -S /lib/modules/5.10.0-21-amd64/kernel/drivers/staging/rtl8188eu/r8188eu.ko
      linux-image-5.10.0-21-amd64: /lib/modules/5.10.0-21-amd64/kernel/drivers/staging/rtl8188eu/r8188eu.ko
      rd@h370:/lib/modules/5.10.0-21-amd64$

      This rather seems to be that Debian is enabling staging whereas libreelec has just the intree module, correct?