Nightly builds (NEW)

This is what i catch from recording with slow-mo.

Recorded video

@daniel3x Which model of Nexbox are you using? There should be a sticker on the bottom.

Yes there is. The problem is easily solved by a clean install. But after sometime it is showing this again.

@daniel3x which model are you using?

I want like to see if I can replicate the problem on my NexBox if it’s the same model.

Nexbox A95X-B7N 2/16GB
If you can replicate the green screen issue on start by power on the box first than the tv, i think it is that who causes this issue.

Is there any chance of 3DLUT support in the future? I understand its not a priority but it would be great if it could be implemented eventually

Also thank you for all your hard work! It is much appreciated. I make use of this software everyday and would not have it any other way :slight_smile:

Still support needed?

No, I think CEC issues are solved (at least for newer devices than GXL).

I have one little issue. :slight_smile:

Changing source doesnt boot box. :slight_smile:

Only a UART log can help to check what CEC messages are sent by the TV in suspend mode.

i also encounter serious problems since a couple of days with CEC
e.g.:
i turned on the power. the odroid n2 turns on. then tv turns on. then some time later, the receiver turns on. everything fine (even tho it feels wierd that the tv turns on before the av receiver).
i get a message a new nightly is available, i accept to reboot (system freezes, had to reboot by command line). it upgrades, i see the coreelec logo etc. - fine, it reboots.
now i see the coreelec logo, it looks like kodi starts and suddenly… hdmi2 is dead. something is really broken with CEC. i have to restart now a couple of times and hope it works again.

if you tell me what exactly you need, i try to provide it the next days.
iirc i already provided once those logs, so guess i can do it again.

i used putty to get some logs but it looks very… binary, no idea how to fix that. i used 9600 baud and ttyusb0 on fedora 32

[root@localhost oli]# cat putty.log 
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2021.02.21 19:20:17 =~=~=~=~=~=~=~=~=~=~=~=
Ύ)J����U�N���m
��H�1��(�
���!DŽ(�Δl       u���!���ߩ�ߩ�߉�X�!!��X�!!��X�!!��X�!!��X�!��̹��9���߉�▒�!!��▒�!!��▒��      ��▒~(᩠߹�߹�߹��9������T�����)��)E)���!܌!�[root@localhost oli]#

Use 115200.

when i use 115200 i get no output at all

edit: my bad, had to restart, made a big update, guess something was messed up (libs etc.)
here is the log

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2021.02.21 23:00:52 =~=~=~=~=~=~=~=~=~=~=~=
[  327.929976@0] [5210]: Failed to unmount /flash: Device or resource busy
[  327.939853@0] [5211]: /usr/lib/systemd/system-shutdown/disk-park.sh failed with exit status 1.
[  327.943340@0] systemd-shutdown[1]: Failed to finalize file systems, loop devices, ignoring.
[  328.107068@2] leds input1::numlock: led_trigger_set: Error sending uevent
[  328.108242@2] leds input1::capslock: led_trigger_set: Error sending uevent
[  328.115098@2] leds input1::scrolllock: led_trigger_set: Error sending uevent
[  328.122121@2] leds input1::kana: led_trigger_set: Error sending uevent
[  328.557865@0] reboot: Restarting system
bl31 reboot reason: 0xd
bl31 reboot reason: 0x1
system cmd  1.
G12B:BL:6e7c85:7898ac;FEAT:E0F83180:402000;POC:F;RCY:0;EMMC:0;READ:0;0.
bl2_stage_init 0x01
bl2_stage_init 0x81
hw id: 0x0000 - pwm id 0x01
bl2_stage_init 0xc1
bl2_stage_init 0x02

L0:00000000
L1:00000703
L2:0000c067
L3:14000020
B2:00402000
B1:e0f83180

TE: 94348

BL2 Built : 06:17:13, Jun 28 2019. g12b gf0505d7-dirty - qi.duan@droid13

