escalade any chance for avx2 build?
Posts by rooty
-
-
hmm, will dig how that works, weird tho, seems everything is ok
Code
Display More# python Python 2.7.14 (default, Nov 18 2017, 01:47:10) [GCC 7.2.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import os >>> s=os.statvfs('/var/media/xstorage') >>> s posix.statvfs_result(f_bsize=4096, f_frsize=4096, f_blocks=1453324420, f_bfree=1317915309, f_bavail=1244654701, f_files=183144448, f_ffree=183143655, f_favail=183143655, f_flag=1030, f_namemax=255) >>> s.f_bsize*s.f_bavail 5098105655296 >>> 5098105655296/1024/1024 4861932 >>> 5098105655296/1024/1024/1024 4747 >>> 5098105655296/1024/1024/1024/1024 4
-
LibreELEC 8.2
I'm using latest LE8 "Remix" tho: intel-core-avx2 – Google Drive
-
Hey, I'm trying to understand why I'm getting: "There is not enough free storage space to continue!" . It was working before I started to use docker, not sure if this is related.
Code
Display More# df -h Filesystem Size Used Available Use% Mounted on devtmpfs 7.8G 500.3M 7.3G 6% /dev /dev/nvme0n1p1 766.5M 516.1M 250.4M 67% /flash /dev/nvme0n1p2 467.7G 5.4G 462.3G 1% /storage /dev/loop0 500.4M 500.4M 0 100% / tmpfs 7.8G 0 7.8G 0% /dev/shm tmpfs 7.8G 8.4M 7.8G 0% /run tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup tmpfs 7.8G 4.3M 7.8G 0% /var tmpfs 7.8G 4.0K 7.8G 0% /tmp none 467.7G 5.4G 462.3G 1% /tmp/cores none 467.7G 5.4G 462.3G 1% /tmp/shaders none 467.7G 5.4G 462.3G 1% /tmp/autoconfig none 467.7G 5.4G 462.3G 1% /tmp/database none 467.7G 5.4G 462.3G 1% /tmp/assets /dev/nvme0n1p2 467.7G 5.4G 462.3G 1% /storage/.kodi/userdata/addon_data/service.system.docker/docker/overlay2 /dev/sda1 5.4T 243.0G 4.9T 5% /var/media/xstorage overlay 467.7G 5.4G 462.3G 1% /storage/.kodi/userdata/addon_data/service.system.docker/docker/overlay2/64d461c4898da871ea83e20f489d8543b20056bd4bf63fa2499d474b496292fe/merged shm 64.0M 0 64.0M 0% /storage/.kodi/userdata/addon_data/service.system.docker/docker/containers/553f6b38fc76ef2cd835564d509d34223b51c8baad9a4e10281672376a5aa706/shm overlay 467.7G 5.4G 462.3G 1% /storage/.kodi/userdata/addon_data/service.system.docker/docker/overlay2/3b2fadc60b11ac1881a30f401d1b0b08fd4fa04348e1b636c15505d17cffa793/merged shm 64.0M 0 64.0M 0% /storage/.kodi/userdata/addon_data/service.system.docker/docker/containers/5a5a1d53954266181327ab87d4d47668ec53711b0219e167badedb6818af566b/shm overlay 467.7G 5.4G 462.3G 1% /storage/.kodi/userdata/addon_data/service.system.docker/docker/overlay2/d5f53ae7ca518e53a6568429d9d33c678265bdd9e796ecdc1e7d9cc8047ddb75/merged shm 64.0M 0 64.0M 0% /storage/.kodi/userdata/addon_data/service.system.docker/docker/containers/4172e8a00497c103ce347733c0bd3f673f243c71029c113415b16b303d5a1969/shm
I'm trying to backup to /var/media/xstorage, I have almost 5TB free what is more then enough. Will appreciate any help
-
Thanks vpeter , symlink is a nice temporary fix which works like a charm. Also seems like fonts.dir and fonts.scale are not mandatory, everything works without these files.
-
For those who can't wait until it will be fixed (like me) I made a nasty hack:
Bash: runme.sh
Display More#!/bin/sh FONTS_DIR="/storage/.kodi/media/Fonts" BASEDIR="$( cd "$( dirname "$0" )" && pwd )" export LD_LIBRARY_PATH="$BASEDIR:$LD_LIBRARY_PATH" if [ ! -d "$FONTS_DIR" ] then echo "$FONTS_DIR is missing, exiting..." exit 1 fi uname -m | grep -q "x86_64" if [ $? -gt 0 ] then echo "[x] Sorry, this script supports x86_64 only" exit 1 fi lsb_release -a | grep -q LibreELEC if [ $? -gt 0 ] then echo "[x] Sorry, this script supports LibreELEC only" exit 1 fi mount | grep -q /usr/share/fonts if [ $? -eq 0 ] then echo "[x] Detaching Kodi's fonts from system" umount /usr/share/fonts fi set -e echo "[x] Making a copy of system fonts" cp -r /usr/share/fonts/* $FONTS_DIR echo "[x] Making an index of font files" # mkfontscale "$BASEDIR/mkfontscale" $FONTS_DIR # mkfontdir "$BASEDIR/mkfontscale" -b -s -l $FONTS_DIR echo "[x] Attaching Kodi's fonts to system" mount --bind /storage/.kodi/media/Fonts /usr/share/fonts echo "[x] Done"
At the path "/storage" create a new directory with any name (example: fonthack) . Inside the directory create a file (for example runme.sh) and copy content from above to the file and run following command
I've attached dependencies to this post:
You need to put these 3 files to your new folder (in example above it's fonthack) .
You need to run the file (example: runme.sh) every time when new fonts uploaded to /storage/.kodi/media/Fonts or Kodi's hardware was rebooted.
If everything went ok, you should see following:
CodeLibreELEC:~/fonthack # ./runme.sh [x] Making a copy of system fonts [x] Making an index of font files [x] Attaching Kodi's fonts to system [x] Done
That's it. You don't need to restart Kodi or anything else. Should work right away. If you was watching movie while doing this, stop the movie and play again. Cheers
-
-
vpeter, ah, completely forgot about mount --bind, but YEAP! It works! The theory is confirmed now. Thanks!
This is how it looks like before any change: Shared album - Stas Rudenko (rooty0) - Google Photos .
And the result after the binding custom fonts to /usr/share/fonts: Shared album - Stas Rudenko (rooty0) - Google Photos
P.s. I also have following files at /storage/.kodi/media/Fonts which where created for the fonts: fonts.dir , fonts.scale
So this is interesting, actually it is related to Xorg . Would be cool to have custom xorg config at /storage/.config , so in this case additional font path can be added
-
Okay, after spending a day playing with this I was able to find interesting Kodi's behavior. For *.ass fonts Kodi actually looks into /usr/share/fonts/ . I'm guessing some library checks this path. Seems like this thing which renders subtitles completely ignores "/storage/.kodi/media/Fonts" and I can't upload custom fonts to "/usr/share/fonts/" because it's read only by default. Trying to find a way to make it open "/storage/.kodi/media/Fonts", will appreciate any help.
-
Hey escalade, do you have any changelog for those images on google drive? I see dates changes, but not sure if it worth to update. Just wondering. Thanks
-
Hi,
I have SSA subtitles (*.ass) with custom fonts that I have as well. I moved them to /storage/.kodi/media/Fonts . So kodi sees these new fonts and I can change default font under "Language --> Subtitle --> Font to use for text subtitles". What I'm trying to achieve is actually to see all these fonts while watching a movie like it's defined in *.ass file when different lines can have different fonts.
Does anybody know how to make it work?
-
hey, quick question. My CPU supports avx2 so I'd like to install related build intel-core-avx2. I was not able to find an image file for this build, just few tars, what's the easiest way to create img from tar?
-
Hey guys,
I've recently bought "NUC7i5BNK" to replace my Raspberry Pi 3. Now I'm facing with this issue: my tv remote does not work with kodi anymore.
Quote
HDMI-CEC allows devices connected to your TV through HDMI ports to communicate back and forth with your TV.I use the same hdmi cable on same TV's hdmi port. It works fine with Raspberry Pi 3 but not NUC. Does anybody know how to fix this?