19.0-Matrix Discussion

This one has beaten me. The only change is the version of CE. I’m guessing there must be some change made post v9.2.5 which affects your combination of N2 and Philips TV. In fact, that has to be the answer. Is there any way you can attach the N2 to a different TV for testing? I do recall there were HDMI-CEC changes made post v9.2.5 and I have a vague recollection that Philips TVs have had issues with HDMI-CEC in the past. This might be a question for @Portisch or @TheCoolest to answer.

From v9.2.6 changelog (look at 7th entry regarding CEC):-

Changes Since 9.2.5

  • Fixed booting ODROID-HC4 from an ATA drive
  • Added Device Tree for Beelink GT mini A and GT1 mini
  • Added support for STK1160 analog TV tuner
  • Added ZRAM support (Amlogic)
  • Added Bluetooth auto connect after boot and automatic switch to Bluetooth audio device
  • Improved media handling and playback
  • Fixed CEC driver (Amlogic-NG)
  • Several small bug fixes
  • Fixed 8K HEVC playback
  • Added possibility to use BBR TCP congestion control algorithm

I recall having to upgrade my Amlogic firmware to latest version when upgrading to v9.2.6 as HDMI-CEC stopped working (it was fine up to v9.2.5). The symptom was that when I powered down the Amlogic box, it did not switch HDMI source back to the TV. Once I upgraded firmware, everything went back to normal again. Is there a way to upgrade firmware on the N2? (more likely the culprit is the TV firmware).

I don´t know.
In many cases some ‘special’ settings or addons are causing issues

Video plays flawless here. N2 CE19 playing file from USB hard drive. Try a different TV?

Sorry to bump this again.
I was to fast at my reply last time, have uninstalled Composite and still get the “CoreELEC Configuration Error” at boot I think it could be the Multi Weather add-on which are loading the temperature.

Thanks for testing. Yes, a process of elimination points to changes made in v9.2.6 (possibly regarding CEC) affecting the combination of N2 and Philips TV. I updated my previous post.

Thx again

I made another video. It’s little bit longer (4 minutes), uncut and poor quality, I am sorry for that. I do not have tripod or thing like this. But it’s showing my issue. CE 9.2.5 everything is nice, update to CE 9.2.7 and playback is corrupted. No change in setup. Clean install, no addons. Link is below.
https://drive.google.com/file/d/15OOt6aO9KFpcVqj3EDy4IsXtswxau6QD/view?usp=sharing
BTW: CEC doesn’t work properly on CE9.2.6 too, that was the original reason I downgraded to 9.2.5.

Try to execute this magic commands and check after reboot if still same issue or not

mount -o remount,rw /flash
fdtput -ts /flash/dtb.img /sd@ffe05000 sd-uhs-sdr25
fdtput -ts /flash/dtb.img /sd@ffe05000 sd-uhs-sdr50
fdtput -ts /flash/dtb.img /sd@ffe05000 sd-uhs-sdr104
fdtput -ti /flash/dtb.img /sd@ffe05000 max-frequency 200000000
fdtput -ts /flash/dtb.img /sd@ffe05000/sd caps MMC_CAP_4_BIT_DATA MMC_CAP_UHS_SDR25 MMC_CAP_UHS_SDR50 MMC_CAP_UHS_SDR104 MMC_CAP_MMC_HIGHSPEED MMC_CAP_SD_HIGHSPEED MMC_CAP_ERASE MMC_CAP_CMD23
fdtput -ti /flash/dtb.img /sd@ffe05000/sd f_max 200000000
sync
mount -o remount,ro /flash
reboot

if some issues on system start after this commands then just replace dtb file with original one.

Is this for @viky808 to try - I’m not sure? Correct me if I’m wrong, this has to be done via ssh? @viky808 have you used ssh before? I use it via a free program on windows called “WinSCP”.

Yes, this is for viky808 and only for N2 box

Thanks for helping! Much appreciated :grinning: What does this do?

Starting debugging shell for boot step: mount_flash…type exit to quit
Error in mount_flash: mount_common: Could not mout UUID=********
replace the dtb.img?

yep, replace dtb to original in that case…
Try to use more fast usb stick or network share as your test file source and check again if it works correctly or not.
If it works correctly then don’t use this sd card for video files source.

Ok, I am here. Nothing has changed, playback is still corrupted CE 9.2.7.

We tried installing CE 9.2.5 on the card that currently had CE19 (and was giving the problems). When installing CE 9.2.5 on that same card, the playback was perfect. That suggests the card is not the problem?

This is plain wrong. The version of requests is the wrong one. There should be a more recent in CE19 but you need to update them. Also you need to fix your own addon. Since you are the maintainer you need to do this yourself.

As for the error this is due to filesystem corruption. Replace your SD card or USB whatever you use.

The version of requests is 2.22.0+matrix.1, and I think is the last one.
Yes, I need to fix the addon because it was done for python 2.7, but that’s not a problem.
And yes, I believe it’s a problem with the SD as corruption was detected twice in two days.
Now, what I still don’t know (and it’s probably linux related) is if we have any option to re-install boot in the card without full formatting? Just in case, as for now everything is working.
Just one more thing. May I backup the the full storage directory and restore it later in case of another filesystem corruption?
Thanks

/flash partition is the first one. You can reflash just that cause it’s fat32 even from windows. If you want to access /storage you need a linux system cause it’s ext4.

By booting from emmc (9.2.7) I have access to the card, as you correctly pointed a few days ago. Also I have access to the card from windows, using a ssh client (Bitvise SSH Client in my case). But how can I “reflash” just the /flash partition?

I have a problem with getting the wrong video output if the box doesn’t get EDID on boot. no problem on 9.2.5. detailed description here Matrix - wrong output mode set on boot
otherwise working well, thank you all!

This would be an advanced task. There is no easy to use script.