Posts by chewitt

    RPi3 boards cannot hardware decode HEVC media so the stolen 720p media being played is probably at or beyond the limits of CPU decoding without overclocking being used to increase CPU capabilities; which needs a stronger PSU and proper cooling.

    There are also a bunch of errors in the system log related to the mmc0 device. Either the SD card is starting to fail, or this is another symptom of an insufficient PSU and the system being maxed out.

    There are also errors from Hyperion which won't work unless you're using an external grabber as the modern video pipeline used since LE10 doesn't support the software grabber methods used in older LE/RPiOS codebases.

    So looks like an under-spec tool failing at the task being asked of it, that probably needs a spring clean to clear old config.

    Quote

    The Okdo ROCK 4C+ is authorised and manufactured by RS Group previously. So it's a legal clone. For the boot issue, do they use the rkbin loader or the mainline u-boot SPL?

    From Radxa ^ .. so if the board specs are slightly different we (and upstream) probably need a separate "okdo-rock-4c" device so that u-boot can be built with the correct specs or tooling and/or someone needs to submit support upstream.

    In case it's not obvious, i've only recently taken an interest in Rockchip boards and I'm still learning what tooling and juju is needed to boot them.

    It appears to be latest Linux + packages from LE13 but with LE12 Kodi

    There are endless delays in the release of Kodi Piers, and while it's perfectly usable (and stable) it's technically in a pre-Alpha state.

    Meanwhile users keep showing up with x86_64 hardware that needs newer kernels/drivers than present in LE12.0, and upstream RPiOS has moved to a newer codebase, while other ARM SoC devices generally benefit from newer kernels to reduce patchsets or add functionality.

    The original goal was a 'minimal' backporting of things from LE13, though it's grown a little since, but basically it's K21 with newer kernel and drivers. It will need testing, but as this is mostly stuff from LE12 which is stable and LE13 which is well tested we aren't expecting drama and won't be running a long test period.

    LE12.2 probably has a short shelf-life as there are signs Kodi might finally start moving towards an Alpha release, but I'm not the type for holding breath as similar signs were present 8-months ago .. and we're still in the same state.

    You cannot edit the original skin files as those exist inside the read-only SYSTEM file, but you can copy (clone) the skin directory to a writeable location like /storage/.kodi/addons/skin.myskin and then edit the addon.xml file for the skin to rename it so there's no name clash between the embedded skin and your cloned one. Stop and restart Kodi (or reboot) and then enable and select the skin to be the active one. Use kodi-remote from the SSH console or kodi-send commands to reload the skin as you make/test changes.

    There are hundreds of HOWTO articles on installing grub2 out there. I don't have one to-hand so you will need to go find and read one. The main point to understand is bootloaders are installed to a root disk device like /dev/sda, not partitions like /dev/sda1, or folders inside the filesystem contained within a partition. The only files that need to be copied are KERNEL/SYSTEM. The bootloader will want a config file though, which should reside in the same partition. The grub2 config file will have some kind of 'APPEND' line for boot params and you can crib that content from the syslinux.cfg file.

    Our distro packaging makes customising the skin complicated because Estuary is inside a squashfs file (SYSTEM) which is expanded into a virtual and read-only filesystem on each boot. You can clone the skin to /storage and then make changes to the clone, or you create a custom LE image that compiles the changes into the image.

    LE is minimalist so we don't have git and change management tools in the filesystem. You could add them via a Docker container if you wanted to, with a clone of the Kodi repo to e.g. /storage/xbmc.repo acting as the source of the skin and symlinks between the root folder of the Estuary skin files and /storage/.kodi/addons/skin.MyEstuary making the skin appear locally. It has the advantage of being somewhat self-contained on the device. It requires quite a bit of setup/fiddling though (and there are no guides for it) and you need to reinvent the wheel when moving to another device. If the changes are not extensive; perhaps skip "doing it right" and just clone the skin files locally and apply changes; and rinse/repeat occasionally if needed.

    The ultimate "doing it properly" is creating a custom image with the changes baked in. I have virtual machines and resources for that, and I'm using this workflow:

    Fork https://github.com/xbmc/xbmc/ to your own GitHub account. Now clone your repo locally, git remote add an 'upstream' source for the Kodi repo, and git checkout -b a local topic branch to contain commits for your skin changes. You can now make changes and git commit them to the branch, and generate diff patches using git format-patch. Over time and if required, you can git fetch upstream Kodi changes from their repo and git rebase your local branch against them, and regenerate the patches.

    Fork https://github.com/LibreELEC/LibreELEC.tv/ to your own GitHub account. now clone your repo locally, add an upstream remote for the LE repo, and checkout a local topic branch for your LE image changes. Add the diff patch(es) generated in the Kodi repo to packages/mediacentre/kodi-theme-Estuary/patches/ then commit them to the branch. You can now build a custom image that applies the diff patches to the skin. You can periodically fetch changes from our upstream repo and rebase your branch against them. and then rebuild the image.

    No idea what works best for you .. it's about time/effort/resources/skills available /shrug

    If the file glitches consistently in both LE and Kodi on Windows that might hint at a VAAPI hardware decoding issue. MPV is also a big fancy wrapper around libavcoded, but is probably using a different underlying version and/or is software decoding the file resulting in a different code path and capabilities. You can experiment in LE by disabling VAAPI hardware decoding. You can also experiment with an LE13 nightly which has newer kernel (drivers) and FFMpeg versions to see if newer is better (not always).