Posts by HiassofT
-
-
-
-
Please someone with the issue post logs as cvh already requested multiple times in the github issue.
ssh into LE with black screen, then run pastekodi and post the URL you got on the console.
We have not seen this issue in local testing and without logs and details about your setup (which are included in the pastekodi log) we won't be able to do anything or give hints.
so long,
Hias
-
There are 2 issues with your config.txt:
you are still using "gpio_in_pin" instead of "gpio_pin" and also you can't use GPIO 18 - this is required by the I2S interface - dmesg/journal therefore prints this:
CodeApr 11 18:28:51 LE923zero kernel: pinctrl-bcm2835 20200000.gpio: pin gpio18 already requested by ir-receiver@12; cannot claim for 20203000.i2sYou have to connect the IR receiver to a GPIO that's not used by the DAC card, GPIO 17 should be fine, and then properly specify that in the dtoverlay line - eg gpio_pin=17
so long,
Hias
-
-
dtoverlay=gpio-ir,gpio_in_pin=17
gpio_in_pin is wrong, you have to use gpio_pin.
so long,
Hias
-
Channel swaps with multi-channel PCM output is a well known issue on RPi4. It'll be fixed in 9.2.4.
so long,
Hias
-
Analog audio output is working fine here on RPi3B+ with LE 9.2.3 and current 9.2.4 development builds.
so long,
Hias
-
Optimizing for cortex-a72 resulted in odd issues, see eg my comment here add support for Raspberry Pi 4 by HiassofT · Pull Request #3597 · LibreELEC/LibreELEC.tv · GitHub
Could be (or have been) some compiler/optimizer bug.
Other LE deveopers noticed similar issues on other devices as well so we stuck to cortex-a53 which works fine.
It's hard to tell if optimizing for cortex-a72 would give any real-world performance improvements and as digging into possible compiler bugs isn't fun we haven't investigated that further.
so long,
Hias
-
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
-
This sounds a lot like the "black screen" issue on RPi3 as reported by a few others.
Either stay on 9.2.1 for now or update the RPi firmware files on the FAT partitions as described here RPi3 Updade to 9.2.3 ending in Black Screen
9.2.4 will ship with that firmware, so RPi3 issues should be resolved, but we don't have an ETA when 9.2.4 will be released (we're waiting on kodi Leia 18.8 release).
so long,
Hias
-
It's very early days but if you are in the mood to try a highly experimental testbuild you'll find it here: RPi4 testbuild with HD audio passtrhough (Atmos etc)
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