IIRC it's possible to "cp /user/share/kodi/system/peripherals.xml /storage/.kodi/userdata/peripherals.xml" .. make changes to the version on /storage and reboot, and the userdata version overrides the embedded one?
Posts by chewitt
-
-
If the MAC is stable, it's likely an issue with the speakers. I forget the explanation for what's going on, but it's more frequently observed with Headphones; at least in numbers of reports we've seen here. Google against headphones and you'll find the explanation.
-
Hopefully the flashing situation will be resolved. We recently discovered via the Intel folks working on HDR support (Kodi is their test app) that Intel has an internal Linux tool for tthis; they are going to see if it can be cleaned-up and released. No promises, but fingers are crossed.
Bugs in official Kodi add-ons should be reported to Team Kodi via their forums or a detailed bug report (follow the template) on GitHub.
-
Make sure it's the HDMI port nearest the power connector.
-
What are you expecting SP2D to do?
-
-
If you are using one of the nightly images from Index of / there is a tool called "emmctool" in the OS to help with installing LE to the internal emmc storage. In short, you need to boot from any image to an LE console and then run:
emmctool w /path/to/LibreELEC-AMLGX.arm-XXXXX-khadas-vim.img.gz
The tool will then unpack and overwrite the existing contents of emmc storage with the specified image. If you are already booted from the AMLGX "box" image the tool is in the OS, and all you need to do is download the "khadas-vim.img.gz" suffixed image to /storage and run the command.
The tool is considered experimental but has worked well for me in regular wipe/format boot tests. If it does screw up (it was writen by me so this is always possible) the provblem will be something wrong with partitions and naming. In this scenario you still end up with a working u-boot installed on emmc and can continue to boot from the "box" SD card to simply repeat the process.
If you are using older "KVIM" images (our legacy codebase) .. support for them among staff is now rather limited and I would recommend you continue to run them from an SD card.
-
Rrun "bluetoothctl show | grep Controller" and note the MAC addres, then reboot and run again. Did the MAC change?
-
Kodi support for newer Allwinner (and Amlogic, and Rockchip) hardware is a choreographed ballet of very recent kernels, mesa, ffmpeg and Kodi (19) items. You can backport kernel, mesa, and ffmpeg to an older LE release fairly easily, but then the Kodi version will not support the kernel drivers and ffmpeg correctly. TL/DR; You need to stick with LE master images. There has been a lot of indecision among add-on authors due to a long/protracted noegotiation about how to handle the Py3 version bump. There is now firm clairity on that from Team Kodi, and while not all authors will like the decision made, the decision has been made so the way forwards is clear, and that should result in more add-ons being converted.
-
/flash/extlinux/extlinux.conf is not an equivalent to config.txt (RPi config commands won't work) but if you follow the instructions for Intel GPUs here Custom EDID [LibreELEC.wiki] the same process for forcing a specific edid.bin file (so the kernel drm framework always thinks an HDMI device is connected and powered) should work - Allwinner boards are also using the same kernel drm framework.
-
I moved the thread because you necro-bumped a 3-year old Amlogic thread so any advice on installing for the other Bqeel hardware is not going to be relavent to your Rockchip device.
-
FWIW .. I was playing the file from an NAS (SMB) device in the network using the low-spec on-board WiFi of the Hub. I'm not aware of any issues with USB read/write performance on Amlogic SoC's but I also never/rarely use local media with any low-power ARM devices; not because they're inherently bad, but because I swap between 20+ devices on a regular basis so everything's in a central place in the network to make that easier.
-
If you set defaults to -Os it will optimise the image for file size not "running in RAM size" which is the issue. LE sets -O2 which is sensible.
And .. every couple of years some user discovers this wonderconfig they read about called zram, makes a lot of noise, and rushes off to do extensive performance testing that proves zram has negligible/zero benefit in our distro. Boards under 1GB don't have enough RAM to really benefit from loading more things into RAM and 1GB+ we already run everything in a ramdisk so forcing zram use only adds additional overhead.
-
-
Code
Display More● kodi.service - Kodi Media Center Loaded: loaded (/usr/lib/systemd/system/kodi.service; disabled; vendor preset: disabled) Active: active (running) since Sun 2020-03-29 09:50:25 +04; 8s ago Process: 3328 ExecStartPre=/usr/lib/kodi/kodi-config (code=exited, status=0/SUCCESS) Main PID: 3334 (kodi.sh) Tasks: 4 (limit: 502) Memory: 88.3M CGroup: /system.slice/kodi.service ├─3334 /bin/sh /usr/lib/kodi/kodi.sh --standalone -fs ├─3355 /bin/sh /usr/lib/kodi/kodi.sh --standalone -fs └─3356 gdb /usr/lib/kodi/kodi.bin --core=/storage/.cache/cores/core.!usr!lib!kodi!kodi.bin.1585461026.3338 --batch -ex thread apply all bt Mar 29 09:50:25 HUB systemd[1]: Starting Kodi Media Center... Mar 29 09:50:25 HUB systemd[1]: Started Kodi Media Center. Mar 29 09:50:26 HUB kodi.sh[3338]: DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory Mar 29 09:50:33 HUB kodi.sh[3334]: Segmentation fault (core dumped)
If I add "mem=512M" to kernel boot params on an S905 device Kodi faults with this error ^
So unless there are improvements to RAM utilisation in the OS or specifically the video stack, Kodi cannot run on 512MB LaFrite devices. I've flagged it to a couple of the developers, but since we are refusing to support 512MB Allwinner devices as being "too small for sensible Kodi use" and the long-term message on RPi 512MB hardware is similar (we will drop support for RPi0/1 sometime soon) I wouldn't expect a surge of activity .. sorry.
-
It played fine on an S905 device (WeTek Hub) for me. I will dig LaFrite out of a box and test S805X after work later, but I wouldn't expect there to be any fundamental differences.
-
Code
Display More# OpenGL-ES implementation to use OPENGLES="libmali" # Graphic drivers to use GRAPHIC_DRIVERS="mali" # KODI Player implementation to use KODIPLAYER_DRIVER="$OPENGLES" # Mali GPU family MALI_FAMILY="400"
^ as long as these are set in device options you shouldn't need to change anything else in the build-system *BUT* you will need to make a clean build (remove the entire build.LibreELEC* folder) to ensure the kernel is not build with lima and that all userspace symlinking and compile-linking against EGL and GBM libraries is handled correctly. Your description makes me think you've built with a mesa configuration and then done the switch to mali without doing a clean build after?
NB: It's also worth bumping to mesa HEAD to pick-up all the improvements made since 20.0.x .. lima is still under very active development with small incremental improvements on a weekly basis. It would be a shame to go back to blobs.
-
Here's my $0.02 theory: Over time the kernel has evolved better power management which means more hardware can go into deeper sleep states. This is great for power efficiency during suspend/sleep but means you might have to apply some configuration to ensure the NIC (or entire device) remains at a high enough sleep state to still receive the WOL packet. I have a huch that the move from older to newer kernel effects the change. I haven't been using x86 kit for aeons so have no idea how you'd prevent deeper suspend/sleep, but it's something to investigate.