EGL has issues while writing onto canvas (system log):
Code
2025-01-20 15:55:15.543 T:808 debug <general>: EGL Debugging:
Error: EGL_BAD_ALLOC
Command: eglCreateImageKHR
Type: EGL_DEBUG_MSG_CRITICAL_KHR
Message: createImageFromDmaBufs failed
2025-01-20 15:55:15.543 T:808 debug <general>: CEGLImage::CreateImage - attributes:
EGL_WIDTH: 376
EGL_HEIGHT: 464
EGL_LINUX_DRM_FOURCC_EXT: AR24
EGL_DMA_BUF_PLANE0_FD_EXT: 53
EGL_DMA_BUF_PLANE0_OFFSET_EXT: 0
EGL_DMA_BUF_PLANE0_PITCH_EXT: 1504
2025-01-20 15:55:15.543 T:808 error <general>: CEGLImage::CreateImage - failed to import buffer into EGL image: 0x3003
Display More
I think the cause is a GPU driver issue (missing mali regulator, crash log):
Code
Jan 07 20:45:57.901461 LibreELEC kernel: lima d00c0000.gpu: gp - mali450 version major 0 minor 0
Jan 07 20:45:57.921082 LibreELEC kernel: lima d00c0000.gpu: pp0 - mali450 version major 0 minor 0
Jan 07 20:45:57.923010 LibreELEC kernel: lima d00c0000.gpu: pp1 - mali450 version major 0 minor 0
Jan 07 20:45:57.923667 LibreELEC kernel: lima d00c0000.gpu: pp2 - mali450 version major 0 minor 0
Jan 07 20:45:57.924346 LibreELEC kernel: lima d00c0000.gpu: l2_cache0 8K, 4-way, 64byte cache line, 128bit external bus
Jan 07 20:45:57.925304 LibreELEC kernel: lima d00c0000.gpu: l2_cache1 64K, 4-way, 64byte cache line, 128bit external bus
Jan 07 20:45:57.925997 LibreELEC kernel: lima d00c0000.gpu: bus rate = 166666667
Jan 07 20:45:57.926602 LibreELEC kernel: lima d00c0000.gpu: mod rate = 24000000
Jan 07 20:45:57.927225 LibreELEC kernel: lima d00c0000.gpu: error -ENODEV: _opp_set_regulators: no regulator (mali) found
Seems like chewitt is already familiar with that issue:
Re: Missing mali regulator in Amlogic dts - Robin Murphy
Maybe this is helpful:
Mali driver fails to initialize · Issue #39 · rockchip-linux/kernel
Often the mali driver stack fails to initialize: $ glmark2-es2 ERROR: The DDK is not compatible with any of the Mali GPUs on the system. The DDK was built for…
github.com