By the way, lzo is used for compression for LE9.2.x, why use zstd instead of LE10? Should the compression quality be more efficient?
Yes. Decompression speed is about the same, but compressed size is smaller.
so long,
Hias
By the way, lzo is used for compression for LE9.2.x, why use zstd instead of LE10? Should the compression quality be more efficient?
Yes. Decompression speed is about the same, but compressed size is smaller.
so long,
Hias
Ah, and I probably should add that it's very likely you'll have the same screen blanking issues at 4k output with the LE hyperion addon - these are general issues of the screen grabber used by hyperion.
so long,
Hias
Hmm, I fixed that issue almost 2 years ago but it seems the fix wasn't merged... You can find the link to a working build in the github PR here: update to latest upstream version, fix exception with JRE >= 9 by HiassofT · Pull Request #4 · LibreELEC/hypercon · GitHub
so long,
Hias
Sorry, no idea.
The RPiOS showed the same bandwidth error in dmesg so it'z puzzling why it would work on RPiOS but not LibreELEC.
Might be worth checking if Kodi on RPiOS shows the same issue (but IIRC there are only older Kodi 18 versions available for RPiOS).
Or you could try the latest LibreELEC nightly, it enables USB autosuspend (which was accidentally disabled before).
If you use a current nightly build and have a 4k TV you probably need to add "force_turbo=1" to config.txt as the latest RPi kernel introduced an issue with 4k output that can lead to "no signal" on TV (we are currently waiting for a fix for that).
so long,
Hias
The SYSTEM squashfs uses zstd compression, see also here LibreELEC.tv/options at master · LibreELEC/LibreELEC.tv · GitHub
You probably need to update your squashfs-tools, any somewhat recent version should do (eg the version in Debian Buster is fine).
so long,
Hias
I'm netbooting my RPi4 and have a serial console attached.
With systemd.debug_shell enabled and kernel.sysrq=1 set in sysctl chances are quite good I can reboot the RPi4 (either with "reboot" in the serial console shell or with sysrq/break-b) unless it's locked up really hard - in which case I just pull the plug.
so long,
Hias
Do we know if the 10-bit to 8-bit conversion uses dithering rather than just truncation? Looking at the HLG HDR bars I ran the Rec 2020 tests on, the luminance sweep it looked like it was suffering from truncation rather than dither.
I don't think the RPi4 even supports dithering.
so long,
Hias
Ìt's not exactly the same, at least "gpu" parameter is missing at RPi 4 and "help" does not work.`
Yea, "gpu" wouldn't make much sense on RPi
help output should probably be extended a bit.
getedid on Generic/x86 also doesn't support multiple HDMI ports / edid, and the RPi version automatically removes any previous edid settings when you use "create" (so running "getedid delete" is not needed if something changes).
so long,
Hias
evanspae please don't re-post exact duplicates of your previous messages. This thread is for discussing details of HDR support on RPi4, so your general questions are off-topic in this thread. Please create a new thread in the "General" forum with your questions.
so long,
Hias
The "getedid" script works exactly like the one on x86, which is documented on the wiki https://wiki.libreelec.tv/configuration/edid
"getedid create" makes current EDIDs permanent (this also honors a receiver on HDMI-2) and "getedid delete" deletes those.
It would be great to get some more feedback if it all works (so far I think I'm the only one who tested this) or if there are issues I might have missed.
so long,
Hias
Exactly when it is ready 😊
When all issues are resolved. No ETA for that.
so long,
Hias
Thanks for the log!
LE 9.2 dmesg shows the same USB bandwidth issue as LE 10, the reason you get sound on LE 9.2 is that kodi falls back from the SPDIF to the Analog USB device (LE 10 fell back to HDMI).
It's very puzzling why this would only fail on LE but not on RPiOS. I checked our kernel configs and couldn't spot any difference in the relevant USB/audio parts... I also did a quick test with my PCM2704 USB audio card (which supports 48kHz on Analog and 32-48kHz on SPDIF) and 44.1kHz via SPDIF worked just fine on LE 10.
Can you post the output of "lsmod" on LE, and also dmesg and lsmod output on RPiOS?
so long,
Hias
Very strange... Could you test with LE 9.2.6? A debug log with that would be interesting, too.
so long,
Hias
Can you test with the latest nightly RPi4 build from here: Index of / ?
If sound in kodi doesn't work then please run the speaker-test on LE as well (you have to stop kodi first with "systemctl stop kodi").
so long,
Hias
Can you check if the USB firmware is up-to-date (in Settings->LibreELEC->Updates)? If it's not please update it.
dmesg shows that the USB controller can't set up the required parameters for your USB device, kodi then falls back to the default (HDMI) audio device
pr 21 22:28:37.569965 LibreELEC kernel: usb 1-1.2: Not enough bandwidth for new device state.
Apr 21 22:28:37.570686 LibreELEC kernel: usb 1-1.2: Not enough bandwidth for altsetting 2
Apr 21 22:28:37.571228 LibreELEC kernel: usb 1-1.2: 3:2: usb_set_interface failed (-28)
I've found a couple of similar reports on the RPi forum (most of them with multiple USB audio cards though), eg Not enough bandwidth for new device state. - Raspberry Pi Forums so that could still be a compatibility issue with the RPi4's USB controller and that specific USB audio device.
If updating the USB firmware doesn't help it's best if you test with Raspberry Pi OS (ex Raspbian) and if that fails too open a thread on the raspberrypi forum where the RPi USB dev(s) will hopefully pick it up.
so long,
Hias
I've noticed you have an odd path in your PATH variable: ~/.local/bin - not sure where that comes from and why the tilde isn't expanded into $HOME (that seems to have worked for /home/work/perl5/bin and /home/work/bin.
Might be worth tracking down where that comes from and getting rid of it - maybe that's what the build system trips over (the other linked bug report also had a non-expanded tilde in the PATH). Look at .profile, .bash_profile, .bashrc etc files in your home directory and also for profile/bash stuff in /etc.
so long,
Hias
When I want to download a video it says that too many people have download it and it is not possible to download.
That happens quite regularly - keep trying, I had most success in the morning (UTC), quota counters seem to be reset during the night (no idea when exactly).
so long,
Hias