Board ID = 4
Set A53 clk to 24M
Set A73 clk to 24M
Set clk81 to 24M
A53 clk: 1200 MHz
A73 clk: 1200 MHz
CLK81: 166.6M
smccc: 0001b868
eMMC boot @ 0
sw8 s
DDR driver_vesion: LPDDR4_PHY_V_0_1_14 build time: Jun 28 2019 06:17:09
board id: 4
Load FIP HDR from eMMC, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 0
fw parse done
Load ddrfw from eMMC, src: 0x00030200, des: 0xfffd0000, size: 0x0000c000, part: 0
Load ddrfw from eMMC, src: 0x0002c200, des: 0xfffd0000, size: 0x00004000, part: 0
PIEI prepare done
fastboot data load
00000000
emmc switch 1 ok
00000000
emmc switch 2 ok
fastboot data verify
verify result: 255
Cfg max: 2, cur: 1. Board id: 255. Force loop cfg
DDR4 probe
ddr clk to 1320MHz
Load ddrfw from eMMC, src: 0x00014200, des: 0xfffd0000, size: 0x0000c000, part: 0
00000000
emmc switch 0 ok
Check phy result
INFO : End of initialization
INFO : End of read enable training
INFO : End of fine write leveling
INFO : End of read dq deskew training
INFO : End of MPR read delay center optimization
INFO : End of Write leveling coarse delay
INFO : End of write delay center optimization
INFO : End of read delay center optimization
INFO : End of max read latency training
INFO : Training has run successfully!
1D training succeed
Load ddrfw from eMMC, src: 0x00020200, des: 0xfffd0000, size: 0x0000c000, part: 0
Check phy result
INFO : End of initialization
INFO : End of 2D read delay Voltage center optimization
INFO : End of 2D write delay Voltage center optimization
INFO : Training has run successfully!

R0_RxClkDly_Margin==94 ps 8
R0_TxDqDly_Margi==106 ps 9


R1_RxClkDly_Margin==0 ps 0
R1_TxDqDly_Margi==0 ps 0

 dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0001 
2D training succeed
auto size-- 65535DDR cs0 size: 2048MB
DDR cs1 size: 2048MB
DMC_DDR_CTRL: 00600024DDR size: 3928MB
cs0 DataBus test pass
cs1 DataBus test pass
cs0 AddrBus test pass
cs1 AddrBus test pass
 pre test  bdlr_100_average==420 bdlr_100_min==420 bdlr_100_max==420 bdlr_100_cur==420
 aft test  bdlr_100_average==420 bdlr_100_min==420 bdlr_100_max==420 bdlr_100_cur==420
non-sec scramble use zero key
ddr scramble enabled

100bdlr_step_size ps== 420
result report
boot times 5Enable ddr reg access
00000000
emmc switch 3 ok
Authentication key not yet programmed
get rpmb counter error 0x00000007
00000000
emmc switch 0 ok
Load FIP HDR from eMMC, src: 0x00010200, des: 0x01700000, size: 0x00004000, part: 0
Load BL3X from eMMC, src: 0x0003c200, des: 0x0172c000, size: 0x00094c00, part: 0
0.0;M3 CHK:0;cm4_sp_mode 0
E30HDR
MVN_1=0x00000000
MVN_2=0x00000000
[Image: g12b_v1.1.3375-8f9c8a7 2019-01-24 10:44:46 guotai.shen@droid11-sz]
OPS=0x40
ring efuse init
chipver efuse init
29 0a 40 00 01 20 23 00 00 04 38 34 48 56 4d 50 
[3.464670 Inits done]
secure task start!
high task start!
low task start!
run into bl31
NOTICE:  BL31: v1.3(release):ab8811b
NOTICE:  BL31: Built : 15:03:31, Feb 12 2019
NOTICE:  BL31: G12A normal boot!
NOTICE:  BL31: BL33 decompress pass
ERROR:   Error initializing runtime service opteed_fast


U-Boot 2015.01 (Feb 21 2021 - 00:22:39)

DRAM:  3.5 GiB
Relocation Offset is: d6ef7000
spi_post_bind(spifc): req_seq = 0
register usb cfg[0][1] = 00000000d7f85708
MMC:   aml_priv->desc_buf = 0x00000000d3ee77c0
aml_priv->desc_buf = 0x00000000d3ee9b00
SDIO Port B: 0, SDIO Port C: 1
Using default environment

