Amlogic-no Discussion

Confirmed, AV1 DV-P10 is working :muscle:, thank you. If only AML can release DV FEL dovi.ko, I soulfully would ditch CE-NG so quickly :tired_face:

1 Like

Hi, is there any plans to release NO on Oowow? Or will that only happen when it comes out of beta?

You can install any image over ssh. Just start krescue/oowow on your VIM4 device, check IP address and write CE image to eMMC on it

curl VIM4_IP_ADDRESS/shell/write | sh -s - CoreELEC-Amlogic-no.aarch64-22.0-Piers_nightly_20250505-Khadas_VIM4.img.gz

It is possible to write to uSD card too

curl VIM4_IP_ADDRESS/shell/write | sh -s - image_file -sd
1 Like

I have one big and one minor issue with the latest amlog-no nightly (and all previous versions):

Major issue:
Widevine does not work correctly on the Odroid N2:
error <general>: AddOnLog: inputstream.adaptive: License server returned failure (HTTP error 400)
I am not sure about the reason, one guess is that the BSP was not adjusted yet according to (Widevine ARM64 support Ā· xbmc/inputstream.adaptive Wiki Ā· GitHub)?

Minor issue:
I have the 2GB version of the Odroid N2, and kodi crashes almost immediately when i watch videos and zram is not activated. I could solve this by creating the following file:

coreelec:~/.config/system.d # cat /storage/.config/system.d/zram.service
[Unit]
Description=zram
Before=kodi.target

[Service]
Type=oneshot
ExecStart=modprobe zram num_devices=1
ExecStart=/usr/bin/bash -c "echo 384M > /sys/block/zram0/disksize"
ExecStart=mkswap /dev/zram0
ExecStart=swapon -p 10 /dev/zram0

[Install]
WantedBy=kodi.target

2GB ram is not enough? Do you running some addons which eats it? How much is free before playback? And do you have crash log?

inputstream.adaptive addon was updated - check if you have latest version installed 22.2.3-Piers

Can this command install to emmc also?

First command writes to eMMC, second to uSD card (notice -sd argument).

1 Like

It’s nice, which skin do you use? Could you upload the xml file?

I use the original estuary interface.I use the xml file by editing it myself.
skin.estuary.rar (12.7 KB)

Thank you very much, I’ll use it

1 Like

Yes, 2GB ram is not enough without the zram module. I was simply using GitHub - rbuehlma/pvr.zattoo: Kodi PVR-Addon for Zattoo addon, otherwise a fresh installation. I can’t reproduce at this moment as the device is in use by my family right now, IIRC it was about 500-700MB free memory before the crash. It looked like the GPU memory was having issues, not the overall system RAM. I can tell you more in the next days.I can provide the crash log, Is there any sensitive data i need to redact in the crash log? I was using the following version with the zram which led to the crash:

################ SYSTEM INFO ################
 Date: Sun May  4 22:08:11 CEST 2025
 kodi Options: --standalone -fs  
 Arch: aarch64
 Kernel: Linux 5.15.153 #1 SMP PREEMPT Sat May 3 01:30:15 IDT 2025
 Release: CoreELEC 22.0-Piers_nightly_20250503
############## END SYSTEM INFO ##############

i still have the same error:

 error <general>: AddOnLog: inputstream.adaptive: License server returned failure (HTTP error 400)

with the current nightly and the newest inputstream.adaptive 22.2.3.1 and this nightly version:

##############################################
#                  CoreELEC                  #
#            https://coreelec.org            #
##############################################

CoreELEC (official): 22.0-Piers_nightly_20250506 (Amlogic-no.aarch64)
      Machine model: Hardkernel ODROID-N2
     CoreELEC dt-id: g12b_s922x_odroid_n2
      Amlogic dt-id: g12b_w400_a
      Linux version: 5.15.153 (docker@1884f0ac5fb3) #1 Tue May 6 01:29:04 IDT 2025
      Kodi compiled: 2025-05-06 01:57:53 +0200

Note that this all worked fine on stable/nightly builds for the non-amlogic-no version (i don’t know the nickname of the stable version, perhaps just amlogic). This is why i suspected the code changes mentioned in Widevine ARM64 support Ā· xbmc/inputstream.adaptive Wiki Ā· GitHub may not be implemented yet in amlogic-no. I think inputstream adaptive downloads the aarch64 version of widevine on amlogic-no, and the aarch32 version of widevine on amlogic.

@vpeter:
I actually found at least some leftovers of the crash analysis when NOT using the additional zram:

