Good Kodi playback performance requires a combination of the right kernel version (and patches) + ffmpeg version (and patches) + Kodi version (shouldn't need patches). LE runs latest version kernels with patches (largely developed by LE devs) that improve codec and overall decoding performance that are regularly upstreamed but anything not a bugfix won't filter back down to the LTS kernels Armbian uses. LE also uses a more minimal/reduces kernel config that will be a little lighter on boards and latest versions of mesa. As userspace apps need to be aligned closely with kernel capabilities Armbian is probably using the default FFMpeg compiled with Kodi (right version but missing patches) or a general upstream FFMpeg package (not quite the right version, also missing patches). If you custom build Armbian with the same kernel/ffmpeg/mesa version and patches LE uses you should get a similar overall experience.
Posts by chewitt
-
-
-
-
You can try forcing a specific resolution by appending e.g. "video=HDMI-A-1:1280x720M@60" to kernel boot params, but if the graphics card in the PC doesn't support that resolution it probably doesn't result in working output. As a general rule you're stuck with whatever the card can output (and TV can display) and in this case it looks limited to some basic VESA resolutions.
-
Please provide a full debug log.How to post a log (wiki)1. Enable debugging in Settings>System Settings>Logging2. Restart Kodi3. Replicate the problem4. Generate a log URL (do not post/upload logs to the forum)
use "Settings > LibreELEC > System > Paste system logs" or run "pastekodi" over SSH, then post the URL link -
-
In post #188 the problem is reported against the Generic 'GBM' image which doesn't have any trace of Xorg libs inside. Generic-Legacy still uses X11 so the libs will be present.
-
-
-
@chewitt my update for the dreambox patches.
Yes, this is the same change that I made (but didn't share). Nice to know that it works.
-
There is also a problem with SSH. When trying to connect it shows an error:
The logs show this endlessly repeating:
Dec 11 16:06:02 LibreELEC-Penka systemd[1]: Starting sshd.service...
Dec 11 16:06:02 LibreELEC-Penka ssh-keygen[5065]: ssh-keygen: generating new host keys: RSA Could not save your private key in /storage/.cache/ssh/ssh_host_rsa_key.XXXXl8cxAN: No such file or directory
Dec 11 16:06:02 LibreELEC-Penka ssh-keygen[5065]: ssh-keygen: generating new host keys: ECDSA Could not save your private key in /storage/.cache/ssh/ssh_host_ecdsa_key.XXXXl7zlJv: No such file or directory
Dec 11 16:06:02 LibreELEC-Penka ssh-keygen[5065]: ssh-keygen: generating new host keys: ED25519 Could not save your private key in /storage/.cache/ssh/ssh_host_ed25519_key.XXXXAdmsHi: No such file or directory
The /storage/.cache/ssh directory should be created on first boot automatically so I've no idea how that can happen.
NB: I've not made any changes to Ethernet support in the 6.0.x kernel but perhaps there are general cleanups that improve things.
-
Code
rmmod r8712u insmod /usr/lib/kernel-overlays/base/lib/modules/6.1.0-rc8/kernel/drivers/staging/rtl8712/r8712u.ko debug=0x1416
Mind the line wrap ^ above; remove and reinsert the driver with a debug option and then see if anything more was printed to dmesg? - If yes, run "dmesg | paste" and share the URL. If nothing.. I'm out of ideas, other than removing the staging driver and digging up an older vendor driver. The TODO file in staging points to https://github.com/chunkeey/rtl8192su as an alternative; you can probably cp -R an existing realtek driver package.mk and swap the URLs/GitHash details to build it; if it builds.
-
rellla The plumbing for hardware deinterlace in FFMpeg under V4L2 has been figured out (for RPi, and similar works with other devices) but right now there is no support for the hardware deinterlace IP on Amlogic SoCs in Linux, so FFMpeg will fall back to software (Yadif or Bob, I forget which) sampling. It's watchable for normal media but anything sporting with faster panning shots isn't so great. I'd pay someone to write the driver code if I could find someone to pay..
-
DVI ports normally present 'Monitor' resolutions not 'TV' resolutions. No HDMI ports? - What resolutions do you think the TV supports?
-
Your box is running an unofficial OS image created by someone called "surkovalex" under contract with Eminent. The sources for the OS are posted here https://github.com/Eminent-Online/ although it's years since I bothered to look at what changes have been made (and I don't plan to start now). In short; we know nothing about Eminent boxes and we don't provide updated images for them. That said, you may be able to use the dtech 9.2.8 release which still uses the old vendor kernel and fixes a few things. If you need a newer Kodi version and aren't too demanding with codecs there is also an LE11 nightly AMLGX image which runs reasonably well on an S905X device; there are quite a few other S905X box devices based on the Amlogic reference design so you can probably find a device-tree file to use and get things working.
-
If you are trying to boot an LE 9.2.8 image on a recent RPi4 this will not boot/work as the (older) firmware in the LE 9.2.8 RPi4 image does not support the (newer) hardware in recent RPi4 models. You will need to use LE10.x or LE11.x nightlies.
So use LE 10.0.4, connect HDMI and Ethernet only, test again. If you see problems still, remove "quiet" from boot params in cmdline.txt and then look for errors on-screen. The failure to get time hints at an issue with NTP in your network (or lack of Ethernet) but this should not be fatal, the NTP check should timeout and boot should continue.
-
Is the drive powered from a separate PSU or the RPi? .. If powered from the RPi, connect it to a powered USB hub and test again.
-
LE11 onwards uses iwd not wpa_supplicant, so considering that LE10 is basically a dead codebase now (one final update will come for K19.5, but we aren't investigating and tinkering with anything else in the OS) .. test nightlies.