Posts by jernej

    LibreELEC-H3.arm-8.0-devel-20170516114055-r25546-g745f679-opipcplus.img

    That's not my work.

    OE port is superior for now, at least for HW decoding. But it is totally unsupported. BTW, this thread was made only to show what is achievable with current mainline kernel, it's not meant to replace OE images right away. When it will be good enough to do that, it will be promoted to official LE repository.

    I added image for OrangePi Lite and new update for all images.

    jack82

    please understand than current images are composed of alpha quality LibreELEC, beta quality Kodi and pre-alpha quality of Allwinner specifics, including HW video codecs.

    As I said in OP, MPEG2 is the only really working codec, while H264 and H265 are far from fully working. It will probably take months before they are ready

    I'm not sure plugins will work well with any image I'll release, because my images will always have latest development version of Kodi, where plugin interface might change. However, you can always build the plugin you want from the source I provide. Things will stabilize once Allwinner project is good enough to be merged in main branch and thus receive official support.

    Please OrangePi One

    Added.

    I have a beelink x2 (http://linux-sunxi.org/beelink_x2), would it be possible to make an image for this?

    I'll prepare image for that, but TV boxes are usually unsupported category here. Beelink X2 may be an exception, because it is supported by mainline kernel.

    Orange Pi Plus2 pls?

    If I remember correctly, the only difference between Plus and Plus 2 is the amount of RAM. That means you can easily use image for Plus. However, please note that there might be (bigger than already) issues due to extra RAM (some calculations). Nothing that can't be easily fixed, but I have to test that first.

    This topic is superseded by new one!

    Hello everyone,

    after a lot of work, which isn't finished by far, I can present you first, somehow usable, images.

    IMAGES:

    Images for following boards are available here:

    H3 based boards:

    - BananaPi M2+

    - Beelink X2

    - Libretech ALL-H3-CC (Tritium) (H3 SoC)

    - OrangePi 2

    - OrangePi PC

    - OrangePi PC Plus

    - OrangePi Plus/Plus 2 (same image for both boards)

    - OrangePi Plus 2E

    Boards with less than 1 GiB of RAM are not supported!

    A64 based boards:

    - OrangePi Win

    - Pine64

    - Pine64 LTS

    - Pine64 Plus

    H6 based boards:

    - Pine H64

    IMAGE UPDATES:

    Once you prepared base image, take the latest update for your SoC here. It works with any board. Just grab the latest by the date. It would be too much work and it would take too much space if I would upload fresh image for each board each time.

    If you have different, unsupported board, drop a message here. I'm interested what are the most popular boards. TV boxes are not supported, except Beelink X2.

    FEATURES:

    - mainline kernel & U-Boot

    - completely open source except GPU (Mali) driver (until Lima project is good enough for Kodi)

    - latest Kodi

    - zero copy decoding & rendering

    - shared decoding & rendering code with other SoCs (with small adjustement for now)

    - compared to OpenELEC images with BSP kernel, HDMI should work with any monitor automatically

    - HDMI CEC

    - multi channel HDMI audio (correct audio output must be selected)

    - IR receiver

    - Analog audio (except H6)

    LIMITATIONS:

    - only H3, H6 and A64 SoCs are supported for now

    - only MPEG2, H264 and H265 (HEVC) codecs are supported in hardware, for now. Others are software decoded.

    - 10 bit videos are not supported (hardware limitation)

    • MPEG2 should work well
    • H265 works in general, with some videos not properly decoded
    • H264 works in general, with some videos not properly decoded

    - deinterlacing is not yet implemented (combing is visible)

    - OrangePi onboard wifi chips are not supported (RTL8189ETV and RTL8189FTV)

    - sleep is not implemented

    - no eMMC install script, but it should be easy to port it from old OpenELEC images

    - no support for TV out

    - no temperature sensor for SoC, so it may get a bit hot (driver is WIP)

    - HDMI audio passthrough doesn't work yet (it might in some cases)

    Plan for the future:

    As you can see, most limitations are kernel related. Some of those limitations are already worked upon and I will probably add patches soon after they are posted and work well enough. Others limitations, like drivers for RTL8189ETV and RTL8189FTV are unlikely to being resolved anytime soon, if ever. They are pain to maintain and are not compatible with iwd.

    Code repositories:

    allwinner branch on LE github: GitHub - LibreELEC/LibreELEC.tv at allwinner (official branch for AW SoCs)

    hw_dec_ffmpeg branch on my github: GitHub - jernejsk/LibreELEC.tv at hw_dec_ffmpeg (same as above with work in progress, source for images linked here)

    I also accept suggestion which drivers should be enabled in kernel config and which boards should be added. Support for other SoCs is planned to be added later, when kernel support is good enough and appropriate GPU driver is available.

    Thanks to all who helped with this in any way.

    Hi jernej, anything new since your last post?

    Not really. I'm waiting for kernel update to 4.18 before I update Allwinner branch. After that I will probably have to rewrite Kodi hack to support VAAPI with DRMPRIME renderer. Only then I might prepare initial test image with MPEG2 HW acceleration, but I'm not sure how useful such image would be. H264 and H265 are not ready yet.