In dmesg on am6plus between kernel 515.119 and 5.15.153 i found interesting differences:
kernel 5.15.119 had: parse_ucode_version, ucode = 0.4.62
kernel 5.15.153 had: The ucode driver version is v0.4. The firmware version is 0.4.177-g21b4f831
(on both cases was tee not needed according to jc -u opentee_linuxdriver | paste) Ugoos AM6+, hardware decoder not working - #20 by atirage21
**In dmesg at newer kernel 5.15.153 are missing lines about important cma memory for working codecs, please check differences between both dmesgs:
[ 7.475406] amlvideo2.1 cma memory is 9c000000 , size is 1800000
[ 7.475738] amlvideo2.1 cma memory release succeed
[ 7.482055] amlvideo2.0 cma memory is 9d800000 , size is 1800000
[ 7.482390] amlvideo2.0 cma memory release succeed
I have last idea, that create directory for loading of video_ucode.bin, in that is maybe trouble with not mounted vendor filesystem on my device on CE22NO.It would be help to changing maybe incompatible Android ucode firmwares (with xj?) to CE22NO. You have identical ucode on am6plus as i have? Ugoos AM6+, hardware decoder not working - #14 by atirage21
Only samples from this page going now on CE22NO with my device (but in reality are videos more in formats of first-upper samples page): MKV ( H.264 ) | Test Videos
Am6plus was never compatible with CE22NE and this device is not so affected with TEE. Mainly troubles was after update kernel 5.15.119 to newer kernel. But solution for wmv is example that team CE know fix it.
OK, you tested on SC2 and i have s922. So is it meaning for example that any drivers for s922 are missing in newer kernel compare to older 5.15.119 ? Drivers are in kernel and troubles started only after a change of kernel on my older device.
@atirage21 you can try to download this firmware version:
Then store it on the device under /storage/.config/firmware/video/video_ucode.bin
It is this commit break these h264 files:
But I am not sure what else will break when downgrade the firmware…
Your sample do trigger somethins about H264_WRRSP whatever this means in the decoder what is currently broken.
Is it works with last nigthly build ? I created /firmware/video/ directory and copied all 3 files (h264_enc.bin, checkmsg, video_ucode.bin ) for sure with right for run, but system load old firmware.
Mar 24 19:07:17.900901 CoreELEC kernel: The ucode driver version is v0.4
Mar 24 19:07:17.901123 CoreELEC kernel: The firmware version is 0.4.177-g21b4f831
Mar 24 20:15:32.052867 CoreELEC kernel: The ucode driver version is v0.4
Mar 24 20:15:32.053130 CoreELEC kernel: The firmware version is 0.4.177-g21b4f831