Apr 26 17:52:01 kodi kernel: mali ffe40000.bifrost: OOM notifier: dev mali0  32396 kB
Apr 26 17:52:01 kodi kernel: mali ffe40000.bifrost: OOM notifier: tsk kodi.bin  tgid (1686)  pid (1686) 32396 kB
Apr 26 17:52:01 kodi kernel: mali ffe40000.bifrost: OOM notifier: dev mali0  32396 kB
Apr 26 17:52:01 kodi kernel: mali ffe40000.bifrost: OOM notifier: tsk kodi.bin  tgid (1686)  pid (1686) 32396 kB
Apr 26 17:52:01 kodi kernel: mali ffe40000.bifrost: OOM notifier: dev mali0  32396 kB
Apr 26 17:52:01 kodi kernel: mali ffe40000.bifrost: OOM notifier: tsk kodi.bin  tgid (1686)  pid (1686) 32396 kB
Apr 26 17:52:01 kodi kernel: mali ffe40000.bifrost: OOM notifier: dev mali0  32396 kB
Apr 26 17:52:01 kodi kernel: mali ffe40000.bifrost: OOM notifier: tsk kodi.bin  tgid (1686)  pid (1686) 32396 kB
Apr 26 17:52:01 kodi kernel: mali ffe40000.bifrost: OOM notifier: dev mali0  32396 kB
Apr 26 17:52:01 kodi kernel: mali ffe40000.bifrost: OOM notifier: tsk kodi.bin  tgid (1686)  pid (1686) 32396 kB
Apr 26 17:52:01 kodi kernel: mali ffe40000.bifrost: OOM notifier: dev mali0  32396 kB
Apr 26 17:52:01 kodi kernel: mali ffe40000.bifrost: OOM notifier: tsk kodi.bin  tgid (1686)  pid (1686) 32396 kB
Apr 26 17:52:01 kodi kernel: mali ffe40000.bifrost: OOM notifier: dev mali0  32396 kB
Apr 26 17:52:01 kodi kernel: mali ffe40000.bifrost: OOM notifier: tsk kodi.bin  tgid (1686)  pid (1686) 32396 kB
Apr 26 17:52:01 kodi kernel: mali ffe40000.bifrost: OOM notifier: dev mali0  32396 kB
Apr 26 17:52:01 kodi kernel: mali ffe40000.bifrost: OOM notifier: tsk kodi.bin  tgid (1686)  pid (1686) 32396 kB
Apr 26 17:52:01 kodi kernel: mali ffe40000.bifrost: OOM notifier: dev mali0  32396 kB
Apr 26 17:52:01 kodi kernel: mali ffe40000.bifrost: OOM notifier: tsk kodi.bin  tgid (1686)  pid (1686) 32396 kB
Apr 26 17:52:01 kodi kernel: oom_reaper: reaped process 1686 (kodi.bin), now anon-rss:0kB, file-rss:33464kB, shmem-rss:0kB
Apr 26 17:52:01 kodi kernel: aml_T9015_audio_set_bias_level
Apr 26 17:52:01 kodi kernel: aml_T9015_audio_set_bias_level
Apr 26 17:52:01 kodi kernel: frddrs[0] released by device ff642000.audiobus:i2s2hdmi
Apr 26 17:52:00 kodi systemd[1]: kodi.service: A process of this unit has been killed by the OOM killer.
Apr 26 17:52:01 kodi kodi.sh[1682]: /usr/lib/kodi/kodi.sh: line 168:  1686 Killed                  /usr/lib/kodi/kodi.bin ${ENV_ARGS} ${SAVED_ARGS}
Apr 26 17:52:01 kodi systemd[1]: kodi.service: Main process exited, code=exited, status=137/n/a

→ sound like the Mali GPU driver is OOMing

kodi:~ # dmesg | grep -e cma -e reserved
[  364.517215]  free:246797 free_pcp:110 free_cma:242716
[  364.517230] DMA free:987188kB min:16384kB low:20480kB high:24576kB reserved_highatomic:0KB active_anon:11848kB inactive_anon:417100kB active_file:968kB inactive_file:19312kB unevictable:0kB writepending:0kB present:1966080kB managed:1873396kB mlocked:0kB bounce:0kB free_pcp:440kB local_pcp:64kB free_cma:970864kB
[  364.517294] 23171 pages reserved
[  364.517295] 309248 pages cma reserved
[  410.774125]  free:259187 free_pcp:110 free_cma:255323
[  410.774140] DMA free:1036748kB min:16384kB low:20480kB high:24576kB reserved_highatomic:0KB active_anon:12476kB inactive_anon:426768kB active_file:1768kB inactive_file:6700kB unevictable:0kB writepending:0kB present:1966080kB managed:1873396kB mlocked:0kB bounce:0kB free_pcp:440kB local_pcp:440kB free_cma:1021292kB
[  410.774205] 23171 pages reserved
[  410.774206] 309248 pages cma reserved
[  441.988631]  free:258563 free_pcp:110 free_cma:255323
[  441.988652] DMA free:1034252kB min:20480kB low:24576kB high:28672kB reserved_highatomic:0KB active_anon:12048kB inactive_anon:431680kB active_file:1456kB inactive_file:5416kB unevictable:0kB writepending:0kB present:1966080kB managed:1873396kB mlocked:0kB bounce:0kB free_pcp:440kB local_pcp:0kB free_cma:1021292kB
[  441.988742] 23171 pages reserved
[  441.988744] 309248 pages cma reserved

I hope you did a clean, fresh new install of CE-NO and not a update! The user arch did change so all widevine stuff is not compatible anymore.
Also backups are not compatible!

When was this from? Ive been keeping my backups and using them atm

yes i did a fresh install.
I did copy over some folders from the old install into ~/.kodi/userdata/addon_data
i’ll try to uninstall all related addons and their data, reinstall the addons and try again.

If that doesn’t work i’ll try a fresh install once more without restoring addons.

Reporting back in the next few days …

No, make clean fresh install on formated boot media!

Is there any change with setting up a power switch on Odroid N2+ between this and NG? I have edited config.ini to use GPIO 479 and wired the switch to GPIO pins 9 and 11 as I did for NG but it doesn’t work.

To continue, I see that the narrative for GPIO has changed in NO but I can’t understand it. I can’t find a clue from the example given as to what I should set for the N2+

Can anyone help this simpleton?

Search at khadas how to get the number for VIM4. It’s same what I remember. It was also somewhere here in forum.

I’ve been trying but I stand more chance of becoming fluent in Klingon. Thanks for trying to help though, it is appreciated.

To be honest, it’s no big deal and it’s been more of a ā€˜can I do this?’ project. My remote’s power button already does the job.