Posts by jernej

    Ok, I'll prepare H6 update soon. BTW, H616 can't be supported at the moment. It's pretty different SoC and there is no documentation nor sources available for it. Also it's uses newer GPU which is just now getting support in mesa.

    as far as I understand Allwinner always tries SD first.

    Unless secure boot is enabled. In that case eMMC has higher priority. However, I'm not sure how to check for secure mode. If it is really enabled, I'm not sure if it is possible to run third party images.

    Well, depends on your audio setup. AVR users usually prefer that audio encoded in codecs mentioned in OP are decoded on AVR instead on ARM board. I tested this on my TV where there is no real difference where audio is decoded except that TV tells me which audio codec is used in information panel and in case of Atmos I also get visible notification. However, if there is an issue and passthrough is enabled for unsupported codec on your device, you will probably get "machinegun" noise which can even damage your speakers.

    Finally there was some momentum to crack audio passtrough support on mainline kernel. Thanks to the RPi4 effort, I gained better understanding what needs to be done. I believe that first variant is ready to be tested.


    What works:

    DTS, Dolby, Dolby+, DTS-HD MA, Atmos


    What doesn't work:

    Nothing that I could find


    Before you begin:

    - make sure you have selected digital HDMI output in audio settings

    - enable audio passthrough and specific codecs in audio settings


    Test updates:

    H3: LibreELEC-H3.arm-9.80-devel-20200707171451-74156da-passthrough.tar

    H6: LibreELEC-H6.arm-9.80-devel-20200708214100-87cbddb-passthrough.tar


    (other updates can be added on request except A20)


    Source:

    Commits · jernejsk/LibreELEC.tv · GitHub


    Please share your experience, especially if it doesn't work.

    I forgot to list OrangePi 3 board.


    Thanks for nice words! To be fair, RK and AML projects are covered with very good developers too, but they have a bit less time to work on LE. We also work together on common features and one peripheral used on those SoCs is even the same (HDMI encoder), so improvements one make directly benefit others.

    would you mind sharing the relevant boards you are having access to for testing?

    My boards:

    Not all are supported by LE (A83T, R40). While I have few RK boards, I don't use them. I have enough work with AW boards :)

    Just curious which ones we can expect being supported the best.

    To be honest, I usually test only on one board for each SoC. And then, most SoCs have similar peripherals, so I usually develop features only on one SoC and transplant them to others and just do a quick test. I usually pull out other boards just when testing some specifics like wifi, bluetooth or ethernet.

    Playback is great most of the time with some green screens here and there but the strangest thing is that video menus disappear on non 16:9 vids after some time. For example, on vids with vertical bars (4:3 ratio) portion of menus that go beyond black bars are not visible but parts of title and menu that runs over area where video is running are still there while on movies which have horizontal bars title and menus are not visible at all. Guess this is issue with lima/mesa.

    This sounds like display driver issue, more specifically DE2 driver. I'm aware of one unfixed issue but it shouldn't be visible like this. I would need to reproduce it to figure it out...

    Well, thing is that there is A13 CVBS driver which might just work on A20, but I'm not sure anyone tested it on A20. U-Boot composite driver can in theory be used by Linux through simplefb mechanism (that framebuffer-lcd-tve0 node you noticed in DT) but it lacks features used by Kodi. Full blown DRM driver is needed for Kodi.


    I suggest you try to copy and fix CVBS pipeline related nodes from one of A13 DTs and see if that works.

    Cold boots doesn't work if you have ethernet plugged in (freezes before LibreELEC boot splash screen) and NIC leds are behaving weirdly, connecting ethernet once its booted up works fine and most of the time rebooting also works with ethernet still connected.

    This is first time I hear for such problem. Unfortunately I don't have board in question so hopefully it will be solved in upstream at one point.

    H264 10-bit/Hi10P seems broken using the PRIME render and fails falling back to software rendering. It will load and play the file (sound only) but Kodi menu will still be shown and player controls are shown. Disabling PRIME render solves this issue but also disables any kind of hardware acceleration as expected.

    HW doesn't support 10-bit H264 decoding (confirmed by AW). Kodi doesn't do SW rendering. You probably meant SW decoding but if you don't see any image, it isn't used. Currently driver doesn't report 10-bit as unsupported profile, so it tries and fails to decode it. That's why you don't see any image.

    cpufreq doesn't seem to work at all, looking at linux-sunxi.org suggests that support is in 5.8 (5.7 is used) so I guess this will arrive once Libreelec switches to 5.8 and if upstream dts contains required formation for cpufreq to work? Looking at the performance in software mode the cores seem to run at a pretty low frequency by default?

    I already included all cpufreq related patches from 5.8. However, this functionality is enabled on per-board basis. So, if no one tested it on One Plus board and submitted a patch for it then this feature will not be present in any kernel. cpufreq is one of those things that it's better to be safe than sorry. Patch is probably just one line in dts but as I said, someone must guarantee stability on all devfreq points.


    When using HW decoding and HW rendering through DRM planes (default settings) there is not much need for high CPU performance. Actually, if devfreq would work and proper governor would be set (currently it's set to performance due to shared config with other SoCs and they need it for stable SW CEC implementation), frequency would go much lower.