[Mesa-dev] Performance difference between driver egl_glx and egl_gallium

Yannick Meyer y.meyer26 at gmail.com
Thu Feb 21 07:41:47 PST 2013

Hi all,

I am currently wondering why I have a big difference in performance between
2 Mesa drivers: egl_glx and egl_gallium.
I have already posted a mesasge 2 weeks ago on the mesa user list, but I
did not receive any answer. Please find below my previous mail

I am currently working on an ARM processor without graphical acceleration
(based on A5 without any GPU and neon instruction).
I used Open Embedded to build the distribution for my board, and therefore
Mesa was compiled with the whole system for the ARM board.

I made some test performance using egl_gears to find the best configuration
of the EGL library.
I am surprised by the difference between egl_glx and egl_gallium driver.

I was expecting that the egl_gallium driver will be faster that the egl_glx
driver. The egl_glx driver is around 9-10 times faster than egl_gallium.

Can someone explain me what could be the difference?
Did I mistake a Mesa configuration option?

I try to use egl_gallium, since it is the only on driver that support FBDev
Linux device, and we use FBDev has Linux driver.

For information, here is my configure command line

configure  --build=x86_64-linux  --host=arm-ing-linux-gnueabi
--target=arm-ing-linux-gnueabi   --prefix=/usr   --exec_prefix=/usr
--bindir=/usr/bin   --sbindir=/usr/sbin  --libexecdir=/usr/libexec
--datadir=/usr/share   --sysconfdir=/etc   --sharedstatedir=/com
--localstatedir=/var   --libdir=/usr/lib   --includedir=/usr/include
--oldincludedir=/usr/include   --infodir=/usr/share/info
--mandir=/usr/share/man --disable-silent-rules
--disable-dependency-tracking   --disable-glu  --disable-glw
--disable-glut   --enable-shared-glapi --enable-gallium-egl
--with-gallium-drivers --enable-dri --with-dri-drivers=swrast
--enable-gles1 --enable-gles2 --with-x --enable-glx --enable-gbm
--enable-egl --with-egl-platforms=fbdev,x11 --enable-glx-tls

PS: I am not an OpenGL expert, more a integrator for the system

Thanks in advance for all help/information than you can provide to me.

Best Regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130221/480119bb/attachment.html>

More information about the mesa-dev mailing list