Amlogic S905X2

I think that 816 height might be out of spec. Most files I’ve seen have 804 height.
Anyway we’ll need a sample to see if we can reproduce it on our systems.

This is not the issue in CE or VLC. The issue is in your hevc file, especially in meta data are missing aspect ratio values. In this case the video is scaled to cover whole screen. The hevc issue for non-standard AR is only in old 3.14 kernel, where decoder is unable provide AR info and kodi is using bitstream converter to retrieve AR. But there is bitstream converter implemented only for mpeg2 and h264.
You can verify hevc behavior by switching off hw decoding to use sw decoding (ffmpeg). ffmpeg is commonly used by kodi for sw decoding in all platform and AR is correctly implemented.

Oh my ,
I am very sorry, I played around some more with hardware decoding and software decoding, and then decided to cast the file from my laptop. It suddenly displayed correctly. The problem in the end is that I convert files on my phone with video converter on Android. I copy the video stream and convert aac5.1 audio to ac3 audio so that my receiver can handle the audio stream with spdif audio passthrough. Unfortunately it messes up the aspect ratio.
I will now let coreelec transform audio on the fly. It seems to work well. The aspect ratio is fine now. It must be remuxing from .mkv to .mp4 .
Thanks and sorry again

2 posts were merged into an existing topic: Bl301 injection, problems, help,

Good day for all!
I have the Ugoos X2 which is run pretty good on NG-release (thanks for the developer’s amazing work!) with g12a_s905x2_2g_1gbit dtb file. WiFi, Ethernet, Bluetooth work just fine, but i can’t use Hyperion anymore, because there is no amvideocap0 device. As @Portisch pointed, it might be a problem with the dtb, so could i ask @anon88919003 to check this if possible? Thank you!

This will be fixed in the next nightly build.

1 Like

Hi All
Today I’m flasehed this firmware on my X96 Max 4/32
And after this i can’t to use CE. NOT BOOTING ANY NIGHT BUILD N2 18/07-23/08
What interesting LE correctly booting, but CE no, and after downgrade to any older FW too
WTF? I wanna be with CE(((

Try the next nightly, @Portisch committed a change that should fix this problem.
In worst case, flash an original/older firmware.

1 Like

I downgraded some old FW but CE dont boot
OK I will wait new nyghtly for try it…

Did you try to do it while pressing the reset button?
Are there any errors on the screen?
I think that any further assistance might require UART logs.
But perhaps someone else on the team will have an idea why it’s not booting.

Did you try this cfgload from here on your CE SD card?

I will try this evening a new cfgload script for this problem. You have to take your SD/USB with CE on it to the PC and search for the file cfgload on the COREELEC partition. Please try to find this file.

Isn’t cfgload found only on first/boot partition of a fresh burned CE image ?

I said “on a fresh burned CE image”.
Here is a SS of CE Boot partition from a fresh burned image “CoreELEC-Amlogic-ng.arm-9.1-nightly_20190824-Generic.img” on my USB stick:

1 Like

You are using Generic img but for me Odroid_N2

But why do you use N2 image on S905X2 device?
It should be -ng -Generic

1 Like

I’m stupid idiot
I’d take Generic and it booted

1 Like

Why are you then posting in S905X2 thread ?
Oh…, I see now you have X96 Max and are using Image for Ondroid N2 :slight_smile:

Because Im thinked about N2 for S905X2 too becouse device_trees has dtb for X96 Max
I has downloaded many img.gz and im lost what im instaled first time… thx friends

I too was wondering why you had a boot.ini on S905X2 but couldn’t work out what you had done :see_no_evil:, this file is never present on our Generic images designed for cheap TV boxes like yours.

1 Like