Posts by HiassofT

    Thanks a lot to all who tested (also LE staff and kodi forum users)!


    The RPi4 HD audio passthrough code has now been merged into the LibreELEC master branch so our latest (and future) nightly testbuilds on Index of / have this feature built in.


    I can't really comment on scraper / kodi label things (that's not my area of expertise), I mainly tested with various sample files in "Files" mode (not library) and that flagged both Dolby TrueHD and Atmos samples as "DOLBY-HD" (same for the DTS HD variants, that were flagged "DTS-HD").


    so long,


    Hias

    Your dmesg is spammed with "Not enough bandwidth for new device state.". This indicates you're probably running into a limitation of the USB controller, see eg this thread here: Not enough bandwidth for new device state. - Raspberry Pi Forums


    There's a beta USB firmware available here Raspberry Pi 4 VL805 firmware release 0138a1 - Raspberry Pi Forums which could help (it increases the maximum allowed size of isochronous endpoints).


    First make sure that your bootloader and USB firmwares are up-to-date (in Settings->LibreELEC->Update). If they are up-to-date but you still have the issue you can try to update to the beta USB firmware. You can do this from LE as well - copy the vl805-000138a1.bin over, run rpi-eeprom-update -u vl805-000138a1.bin and then reboot.


    so long,


    Hias

    LibreELEC 10 is still in pre-alpha development stage and although we have nightly testbuilds these are not recommended for general use. You have to be patient, I don't expect any official release to be out before the end of the year.


    so long,


    Hias

    Screen tearing / update problems are known issues on LE 9.x/RPi4 and are resolved with the new video driver in LE10. Disabling sliding animations in the settings should help somewhat, but there are no plans to address these issues in LE9.2.


    so long,


    Hias

    When tracking latest RPi firmware versions - which were very important for RPi4 - we totally missed that Raspbian had frozen the RPi0-3 firmwares at the April 15 version and only shipped updated RPi4 firmwares.


    So LE 9.2.3 shipped with a newer RPi0-3 firmware than Raspbian (and OSMC which is based on that) that's causing issues on about one out of a couple thousand RPi3s.


    so long,


    Hias

    It seems we finally figured out all the missing bits and pieces to get HD audio passtrough working on the RPi4. Huge thanks go to popcornmix for taking care of the broadcom vc4 stuff!


    If you are in the mood for highly experimental, bleeding edge pre-alpha testing here's a build you can try:

    LibreELEC-RPi4.arm-9.80-devel-20200706110658-308adca.img.gz


    Please use a spare SD card and do a fresh install with the image. This build is based on LibreELEC master with Kodi 19, config.txt has changed and there's no easy way to go back to the stable LE 9.2 series except restoring a full backup.


    Also note that there are a couple of known limitations and issues with current RPi4 LE master builds:

    • No support for 4k output, this isn't implemented yet in the new driver. Neither is HDR output. Playing 4k HEVC files with HD output should work fine, though.
    • H264 hardware decoding is currently disabled as it can crash kodi when seeking or when playback ends.
    • Kodi 19 switched to Python 3 so be prepared that your favourite addons may not be available or work correctly.

    To get HD audio passtrough you have to enable it in Settings->System->Audio. Change the settings level to advanced or expert and then enable passthrough in general and the separate AC3, DTS, TrueHD and DTS-HD options (depending on what your AVR/TV supports).


    Also make sure you've setup your whitelist correctly and set "Adjust display refresh rate" to "on start/stop" or always in player->video settings to get smooth playback.


    As RPi4 HD audio is in a very early stage we'd be glad about any feedback - both working and non-working reports.


    so long,


    Hias

    Please dump the edid when your RPi is connected directly to the projector and also when it is connected to the projector via the receiver. Use the following command (replace "projector" with "receiver-projector" in the second case):

    Code
    1. tvservice -d edid-projector.dat

    Then ZIP up both files and attach them here.


    so long,


    Hias

    So I update my firmware pieeprom to 15 june 2020. After that I made a fresh install on an usb stick 3.1 with LE 9.2.3


    When I put in my pi4 and power it up the screen is saying that he is missing some files. But after some seconds LE is starting up. Where could I find the correct files to solve this issue?

    This is perfectly normal, LE stores the firmware files under a different name. Just ignore the warnings.


    so long,


    Hias

    You can get a debug shell by adding systemd.debug_shell to the kernel command line (syslinux.cfg on x86, cmdline.txt on RPi etc).


    On x86 this will give you a shell on the ALT-F3 console, on RPi, RK etc it defaults to (serial) consoles.


    In nightly master builds you can change the tty for the debug shell with eg systemd.debug_shell=/dev/ttyS0 (this is not available in LE 9.2 as it uses an older systemd version).


    so long,


    Hias

    Most certainly you installed a wrong/incompatible addon, you should not run into that when using addons from the official LE repository.


    Trying to work around that by swapping out libraries on LE will only create more problems, so don't do that - only install addons that are compatible with LE 9.2


    so long,


    Hias

    I also tried doing a fresh image and then updating config.txt with the following: core_freq=250 which the OP said allowed it to boot, however it then wouldn't boot for me. I'm not sure if I put the line in the wrong spot or if it requires any special spacing.

    Thanks for testing!


    Don't worry too much about core_freq or the other config.txt changes mentioned in this thread not working, these were suggested as a test by a RPi engineer and it seems they don't help in most cases.


    Just replace the firmware files on LE 9.2.3 with the ones from the zip and you should be fine.


    so long,


    Hias

    I thought it was documented in the wiki, but quick search didn't turn up anything - maybe that info was lost at some point...


    Wiki rework is already planned for the near future, hope the missing bits will be added then.


    so long,


    Hias