Test LibreELEC images with KODI-18 for S9xxx

  • balbes150   chewitt Installed 20190604 AMLGX (S905_S905X_S912) over running 20190530 build on my Kvim2 pro

    (Include valid tar in update folder and reboot method)


    Believe I have already read somewhere else (probably in github) that LibreELEC performs in situ update on reboot but then during update complains that its unable to locate/create dtb folder. (didn't manage to catch warning message, as boot screen quickly disappears)


    Quick look at the SD on PC and original dtb folder appears to have been renamed to dtb_old with replacement dtb folder not created?

    Checked uEnv.ini already contained valid modified pointer to dtb_name=/dtb/meson-gxm-khadas-vim2.dtb which it did.


    Manually copied dtb_old folder to create dtb folder again, then once SD inserted back into Kvim2, able to boot correctly into 20190604 :):cool:


    For info...quick screen grab of contents of SD with manually re-created dtb folder


    z6Ks9GT.png

    rPi3B+, SanDisk Ultra 8Gb SD, Milhouse kernel_5.x LE Testbuild (Kodi 19 Matrix) -> Onkyo TX-SR608 AV Receiver -> Philips 42" LCD TV

    KVIM2 Pro, SanDisk Ultra 8Gb SD, kernel_5.x LE Testbuild (Kodi 19 Matrix) -> LG 27UD69-W 4K Monitor -> AudioEngine A2+ Speakers

  • Magicsee N5 MAX, dtb for android: MEGA

  • A few problems on the X96max 2gb (I believe this is gigabit NIC) - with a build of the latest github branch.


    NIC not starting:


    Code
    1. [ 15.752794] meson8b-dwmac ff3f0000.ethernet: Failed to reset the dma
    2. [ 15.752808] meson8b-dwmac ff3f0000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
    3. [ 15.752815] meson8b-dwmac ff3f0000.ethernet eth0: stmmac_open: Hw setup failed

    HVEC crash

    Code
    1. [ 565.048555] meson-vdec ff620000.video-decoder: Direct firmware load for meson/vdec/g12a_hevc.bin failed with error -2
    2. [ 565.048571] meson-vdec ff620000.video-decoder: Unable to request firmware meson/vdec/g12a_hevc.bin
    3. [ 565.074145] meson-vdec ff620000.video-decoder: Direct firmware load for meson/vdec/g12a_hevc.bin failed with error -2
    4. [ 565.074162] meson-vdec ff620000.video-decoder: Unable to request firmware meson/vdec/g12a_hevc.bin
    5. [ 565.094814] meson-vdec ff620000.video-decoder: Direct firmware load for meson/vdec/g12a_hevc.bin failed with error -2
    6. [ 565.094829] meson-vdec ff620000.video-decoder: Unable to request firmware meson/vdec/g12a_hevc.bin
    7. [ 565.105612] meson-vdec ff620000.video-decoder: Direct firmware load for meson/vdec/g12a_hevc.bin failed with error -2
    8. [ 565.105625] meson-vdec ff620000.video-decoder: Unable to request firmware meson/vdec/g12a_hevc.bin

    CEC also fails in initialise.


  • Sorry is seems if I use the meson-g12a-x96-max-rmii.dtb ethernet works. but 100mb, maybe it's not gigabit :(

  • I believe we are almost there. There's been couple of builds released in just two days. I tested LibreELEC-AMLGX.arm-9.1-devel-20190604130101-a41fdf1-box.img.gz on a MiniMX-III II (S905x), using meson-gxl-s905x-p212.dtb (for LibreELEC with kernel 3.14 it was gxl_p212_2g.dtb),

    Boot: OK

    Ethernet: OK

    WiFi: No

    Audio: OK (but unlike Kwiboo's build, only meson-gx-audio analog, no HDMI)

    CEC: OK

    Remote: OK (after modified rc_maps.cfg)

    x264: Plays OK

    x265 10bit: Plays OK (but halt after 15 minutes of playback, still respond to remote).

    TVH client: OK


    I also tested LibreELEC-AMLG12.arm-9.1-devel-20190603165839-a41fdf1-box.img.gz on X96S, an Android TV stick that's based on S905Y2). There is no Ethernet, only WiFi (both 2.4GHz and 5GHz band). I tried all dtb available, only meson-g12a-x96-max.dtb and meson-g12a-x96-max-rmii.dtb can boot properly.

    Boot: OK (with either meson-g12a-x96-max.dtb or meson-g12a-x96-max-rmii.dtb)

    WiFi: No

    Audio: OK

    Remote: OK right out of the box

    x264: Plays OK

    x265: No


    WiFi chip on the X96S is Ampak AP6255 which is the same as that on Khadas-VIM.


    Thank so much for making such progress in relatively short period of time. Before today, I thought my X96S stick could never have LibreELEC. Also with progress made on S905, I wish RK3328, which based on the same GPU could be benefit too.

  • I seem to be having inconsistent troubles installing the widevine CDM on the s905x2 g12a. Using inputstreamhelper the system downloads the image, then tries unpacking/installing it, but just locks up after a while. I had it working at one point, but forgot the combination i was using. Could somebody advise on which combination of...


    - s905x2 g12 image date

    - inputstream adaptive version

    - aarch64 or ARM


    ...might work?

  • X96 Max 2G/16G 100Mb/s NIC 20190605 Aarch image presently.


    Can anyone advise what I might be missing in order to get Live TV to work properly?

    That is the future primary use for this box, hence my fixation.


    Tvheadend server is running on another box on the LAN, so only tvheadend client is installed.


    Do I need to get DVB drivers from somewhere for this to work?

    Some of the Satellite (DVB-S) channels work correctly.

    A lot of them have have sound but no video.

    Broadcast DVB-T channels have sound and no video.

    One DVB-T channel, generated in house using a HDMI>DVB-T Edision converter has both sound and video.


    I am puzzled TBH.

    I do not know where to look, so any help available would be appreciated.

  • Per chewitt :#734 I think you need to use the arm version and not the Aarch version to have a chance of live tv working. But I don't use Tvheadend, so I could very well be wrong.

  • X96 max (4/32) S905X2


    Testfile "LibreELEC-AMLG12.aarch64-9.1-devel-20190605164958-a41fdf1-box.img.gz" with "meson-g12a-x96-max.dtb"


    New Installation ok

    Sound over HDMI ok

    Network ok, 1 Gbit/s is shown at Router

    Factory Remote ok

    Files x264 works good, ok

    Files UHD x264 works good, ok

    Files x265 crashes directly, booted new

    Files UHD x265, crashes directly, booted new

    Sound AC3, DTS by passthrough ok

    Fast forward ok


    For me there are no differences to the last 4 versions.

    It would be nice if 4K and X265/HEVC would work.


    Great work!


    br

    CT

    X96 max S905X2 (4/32), X96 S905X (2/16) :)

  • HEVC on G12 hardware will take a while as a 10-bit video pipeline and some other 4K related things need to be completed first. Please stop testing and reporting HEVC crashes until we tell you that it's usable. Currently there is no firmware and it will crash (needing reboot) 100% of the time.

  • Long time no post.. Just to say thanks for the awesome work so far on getting Libreelec on the likes of the s905x2.

    Have done a quick install to test on a 'Bqeel Y5' .. Everythings working except for it's IR remote, and to be honest the wifi is soooo slow, but I'm a wired man anyway.

    Any suggestions on how i could get the IR remote running on this?

    I've also got the Odroid N2, as I'm helping out with a certain Retro Gaming distro for it, and will have a play about with LibreElec on that too.

    cheers guys.🖖

  • Per chewitt :#734 I think you need to use the arm version and not the Aarch version to have a chance of live tv working. But I don't use Tvheadend, so I could very well be wrong.

    Unfortunately there is no real difference in behaviour that I have noticed.

  • I notice that AC3/DTS passthrough works on S905X2, which is great. I wonder if HD audio (Dolby TrueHD, Atmos, DTS HD-MA) passthrough also will be supported?

  • MB2bijM9AU1NqA


    Small upgrade for X96 Max on LibreELEC to see that the device is working. LED solder in a regular place. + plus in the center, - minus near clock.

    MB2bijM9AU1NqA

    Edited once, last by A.S._id ().