Nightly builds (NEW)

Everything’s running fine on my devices. If something crashes, you’ll be the first to know :wink:

I’d agree, very stable here. The odd delay of audio starting again coming off a long pause on varied video media but not enough to be annoying.

Nightlies are generally OK, although since the last stable build I have had repeated random crashes where there is no common denominator and with crash logs that contain quite a few lines such as:

[New LWP 5507]
[New LWP 5241]
[New LWP 5190]

I suspect that it mat be a skin issue but have not had time to investigate further because of these pesky people coming into the hospital with some kind of new virus taking up my valuable game time.

Other than that though all is well on my S905X2 and S912 boxes, so a stable would be in line with general operation for me.

My device is Beelink GT King pro. I use the nightly versions with the TBS5520SE USB tuner. I don’t have much trouble. Sometimes TVH crashes. I use TVH 43.

I forgot to mention one thing. There are problems with CEC. CEC was working fine with old samsung tv. I bought new 4K samsung tv now CEC is working problematic.


1 Like

Updated on Coreelec-Amlogic. arm-9.2-nightly_201229, how to enable zram?


Here you can find instruction for autostart.sh

Only one zram disk is created 256M

Try to execute commands one by one and check the output if it has some errors

there are errors, but I can’t provide them right now, sorry.
maybe I’ll do it later…

2020-12-29T21:00:00Z

CoreELEC (official): nightly_20201230 (Amlogic.arm)
CoreELEC:~ # modprobe zram num_devices=4
CoreELEC:~ # echo 256M > /sys/block/zram0/disksize
CoreELEC:~ # echo 256M > /sys/block/zram1/disksize
-sh: can't create /sys/block/zram1/disksize: nonexistent directory
CoreELEC:~ # echo 256M > /sys/block/zram2/disksize
-sh: can't create /sys/block/zram2/disksize: nonexistent directory
CoreELEC:~ # echo 256M > /sys/block/zram3/disksize
-sh: can't create /sys/block/zram3/disksize: nonexistent directory
CoreELEC:~ # mkswap /dev/zram0
Setting up swapspace version 1, size = 268431360 bytes
UUID=289b6fb4-1f9e-4d8f-bb7b-bba337ba0249
CoreELEC:~ # mkswap /dev/zram1
mkswap: can't open '/dev/zram1': No such file or directory
CoreELEC:~ # mkswap /dev/zram2
mkswap: can't open '/dev/zram2': No such file or directory
CoreELEC:~ # mkswap /dev/zram3
mkswap: can't open '/dev/zram3': No such file or directory
CoreELEC:~ # swapon -p 10 /dev/zram0
CoreELEC:~ # swapon -p 10 /dev/zram1
swapon: cannot open /dev/zram1: No such file or directory
CoreELEC:~ # swapon -p 10 /dev/zram2
swapon: cannot open /dev/zram2: No such file or directory
CoreELEC:~ # swapon -p 10 /dev/zram3
swapon: cannot open /dev/zram3: No such file or directory
CoreELEC:~ # swapon -s
Filename				Type		Size	Used	Priority
/dev/zram0                             	partition	262140	0	10

i had an update today which had a freaking long changelog (84 pages or so).
i guess that was an error. can someone provide the corrected changelog?

filkint, I think there is already some ram used and you can use only free ram.

Try to stop kodi first:

free -m
systemctl kodi stop
modprobe zram num_devices=4
echo 256M > /sys/block/zram0/disksize
... and all other commands
free -m

I think nothing was updated from last time. Could be some error with build script.

1 Like
CoreELEC (official): nightly_20210102 (Amlogic.arm)
CoreELEC:~ # htop
CoreELEC:~ # free -m
              total        used        free      shared  buff/cache   available
Mem:            803         170         363          11         269         570
Swap:             0           0           0
CoreELEC:~ # systemctl stop kodi
CoreELEC:~ # free -m
              total        used        free      shared  buff/cache   available
Mem:            803          91         441          11         270         649
Swap:             0           0           0
CoreELEC:~ # modprobe zram num_devices=4
CoreELEC:~ # echo 256M > /sys/block/zram0/disksize
CoreELEC:~ # echo 256M > /sys/block/zram1/disksize
-sh: can't create /sys/block/zram1/disksize: nonexistent directory
CoreELEC:~ # echo 256M > /sys/block/zram2/disksize
-sh: can't create /sys/block/zram2/disksize: nonexistent directory
CoreELEC:~ # echo 256M > /sys/block/zram3/disksize
-sh: can't create /sys/block/zram3/disksize: nonexistent directory
CoreELEC:~ # mkswap /dev/zram0
Setting up swapspace version 1, size = 268431360 bytes
UUID=386e6360-443f-4c0d-a963-811b5fc4618d
CoreELEC:~ # mkswap /dev/zram1
mkswap: can't open '/dev/zram1': No such file or directory
CoreELEC:~ # mkswap /dev/zram2
mkswap: can't open '/dev/zram2': No such file or directory
CoreELEC:~ # mkswap /dev/zram3
mkswap: can't open '/dev/zram3': No such file or directory
CoreELEC:~ # swapon -p 10 /dev/zram0
CoreELEC:~ # swapon -p 10 /dev/zram1
swapon: cannot open /dev/zram1: No such file or directory
CoreELEC:~ # swapon -p 10 /dev/zram2
swapon: cannot open /dev/zram2: No such file or directory
CoreELEC:~ # swapon -p 10 /dev/zram3
swapon: cannot open /dev/zram3: No such file or directory
CoreELEC:~ # free -m
              total        used        free      shared  buff/cache   available
Mem:            803          82         450          11         270         658
Swap:           255           0         255

P.S. Can I add an lz4 compressor?

As you can see you have only 441 MB free ram. And you can create only one 256 MB block for zram. Try higher size or use 2 smaller blocks.

For lz4: before settings size set the algorithm with

echo lz4 > /sys/block/zramX/comp_algorithm

you can check it with

cat /sys/block/zram0/comp_algorithm

and you get result

lzo [lz4] deflate lz4hc 842

LZ4 is enabled only on Amlogic-ng project.

CoreELEC (official): nightly_20210103 (Amlogic.arm)
CoreELEC:~ # modprobe zram num_devices=1
CoreELEC:~ # echo lz4 > /sys/block/zram0/comp_algorithm
-sh: can’t create /sys/block/zram0/comp_algorithm: Permission denied

CoreELEC:~ # cat /sys/block/zram0/comp_algorithm
cat: can’t open ‘/sys/block/zram0/comp_algorithm’: No such file or directory

Ah, LZ4 is not enabled on Amlogic project: https://github.com/CoreELEC/CoreELEC/blob/coreelec-9.2/projects/Amlogic/linux/linux.aarch64.conf#L139

It is available only on Amlogic-ng.

CoreELEC:~ # echo lzo > /sys/block/zram0/comp_algorithm
-sh: can’t create /sys/block/zram0/comp_algorithm: Permission denied
CoreELEC:~ # cat /sys/block/zram0/comp_algorithm
cat: can’t open ‘/sys/block/zram0/comp_algorithm’: No such file or directory
?

filkint, LZ4 is enabled and works only on Amlogic-ng project. In Amlogic is disabled.