Mali supports 3 windowing systems on Linux: Android, Linux fbdev and Linux X11.
The correct version of libMali.so needs to be used in each case.
For example, if you try to use libMali.so that was built for fbdev on X11, you will get eglInitialize() or similar errors.
I found that libMali.so for the other devices are both types.
How discover which type of libMali.so We got for Orange Pi H3?