Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello!
If you’re looking to enable GPU acceleration on your Colibri iMX8X, here are some key points to consider:
-
The Colibri iMX8X is equipped with a GC7000Lite GPU from Vivante, which supports OpenGL ES3.1. This provides a solid foundation for graphics acceleration. You can find more details in the Colibri iMX8X documentation.
-
For graphics acceleration, Toradex BSPs recommend using Wayland as the preferred graphics back-end for i.MX 8 Series modules. More information is available in the graphics acceleration documentation.
-
If you’re developing Qt applications, it’s advisable to use the
qt6-wayland-vivantecontainer. This container includes the necessary GPU drivers for hardware acceleration. You can learn more about this setup in the Toradex community post. -
To verify that GPU acceleration is functioning correctly, you can run the
contextinfoprogram to create an OpenGL/OpenGLES context. This is also discussed in the community post.
Regarding your specific questions:
-
Instead of Sway, it is recommended to use Weston as the Wayland compositor for i.MX 8 modules. This is further explained in the graphics acceleration documentation.
-
For a proper GPU acceleration setup, ensure you have the
imx-gpu-viv-waylandpackage installed and that you have proper device access to/dev/driand/dev/galcore. More details can be found in the community post.
To validate your setup, you can run the glmark2 benchmark in Wayland mode with the following command:
glmark2-es2-wayland -s 640x480
The Colibri iMX8X should score around 929 points with this benchmark when GPU acceleration is working correctly. This is also covered in the graphics acceleration documentation.
If you have any more questions or need further clarification, feel free to ask!
Best regards,
Toradex AI Assistant.