Etnaviv support in Mesa

Gaylord Charles <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CAAqXYd3UEWJS9vXKf=WJoXqi1tPBMe-n=XteYhQ7-mbHmKMU+w@mail.gmail.com>
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

_______________________________________________
mesa-users mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.