[Mesa-users] Etnaviv support in Mesa

Gaylord Charles gaylord.charles at veo-labs.com
Mon Oct 17 16:12:07 UTC 2016


Hello,

I'm working on an i.MX6 based board and I'm interested in Vivante GPU
support. My goal is to run an OpenGL ES-based application on X server with
hardware acceleration.
I know there is ongoing work to include etnaviv support in Mesa but I'm
trying to make it work on my side (mainly by compiling code from
https://github.com/etnaviv).
I've got:
 - A 4.6.7 kernel with etnaviv DRM driver
 - libdrm with etnaviv drm support (version 2.4.71)
 - Mesa 12.0_etnaviv branch from https://github.com/etnaviv/mesa/
 - Mesa3d-demos version 8.3.0 (I'm using glxinfo and glxgears to check
OpenGL support)

If my understanding is correct, I also need:
 - xf86-video-armada (I took unstable-devel branch from
http://git.arm.linux.org.uk/cgit/xf86-video-armada.git/) and the following
dependencies:
    - libdrm-armada (git://ftp.arm.linux.org.uk/~rmk/libdrm-armada.git/)
    - libetnaviv (
https://github.com/etnaviv/etna_viv/tree/master/src/etnaviv)

Is it the right way to proceed ?

Concerning Mesa configuration, I'm a little bit confused about Gallium and
DRI. Etnaviv is a Gallium driver, so do I need to use --enable-dri or
--enable-driglx-direct.
For example in Buildroot, I have to select DRI swrast driver to have
"--enable-driglx-direct" defined.

Regards,
Gaylord CHARLES
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20161017/443a59af/attachment.html>


More information about the mesa-users mailing list