Under the hood JACK is using ALSA (as that's the only way to access audio devices in Linux). So adding JACK to the chain is at best a workaround for some kodi bug.
so long,
Hias
Under the hood JACK is using ALSA (as that's the only way to access audio devices in Linux). So adding JACK to the chain is at best a workaround for some kodi bug.
so long,
Hias
If kodi is crashing on other Linux systems, too, then it'd be best to report it to kodi devs here: https://github.com/xbmc/xbmc/issues - this sounds like it might be a kodi bug.
so long,
Hias
Do you have the AVR connected to SPDIF out on the TV?
The log looks fine, kodi is properly signalling PCM and passthrough to the hdmi driver.
So this likely is an issue with your TV's SPDIF out, AVR's SPDIF in or some combination of both. Check if your TV has some settings to control SPDIF out.
so long,
Hias
Do a clean install without your piracy crap addons - that stuff is not supported here.
so long,
Hias
Thanks for testing, I've PR'ed the workaround/fix https://github.com/LibreELEC/LibreELEC.tv/pull/8126
Concerning your other SPDIF/passthrough issue: please open a separate bug report thread for that and provide a full debug log (using pastekodi or the log file upload function in LE settings)
so long,
Hias
hbbs can you please test and report back if this build works?
https://www.horus.com/~hias/tmp/libreelec/LibreELEC-RPi2.arm-12.0-devel-20230908210215-01c68ef.tar
so long,
Hias
hbbs thanks, I've managed to reproduce this issue locally now and will investigate it. ATM we don't need anything else from you
so long,
Hias
Thanks a lot for reporting back, the fix for RPi, Allwinner, Rockchip etc has already been added to LE11 and LE12 https://github.com/LibreELEC/LibreELEC.tv/pull/8123 and will be in the next nightly builds (and also in further releases): https://test.libreelec.tv/
Amlogic is a different thing though, the LE kernels didn't include the offending change (but other changes that might affect multichannel PCM), I'll leave that to chewitt
so long,
Hias
Thanks, kodi_crashlog_20230905155633.log indeed shows that kodi is crashing in the alsa lib, I've informed heitbaum about it.
so long,
Hias
Hmm, unfortunately the interesting bit, the stack backtrace, was missing in the log.
Could check if you have more kodi_crashlog files in /storage/.kodi/temp and upload them, too (eg with "pastebinit
/storage/.kodi/temp/kodi_crashlog_<SOMETIMESTAMP>.log")
According to the log there should also be a /storage/.kodi/temp/kodi_crashlog_20230907190747.log file (there might be more, but older ones will eventually get cleaned up automatically).
so long,
Hias
My bet would be on the ALSA update https://github.com/LibreELEC/LibreELEC.tv/pull/8095
But we need logs to be certain:
Add "ssh" to the end of cmdline.txt (on the same line, use eg notepad++ on windows to edit that on the FAT partition), then quickly ssh in after boot, while kodi is in a crash loop and enter "systemctl stop kodi".
Then run "pastecrash" to update the crash log info and post the URL you got - from there we can look further.
so long,
Hias
Can you please test with this LE11 RPi4 build and report back if multichannel PCM works again?
https://www.horus.com/~hias/tmp/libreelec/LibreELEC-RPi4.arm-11.0-devel-20230907220746-677274a.tar
so long,
Hias
I've had good experience with Sandisk Extreme Pro 32GB, just be sure to buy from a reputable seller as there are lots of fakes out there from shady sellers on ebay, aliexpress, amazon marketplace etc.
Anything below 32GB doesn't make sense price-wise, if you need more space then choose a larger one (although I'd use a separate, external USB storage device for that).
so long,
Hias
We are still waiting for an updated rpi.gpio package which finally uses the standard libgpiod method instead of the ancient, hacky direct memory access which is soon going to break.
Once that's released we'll update the package and the RPi tools addon and make it available for RPi4/aarch64 as well.
so long,
Hias
Kodi doesn't support / respect the set screen orientation so, sorry, no, there's no solution yet.
I think kodi devs are aware of that but it wouldn't hurt if you open a kodi issue if one doesn't exist yet here:
https://github.com/xbmc/xbmc/issues
so long,
Hias
More precisely in LE 9.2.x RPi4 builds used a 32bit kernel, LE 10 and later use the 64 bit kernel.
in LE12 some of the 64bit-capable devices (RPi4, Allwinner) were switched from 32bit userspace to 64bit - but some devices (Amlogic, Rockchip) are still missing and run with 32bit userspace. They may or may not be switched to 64bit userspace as well at some point.
While RPi3 and later RPi2s would be capable of running 64bit kernel and userspace we currently have no plans to release separate 64bit "RPi3" builds. It would just complicate things and as there are known issues with the dwc_otg USB driver in 64bit due to missing FIQ support (esp with USB audio cards) the overall user experience might be worse than it's now.
so long,
Hias