In:    serial
Out:   serial
Err:   serial
vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters
vpu: driver version: v20190313
vpu: detect chip type: 9
vpu: clk_level default: 7(666667000Hz), max: 7(666667000Hz)
vpu: clk_level = 7
vpu: vpu_power_on
vpu: set_vpu_clk
vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100)
vpu: set_vpu_clk finish
vpu: vpu_module_init_config
vpp: vpp_init
vpp: g12a/b osd1 matrix rgb2yuv ..............
vpp: g12a/b osd2 matrix rgb2yuv..............
vpp: g12a/b osd3 matrix rgb2yuv..............
cvbs: cpuid:0x29
cvbs_config_hdmipll_g12a
cvbs_set_vid2_clk
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x1, tx-dly 0, clock 40000000
aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x12000
[mmc_startup] mmc refix success
[mmc_init] mmc init success
reading boot-logo-1080.bmp.gz
27036 bytes read in 4 ms (6.4 MiB/s)
[OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
[OSD]set initrd_high: 0x3d800000
[OSD]fb_addr for logo: 0x3d800000
[OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
[OSD]fb_addr for logo: 0x3d800000
[OSD]VPP_OFIFO_SIZE:0xfff01fff
[CANVAS]canvas init
[CANVAS]addr=0x3d800000 width=5760, height=2160
cvbs: outputmode[1080p60hz] is invalid
vpp: vpp_matrix_update: 2
set hdmitx VIC = 16
config HPLL = 5940000 frac_rate = 1
HPLL: 0x3b3a04f7
HPLL: 0x1b3a04f7
HPLLv1: 0xdb3a04f7
config HPLL done
j = 6  vid_clk_div = 1
hdmitx phy setting done
hdmitx: set enc for VIC: 16
enc_vpu_bridge_reset[1319]
rx version is 2.0  div=10
set hdmitx VIC = 16
config HPLL = 5940000 frac_rate = 1
HPLL: 0x3b3a04f7
HPLL: 0x1b3a04f7
HPLLv1: 0xdb3a04f7
config HPLL done
j = 6  vid_clk_div = 1
hdmitx phy setting done
hdmitx: set enc for VIC: 16
enc_vpu_bridge_reset[1319]
rx version is 2.0  div=10
[OSD]osd_hw.free_dst_data: 0,1919,0,1079
Net:   dwmac.ff3f0000
Hit Enter or space or Ctrl+C key to stop autoboot -- :  0 
card out
** Bad device mmc 0 **
reading boot.ini
2479 bytes read in 2 ms (1.2 MiB/s)
## Executing script at 01080000
reading resolution.ini
115 bytes read in 3 ms (37.1 KiB/s)
reading config.ini
4517 bytes read in 3 ms (1.4 MiB/s)
reading kernel.img
21473280 bytes read in 592 ms (34.6 MiB/s)
reading dtb.img
143360 bytes read in 7 ms (19.5 MiB/s)
## Booting Android Image at 0x01080000 ...
reloc_addr =d3f02500
copy done
No androidboot.dtbo_idx configuredactive_slot is <NULL>
Unknown command 'store' - try 'help'
No dtbo patitions found
load dtb from 0x1000000 ......
      Amlogic multi-dtb tool
      Multi dtb detected
cpu_id.chip_rev: a
      Multi dtb tool version: v2 .
      Support 2 dtbs.
        aml_dt soc: g12b platform: w400 variant: a
        dtb 0 soc: g12b   plat: w400   vari: c
        dtb 1 soc: g12b   plat: w400   vari: a
      Find match dtb: 1
No valid dtbo image found
Bad Linux ARM64 Image magic!
ee_gate_off ...
## Booting Android Image at 0x01080000 ...
reloc_addr =d537cd10
copy done
No androidboot.dtbo_idx configuredactive_slot is <NULL>
Unknown command 'store' - try 'help'
No dtbo patitions found
load dtb from 0x1000000 ......
      Amlogic multi-dtb tool
      Multi dtb detected
cpu_id.chip_rev: a
      Multi dtb tool version: v2 .
      Support 2 dtbs.
        aml_dt soc: g12b platform: w400 variant: a
        dtb 0 soc: g12b   plat: w400   vari: c
        dtb 1 soc: g12b   plat: w400   vari: a
      Find match dtb: 1
No valid dtbo image found
   Uncompressing Kernel Image ... OK
   kernel loaded at 0x01080000, end = 0x02c9d008
   reserving fdt memory region: addr=1012000 size=11000
   Loading Ramdisk to 3cea1000, end 3d7ff200 ... OK
   Loading Device Tree to 00000000d3ed1000, end 00000000d3ee4fff ... OK

Starting kernel ...

uboot time: 7001368 us
[    0.000000@0]        07400000 - 07500000,     1024 KB, ramoops@0x07400000
[    0.000000@0]        05000000 - 05400000,     4096 KB, linux,secmon
[    0.000000@0]        77800000 - 78000000,     8192 KB, linux,meson-fb
[    0.000000@0]        e5800000 - ed800000,   131072 KB, linux,ion-dev
[    0.000000@0]        e3000000 - e5800000,    40960 KB, linux,di_cma
[    0.000000@0]        e3000000 - e3000000,        0 KB, linux,ppmgr
[    0.000000@0]        c0800000 - d3c00000,   315392 KB, linux,codec_mm_cma
[    0.000000@0]        e3000000 - e3000000,        0 KB, linux,codec_mm_reserved
[    0.000000@0]        e2000000 - e3000000,    16384 KB, linux,galcore
[    0.322367@0] codec_mm_module_init
[    0.329248@0] clkmsr ffd18004.meson_clk_msr: failed to get msr ring reg0
[    0.344066@0] cvbs_out: chrdev devno 264241152 for disp
[    0.558210@5] mtdoops: mtd device (mtddev=name/number) must be supplied
[    0.565130@5] meson_cpufreq_init:don't find the node <dynamic_gp1_clk>
[    0.567175@5] meson_cpufreq_init:don't find the node <dynamic_gp1_clk>
[    0.569125@5] ff803000.serial: clock gate not found
[    0.665511@5] efuse efuse:  open efuse clk gate error!!
[    0.667347@5] amvideocap_probe,amvideocap
[    0.669089@5] use cma buf.
[    0.676329@5] di_get_vpu_clkb: get clk vpu error.
[    0.677461@5] Reserved memory: failed to init DMA memory pool at 0x00000000e3000000, size 0 MiB
[    0.686621@5] meson-mmc: >>>>>>>>hostbase ffffff8008595000, dmode 
[    0.737353@2] meson-mmc: >>>>>>>>hostbase ffffff800859e000, dmode 
[    0.779018@0] cectx ff80023c.aocec: cec driver date:2020/03/16:reduece no msg in sleep time
[    0.779018@0] 
[    0.783723@0] cectx ff80023c.aocec: compatible:amlogic, aocec-g12a
[    0.789663@0] cectx ff80023c.aocec: cecb_ver:0x1
[    0.794216@0] cectx ff80023c.aocec: line_reg:0x1
[    0.798759@0] cectx ff80023c.aocec: line_bit:0x3
[    0.803335@0] cectx ff80023c.aocec: ee_to_ao:0x1
[    0.808133@2] cectx ff80023c.aocec: not find 'port_num'
[    0.813144@2] cectx ff80023c.aocec: using cec:1
[    0.817641@2] cectx ff80023c.aocec: no hdmirx regs
[    0.822396@2] cectx ff80023c.aocec: no hhi regs
[    0.826904@2] cectx ff80023c.aocec: not find 'arc_port_mask'
[    0.832537@2] cectx ff80023c.aocec: not find 'output'
[    0.838931@2] cectx ff80023c.aocec: wakeup_reason:0x0
[    0.842653@2] cectx ff80023c.aocec: cev val1: 0x0;val2: 0x0
[    0.848137@2] cectx ff80023c.aocec: aml_cec_probe success end
[    0.856100@2] defendkey ff630218.defendkey: Reserved memory is not enough!
pwr_key=23dc4db2
usr_ir_proto = 00000000
pwr_key_mask = ffffffff
system power = 00000000
[    0.879992@2] asoc-aml-card auge_sound: control 2:0:0:I2SIn CLK:0 is already present
[    0.882128@2] snd_tdm ff642000.audiobus:i2s2hdmi: ASoC: Failed to add I2SIn CLK: -16
[    0.889832@2] aml_dai_tdm_probe, failed add snd tdm controls
[    1.048405@3] thermal thermal_zone0: binding zone soc_thermal with cdev thermal-cpufreq-0 failed:-22
[    1.051960@3] thermal thermal_zone0: binding zone soc_thermal with cdev thermal-cpufreq-1 failed:-22
[    1.061323@3] pm-meson pm: Can't get switch_clk81
[    1.260846@1] meson-fb meson-fb: create ion_client ffffffc0db570b40, handle=ffffffc0dba7b8c0
[    1.263672@1] meson-fb meson-fb: ion memory(0): created fb at 0x00000000e5800000, size 75 MiB
[    1.301330@3] meson-fb meson-fb: create ion_client ffffffc0db570b40, handle=ffffffc0db69a080
[    1.304129@3] meson-fb meson-fb: ion memory(1): created fb at 0x00000000ea400000, size 1 MiB
CoreELEC:~ # wake-on-lan = 00000000

this was: i rebooted CE and i got a first short signal (coreelec logo) and then the TV did not receive any further signal

this is what happens when i power off the tv and power it on again

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2021.02.21 23:03:59 =~=~=~=~=~=~=~=~=~=~=~=
bl30 get wakeup sources!
process command 00000006
bl30 enter suspend!
Little core clk suspend rate 1896000000
Big core clk suspend rate 24000000
store restore gp0 pll
suspend_counter: 1
Enter ddr suspend
ddr suspend time: 15us
alarm=0S
process command 00000001
GPIOA_11/13 off
cec ver:2018/04/19
CEC cfg:0x007f
WAKEUP GPIO cfg: 0x0000, bank: 0x00
USBPOWER=0, WOL=0
use vddee new table!
08915d0000000000set_remote_mode 0x00000000cec reset
Set cec pinmux:0x11
kern log_addr:0x01
Set cec log_addr:0x01,ADDR0:11
customer pwrkeys for IR is NULL, use defaults!
customer pwrkeys for IR is 0xf708fb04
cec R: 0f 87 00 e0 91
RX_OK
cec R: 0f 87 00 e0 91
RX_OK
customer pwrkeys for IR is 0xf708fb04
cec R: 0f 87 00 e0 91
RX_OK
cec R: 0f 87 00 e0 91
RX_OK
cec R: 0f 87 00 e0 91
RX_OK
cec R: 01 8c
RX_OK
cec T: 1f 87 00 00 00
cec_triggle_tx:TX_DONE
cec R: 01 8c
RX_OK
cec T: 1f 87 00 00 00
cec_triggle_tx:TX_DONE
cec R: 01 8c
RX_OK
cec T: 1f 87 00 00 00
cec_triggle_tx:TX_DONE
cec R: 0f 87 00 e0 91
RX_OK
cec R: 01 8f
RX_OK
cec T: 10 90 01
cec_triggle_tx:TX_DONE
cec R: 01 8f
RX_OK
cec T: 10 90 01
cec_triggle_tx:TX_DONE
cec R: 01 8f
RX_OK
cec T: 10 90 01
cec_triggle_tx:TX_DONE
cec R: 01 8f
RX_OK
cec T: 10 90 01
cec_triggle_tx:TX_ABT_LOST
cec R: 01
RX_OK
cec R: 5f 87 00 06 78
RX_OK
cec R: 5f 84 20 00 05
RX_OK
cec R: 5f 72 01
RX_OK
cec R: 0f 87 00 e0 91
RX_OK
cec R: 01 8f
RX_OK
cec T: 10 90 01
cec_triggle_tx:TX_DONE
cec R: 01 8f
RX_OK
cec T: 10 90 01
cec_triggle_tx:TX_DONE
cec R: 01 8f
RX_OK
cec T: 10 90 01
cec_triggle_tx:TX_DONE
cec R: 01 8f
RX_OK
cec T: 10 90 01
err: tx not finish flag
cec reset
Set cec pinmux:0x11
cec R: 0f 87 00 e0 91
RX_OK
cec R: 5f 87 00 06 78
RX_OK
cec R: 5f 84 20 00 05
RX_OK
cec R: 5f 87 00 06 78
RX_OK
cec R: 5f a7 00 00
RX_OK
cec R: 5f 85
RX_OK
cec R: 0f 82 00 00
RX_OK
use vddee new table!
exit_reason:0x08
Enter ddr resume
ddr resume time: 121us
store restore gp0 pll
cfg15 3b01000 
cfg15 83b01000 
Little core clk resume rate 1896000000
Big core clk resume rate 24000000

no signal on hdmi2 :frowning:

There were some CEC fixes last nightlies what could cause this. But it should work with last stable 9.2.6

guess i get trouble with kodi 19 vs kodi 18 (on 9.2.6) dont i?
i have some addons installed (netflix, youtube, iptv simple etc.)

The migration to Matrix is easy. If you don’t have some exotic addon there’s no problem. Some will migrate automatically, but Netflix, as an example, will need its matrix repo.

is there any kind of roadmap or tracking system where i can see what goes on behind the scenes with that CEC problem? like a bugtracker or so?