However, eglinfo does not exist as a software on the system and it is only a library.
btw, do you what are the libraries related to opengl ES that we need to link against for my application, because probably this is possible to do.
If your running x11 then try es2_info instead of eglinfo. If your using the Rock official debian 11 image then it should have the libmali-valhall-g610-g6p0-x11 package which contains the libs and symlinks. The mali libraries/firmware are here if want to symlink yourself, however they will be kernel dependent. If your compiling your app then normally you link against -lGLES -lEGL .
Thanks for the info, I installed es2_info and I was able to link my app easily against GLES and EGL, butthe problem now is that all the rendering is black, and nothing is working. The rendering is still better using OpenGL.
Also the above error consist when I start also my app even if when I link against GLES and EGL.
btw, there are two different GLES and EGL on my rock5, one of them is libEGL_mesa and the other one is just libEGL, I am wondering if there is any difference between these two, or If any need to link against the mesa one. Similar thing for the GLES, where there is an entire library that is located in the /mali/ directory
I would first see if es2gears runs with acceleration. If it doesn’t then your xorg config or something else is not correct. If it runs then something in your app isn’t correct for OpenGL ES. Regarding libEGL, llbGLESv1 & libGLESv2 should be sym linked to libmail so those are ones that need to be linked against. If they are wrong you can just reinstall the libmali-valhall-g610-g6p0-x11 package.