As a general rule RAM size and I/O performance don't make a difference for video decoding performance or cause stuttering. RPi5 has the CPU grunt to software-decode most formats to 4K30 (only HEVC is hardware decoded and supported above that) so media format can be important. Kodi config also needs to be right, see: https://wiki.libreelec.tv/configuration/4k-hdr
Posts by chewitt
-
-
Please test the C2 image from my test share again. I'm guessing at the issue, but the image reverts an upstream kernel change that might be responsible for USB issues. Let me know.
EDIT: it may simply be CONFIG_USB_ONBOARD_HUB being dropped in the switch to CONFIG_USB_ONBOARD_DEV when we've rebased against Linux 6.10 and the kernel defconfig being missed since then.
I've updated the images in the test share to (re)enable that. Please see if it works?
-
The lack of subtitles is a known issue in K22 caused by shader optimisations in Kodi, it's been flagged to @sarbes who is the Kodi dev responsible for that. To downgrade to K21, download the 12.0.2 .tar file to /storage/.update, stop Kodi, remove /storage/.kodi, then reboot to perform the update.
-
-
Merged. The updated add-on should be in the repo in the next 24-36 hours.
-
LE is minimalist and the Generic image probably needs CONFIG_SENSORS_APPLESMC enabling in defconfig.
See: https://github.com/LibreELEC/Libr…6_64.conf#L3509
There's no problem to include the module, but we need to prove that's the fix first. As you seem to be the tinkering type, can you self-build an image to test? See: https://wiki.libreelec.tv/development/build-basics .. it's just a case of cloning our sources and then editing the .conf file before running the build command.
-
alexiedb Clone the RPi kernel (as we use their downstream fork not true upstream for RPi boards) then cherry-pick the patches smp has linked onto the RPi kernel 6.12.y codebase and solve the Kconfig and Makefile issues (simple sort order changes in the files probably) before generating a clean patch to use in the LE buildsystem. Also don't forget to add the related CONFIG_XXXXXX entries and enable the relevant modules in packages/RPi/devices/RPi/linux.arm.conf else the modules will not be built.
-
Ahh, he normally links a thread which discusses building with a patch. All you need to do is add .patch to the URL and you have the patch that's needed for the kernel in the LE buildsystem: https://github.com/tbsdtv/linux_m…4187cc616.patch
-
Is it enough to do the steps to build a customer LE image and the drivers for TBS5530 will be automatically included?
No, you need to add the kernel patch when compiling the image. Go read the thread smp linked.
-
The LE buildsystem still supports creating an RPi(1) image, but even if you patch the kernel to support the TBS card it's not going to run well as the board has only 512MB RAM and modern Kodi needs more. That's the reason we dropped support for all boards with under 1GB RAM. If you want to run the board as an e.g. Tvheadend server-only LE device, that should be fine, but server running in the background and Kodi doing playback will be too much.
NB: Although it's not hard to compile a custom LE image, it requires a certain skillset, so it's probably easier to run a server-only setup from a RaspiOS image as this will have a ton of HOWTO guides for the task.
-
Code
2025-03-09 06:19:04.211 T:13590 debug <general>: ADDON: Dll Initializing - Sidplay Audio Decoder 2025-03-09 06:19:04.211 T:13590 debug <general>: SECTION:LoadDLL(/storage/.kodi/addons/audiodecoder.sidplay/audiodecoder.sidplay.so.20.2.0) 2025-03-09 06:19:04.211 T:13590 debug <general>: Loading: /storage/.kodi/addons/audiodecoder.sidplay/audiodecoder.sidplay.so.20.2.0 2025-03-09 06:19:04.211 T:13590 error <general>: Unable to load /storage/.kodi/addons/audiodecoder.sidplay/audiodecoder.sidplay.so.20.2.0, reason: /storage/.kodi/addons/audiodecoder.sidplay/audiodecoder.sidplay.so.20.2.0: undefined symbol: _ZTI7SidTuneIt's so much more helpful when you post a log file with the actual error. You need to report it in Kodi forums to the add-on maintainers.
-
I forget the exact command, but you can change mixer config with "amixer sset" commands. On boot the soundconfig script is run by udev (which provides the card device as the $0 variable), see:
LibreELEC.tv/packages/audio/alsa-utils/scripts/soundconfig at master · LibreELEC/LibreELEC.tvJust enough OS for KODI. Contribute to LibreELEC/LibreELEC.tv development by creating an account on GitHub.github.comYou cannot overwrite the soundconfig script as it's embedded in the read-only part of the OS, but you can create an autostart.sh script to run a command to change the mixer controls on boot, or (better, as it supports more precise scheduling) a systemd service that runs the command before Kodi starts.
-
Two threads that might (or might not) help:
ThreadRaspberry 7" Touchscreen Rotation LE 11.0.3
I have a Raspberry Pi 3B with the official 7" touchscreen in a frame and have upgraded from LE 9.2.8 to 11.0.3. In order for the display to be the correct way up I added lcd_rotate=2 to config.txt in LE 9.2.8. This worked perfectly.
Since updating to 11.0.3 I have been unable to rotate the screen. Below are the four separate additions to config.txt tried unsuccesfully.
dtoverlay=vc4-kms-dsi-7inch
video=DSI-1:800x480@60,rotate=180
dtoverlay=vc4-kms-dsi-7inch
panel_orientation=upside_down
…
jcprestonAugust 12, 2023 at 1:14 PM ThreadVideo Orientation
I decided it was time to update my Pi 2 running 9.2.8 to a Pi4 running 11.0.3. which was easy to do but now I have some changed behaviour with video orientation:
On some of my home videos which were shot inverted I could change the orientation using either the metadata or by 180 degree rotation, no problem and it seemed to work seamlessly on the earlier version.
With the newer version on the same videos from my server I can change the orientation by 90 degrees but selecting metadata or 180…BillBSeptember 19, 2023 at 2:14 PM -
I looked at the log, but mostly I saw filenames that indicate torrented/pirated media so I didn't look much further. Viel Glück.
-
There are also lots of inexpensive audio HAT devices that will give you an S/PDIF output direct from the RPi to AVR.
-
LE doesn't package i2c utilities into the core image as they're not normally required, but the System Tools bundle add-on in the LE repo contains i2c-tools. The user response in the first thread you linked Help installing DDCUTIL also suggests copying the ddcutil binary from an Ubuntu image worked, so perhaps Ubuntu compiles it static whereas RPiOS compiles it shared? You can avoid the need to install Ubuntu by downloading the .deb package from online resources and unpacking it with ar x file.deb on LE to get the binary, then use ldd to see if it's static and usable.
NB: Another possibly useful thing is the "Turn Off" screensaver in the Kodi repo. It will normally trip shutdown/wake on a monitor instead of showing pretty things on-screen.
-
Could you perhaps give me a more specific hint?
Nope. I have enough architectural knowledge of Kodi to know the API is the correct way to make a remote device play something, but I've never needed to do anything with JSON-RCP myself, and thus have no knowledge to share.
That said, have a look at how "kodi-send" wraps API commands?
The better place to ask Q's will be the Kodi forum.
-
Note that it's possible to install the NTFS-3G driver add-on; the OS will then use them to mount NTFS drives instead of the in-kernel drivers, thus replicating the experience of older LE versions.