Is it possible to use GL functions using Debian OS (Variscite IMX8MP)?
Our current nvidia Jeston board setup is using GLFW and GLEW ON Xorg to do this, but that's getting a bit behind the times now. I'm happy to use SDL(2?) or something else and move on up a bit to dodge X11/XWayland. The only requirement I have is to be able to use OpenGL (or EGL).
I can't get anything to work though other than basic X11 apps (no GL) and the supplied in weston apps. Is there a basic example app that I could get a look at?
Some curious snippets from 'ldd wetson-terminal' which runs just fine:
libX11.so.6 => /lib/aarch64-linux-gnu/libX11.so.6 (0x0000ffffadf66000)
libEGL.so.1 => /usr/lib/aarch64-linux-gnu/vivante/libEGL.so.1 (0x0000ffffb6e6b000)
libGLESv2.so.2 => /usr/lib/aarch64-linux-gnu/vivante/libGLESv2.so.2 (0x0000ffffb6bcc000
I didn't think any X11 would be required to use weston. And I didn't think that EGL was supported on iMX8.
Should my app target GLESv2?
Thange in advance,
nickt
Solved! Go to Solution.
I've made some progress by linking against GLES. My app now runs, but there is only a black window. It has the correct title though.
I built glmark2 with flavour "wayland-glesv2" and that appears to work just fine (the score was 685)! So some progress. I guess I can pick the glmark2 code apart and see what it going on in there, but I wish there was a simpler example.
Does anybody have some tricks/hints that I can use to get up and running with a GLES context quickly?
I've made some progress by linking against GLES. My app now runs, but there is only a black window. It has the correct title though.
I built glmark2 with flavour "wayland-glesv2" and that appears to work just fine (the score was 685)! So some progress. I guess I can pick the glmark2 code apart and see what it going on in there, but I wish there was a simpler example.
Does anybody have some tricks/hints that I can use to get up and running with a GLES context quickly?
Hello,
X11, I could not assure that is working with Mx8MP but you can play with wayland, but you have to build as Module the GPU since you are on debian and probably not supported kernel version.
Regards