Posts by potfpotf

    ok, I had to do several tries to get proper logs (and removed the mouse so that no spam after evry move of the mouse in the log), the problem is a bit more complex and may be a problem of re configuration of the decoder after x264 playback + ac3

    The steps to reproduce are :

    - ok trying to play the x265 file the first time

    - ok trying to play a x264 file, stopping the reading

    this gives this log : http://ix.io/4rRo


    then ko crash :

    - retrying same x265 file : the machine seems to crash :

    * the network is down (ssh unresponsive)

    * lcd screen (vfd) still displays the time of the crash

    * kodi? emits a loop sound through the screen speakers

    only way to reboot is plug-pulling


    the log is not very helpful as when I re read the x265 file, there is a bit of seemingly binary log at the end that is not valid utf8, and no trace of trying to read the file :

    with pastebinit kodi.old.log i only got no more text information

    http://ix.io/4rRw


    chewitt :

    - ok for the hevc analysis and media configs, my main problem is that it brings down the entire system

    - thanks, i can provide you the samples hum around 500M each to reproduce, I just have not seen yet how to provide them to you (dm with cloud url ?)

    - for the whitelisting, these are both 25fps videos, I'll try to play with the settings (whitelisting 1080p 60 + 50 at least)

    another info for the sample 1 x264 that may put le + kodi in conditions to trigger the crash is that is is ac-3 vs aac, and maybe I am blaming the wrong cluprit (video stream)

    Hello, when trying to read x265 files in local storage in le 11.0.1 on a s912 (vorkez z6 plus), I think the box hangs : gui is unresponsive and terminal no longer accepts input (had to unplug to stop)

    I understand there is a problem with hevc / x265 drivers that is hard to fix with the recent kernels and with limits in amlogic builds (as per le11 announcement https://libreelec.tv/2023/03/06/libreelec-nexus-11-0-0/)

    My questions would be :

    - whether I could prevent in kodi from reading certain types of data based on the metadata (eg : video stream codec is hevc) or stop playback before attempting to decode streams that will hang the box.

    - if the box should not hang but there is a problem with my config (approximate dtb that would cause general instability : using meson-gxm-tx9-pro.dtb with gb ethernet and wifi simultaneously)

    - if there is a log that could help with the problem, or something that I can do to reproduce the problem with more info if it is interesting

    Thanks in advance.

    These x265 files were not a problem in CE 9.2 (retested) :

    main info for video is below, audio is AAC LC

    Format : HEVC

    Format profile : Main@L4@Main

    Width : 1 898 pixels

    Height : 1 078 pixels

    more info :

    Code
    Writing library                          : x265 1.9:[Mac OS X][clang 7.0.0][64 bit] 8bit
    Encoding settings                        : wpp / ctu=64 / min-cu-size=8 / max-tu-size=32 / tu-intra-depth=2 / tu-inter-depth=2 / me=3 / subme=3 / merange=57 / rect / amp / max-merge=3 / temporal-mvp / no-early-skip / rdpenalty=0 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / open-gop / no-temporal-layers / interlace=0 / keyint=250 / min-keyint=25 / scenecut=40 / rc-lookahead=30 / lookahead-slices=4 / bframes=8 / bframe-bias=0 / b-adapt=2 / ref=4 / limit-refs=2 / limit-modes / weightp / weightb / aq-mode=1 / qg-size=32 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=6 / psy-rd=2.00 / rdoq-level=2 / psy-rdoq=1.00 / signhide / deblock / sao / no-sao-non-deblock / b-pyramid / cutree / no-intra-refresh / rc=crf / crf=25.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / ipratio=1.40 / pbratio=1.30

    where would I save/insert the kiplus_compl.txt file? I tried saving the file to the disk with no luck.

    the old config way would be to put it in the storage disk, in .config/rc_keymaps

    and then you reference it from .config/rc_maps.cfg

    there is a sample of config with a .toml file in another post on the forum :

    chewitt
    February 13, 2023 at 7:52 AM

    eg reading the documentation :

    https://wiki.libreelec.tv/configuration/…s#configuration

    * eg the command below creates a rc_maps.cfg that will override the default config

    Code
    echo "* *  kiplus_compl" > /storage/.config/rc_maps.cfg

    * the kiplus_compl file must be in

    Code
    /storage/.config/rc_keymaps/

    the .txt extension is not necessary, I was forced to use it to upload to the forum...

    Either you can do this in a terminal or just mounting your microsd / sd on a computer : EDIT : stupid error from me : storage is ext4, i misread the mount between the 2 partitions.

    The good way to do this is to ssh to libreelec.

    Mounting ext4 storage partition is possible in linux so I forgot, only to notice again in trying to edit files on the disk that they are not easily updatable.

    Hum, tried with the nightly LibreELEC-AMLGX.arm-11.0-nightly-20230310-9f7c82b-box.img that fixes usb 2 port support and with tx9 pro dtb :

    http://ix.io/4qFQ


    Usb fix works : 2 ports ok, 2 hubs on them

    vfd works (at least the time part) and correctly powers down on shutdown

    BT KO (not visible in LE BT settings) / provided you with the info, just waiting

    ethernet no connection (169.) / Ok with external / difference in phy from tx9 pro in dtb

    Wifi OK

    Shutdown OK (that was another of my problems)

    My only problem is that I think my original remote is broken, so I only know that 0x59 KEY_POWER works

    Plus oops : found the CE resource for remotes but I don't really understand how this works :

    As I suspect vorke z6 plus is a clone of a tanix box, i would suspect the config for AmRemote would be a clone of the tanix generic https://github.com/CoreELEC/remot…nix/remote.conf, but I vaguely understand that Le is not using the same method as CE for remotes

    The default remote would be the simple one on the left from https://github.com/CoreELEC/remot…Tanix/Tanix.png

    The vorke z6 plus is clearly a clone of the tanix TX92 (non pro) from this image https://www.techwalls.com/wp-content/upl…anix-tx92-1.jpg

    Marking on my MB : TX92-Lp(X9T)

    3+32G (9377)

    y171108

    and CS_912_TX92_LP_V1.0 (plus the mmc chip SDIN9DS2-32G)

    Hello hexec , yep the usb boot depends very much on your hardware.

    Sd readers in tv boxes are generally not usb, and most boxes I own will not boot on usb sticks.

    With 32 gigs and 64 gb average cards, i have not had any problems with booting speeds, but i have also long used a 4gb card that worked fine on boot.

    From what I understand, the .kodi install and config is not in the 512mb partition, but in storage/kodi on the other partition so there is no risk of kodi outgrowing the partition, and no need for changing the partition sizes.

    Also, the storage partition is automatically grown on first boot to fill the card, so no need to to manual partition adjustments.

    HTH

    Hello, chewitt I recognized the remote for PhoenixBG : same as a km8 pro remote :

    the config km8pro.txt should be working but untested by me

    The problem is that there are many configs : the km8 p / pro has the same remote as PhoenixBG has for a T95Z Plus

    but i have a bm8 pro (same box, different remote) that comes with this one :

    this config works in CE ,and also works to power on my vorke z6 plus : kiplus_compl.txt : 0x59 KEY_POWER for NEC driver

    I understand it's complicated building dtbs, but are the remotes also in the dtbs or could they be put somewhere else as a collection of rc_maps configs and make a reference to that in the wiki ?

    Also, I have the same problems as PhoenixBG with one usb port KO + problems with the VFD displaying boot and shutdown not working.

    I have seen that https://test.libreelec.tv/11.0/Amlogic/b…c82b-box.img.gz is supposed to fix usb not working, will try it , with maybe the dtb meson-gxm-t95z-plus.dtb

    As I have 4 different boxes, of which 2 s912 and one s905, I would almost be willing to try to build my own dtbs with remote configs in order to spare you the time and give back to the community, but I have began listing the different sources and I understand it's not simple.

    My other interest is in Bluetooth (for audio only), so I would maybe able to try that too if I manage to build dtbs.

    Hello again,

    with your testing version,

    http://ix.io/4pA8

    - I had a few side effects, with a reboot when unplugging the eth0 network or stopping/starting the wifi from libreelec settings : my impression is that kodif failed and rebooted LE.

    - this is your testing version (for the vorke), but the eth1 is gone from dmesg, I suppose for testing you deactivate other modules ? Or is ot linked to q200 dtb image ? After checking, I got the impression that the second usb port is no longer working (the eth1 usb3 hub port was on this port so stopped working). Going back to plugging the usb hub/eth1 in port 1 works

    (After replugging in sub top port : http://ix.io/4pAe)

    - i think the cable is correctly GB enabled, but the integrated eth has problems with GBe.

    ig get GB from usb3 eth1 :

    Code
    LibreELECstb:~ # ethtool eth1
    Settings for eth1:
    Supported ports: [ TP	 MI
    
    
    Speed: 1000Mb/s
    Duplex: Full
    Auto-negotiation: on
    Port: MII

    Thanks,

    I do not fully understand the q200 vs q201 device tree and the changes between old amlogic .dts/dtb and the ones you package in libreelec. I see they are more complex.

    . I used gxm_q201_3g.dtb gxm_q201_3g.dtb.zip in coreelec 9.2

    Source must be this one : https://github.com/CoreELEC/devic…01_3g_1gbit.dts.

    I will try the q200 dtb after i reboot the thing / done : q200 dtb pastekodi :

    http://ix.io/4pwY

    internal ethernet connects at 100Mbps.

    Code
    Jan 26 08:12:30.661822 LibreELECstb kernel: meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx

    I see wlan erreors in dmesg


    * For the vfd, I had this config vfd.conf.zip

    Otherwise, Tanix vs Vorke, I think the box is the same as the Tanix TX9 that was mentioned in another thread Tanix TX9 (S912)


    * I have tried to get the android dtb, but so far, failure to be sure where the dtb would be hosted :

    I did

    Code
    dd if=/dev/dtb | gzip > /storage/backup/devdtb.gz 

    from coreelec but unsure whether this is the good one : after I split it with extract-dtb, there were 3 variants : the last is this one with amlogic-dt-id = "gxm_q201_3g"; in the dts

    Code
    dtc -I dtb 03_dtbdump_Amlogic.dtb -o vorkez6devdtb3.dts

    This looks much like a dtb I extracted from a download VORKE-Z6PLUS-20180126.img : only difference in the dts decode file is in meson-fb

    logo_addr = "0x7f851000";

    * from android, I see there is a bt_did.conf bt_did.conf.zip in a directory that is full of .hcd files

    I also see a bt_vendor.conf file with just this inside, as you mentioned a serial port

    Code
    # UART device port where Bluetooth controller is attached
    UartPort = /dev/ttyS1
    
    
    # Firmware patch file location
    FwPatchFilePath = /etc/bluetooth/

    Thanks again.

    Hello,

    thanks for reviving the s912 with libreelec 11.

    I am a transfer from CE / was stuck on leia and with python 2 plugin for Arte that has been now been been very successfully forked by a new dev (kudos http://github.com/thomas-ernest too), so LE 11 for 4-5-6 year old hw is a boon.

    My only problem now is that wifi + bluetooth is not working / being detected consistently on a vorke z6 plus 3/32.

    I also use an external usb gbe card but anyway, built-in ethernet has never been consistent on the Vorke. I have been forced to limit it to 100mbps

    Which dtb should I use ?

    from what i understand, the vorke z6 plus should be close to a beelink ultimate

    I have tried these dtbs on the 10.95.1 build

    meson-gxm-gt1-ultimate.dtb

    meson-gxm-q201.dtb

    Funny thing, is that on the nightly LibreELEC-AMLGX.arm-11.0-nightly-20230225-ef1ce97-box.img, the wireless connection was visible in Libreelec params, but not every time. maybe only when the wired network was initiialized.

    anyway, this is the latest pastekodi with meson-gxm-q201.dtb on LibreELEC-AMLGX.arm-10.95.1-box.img

    http://ix.io/4ppi

    I would happily build my own .dtb if I understood the process.

    * For now, for example, i do not know whether this dmesg really means that i have a ath10k / broadcomm sdio ?

    12.139217] ath10k_sdio: probe of mmc2:0001:1 failed with error -84


    Another question :

    * from the forum, it is unclear how/what to install for the VFD : the FD628 display service + config in a file vfd.conf from CE or a config with another package ? or should it be directly in the dtb : I see https://github.com/LibreELEC/Libr…o-Tanix-T.patch for example, signed by chewitt ;)

    Thanks in advance, don't hesitate to ask for more info.

    btw i have 2 more eligible machines to migrate / test libreelec 11 compat if this helps (mecool bm8 pro s912 / km8 pro variant), and sunvell/qbox s905.