<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>[srini@RHEL2 ~]$ xdpyinfo |grep GLX<br>[srini@RHEL2 ~]$<br><br>Doesn't print anything.<br><br>[srini@RHEL2 ~]$ xdpyinfo |grep DRI2<br> DRI2<br>[srini@RHEL2 ~]$<br><br>This prints DRI2.<br><br>I couldn't understand what it is significant for, can you please explain me?<br><br>can you please confirm me the configurationn i am doing is correct for enabling hardware acceleration?<br><br>Regards,<br>Srini.<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Chia-I Wu <olvaffe@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> Srini
<srini_rajini@yahoo.com><br><b><span style="font-weight: bold;">Cc:</span></b> mesa-users@lists.freedesktop.org<br><b><span style="font-weight: bold;">Sent:</span></b> Wed, 23 February, 2011 12:20:22 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Mesa-users] EGL DRI Driver Loading Error<br></font><br>On Tue, Feb 22, 2011 at 9:31 AM, Srini <<a ymailto="mailto:srini_rajini@yahoo.com" href="mailto:srini_rajini@yahoo.com">srini_rajini@yahoo.com</a>> wrote:<br>> I have solved the loading problem by building the Mesa again with below<br>> configuration<br>><br>> ./configure --prefix=/usr/local --enable-gles2 --enable-egl<br>> --with-egl-platforms=drm --enable-gallium-egl=i915 --with-dri-drivers=i915<br>> --disable-glw --enable-gallium-intel --with-state-trackers=egl,es,dri<br>><br>> this configuration will install in /ur/local/ and removed all the entries<br>> from /usr/<br>><br>> Now the gles
applicaton is running fine but it again goes through software<br>> with below warning message.<br>><br>> ********************************************************************************************<br>> ./sphere<br>> libEGL warning: GLX/DRI2 is not supported<br>This message means that either GLX or DRI2 extension is not available.<br> What does<br><br> $ xdpyinfo | grep GLX<br> $ xdpyinfo | grep DRI2<br><br>give on your machine?<br>> libEGL warning: use software fallback<br>> *********************************************************************************************<br>><br>> How can i enable the hardware rendering.<br>> My Desktop has support for advanced graphics.<br>><br>> glxinfo |grep renderin returns<br>> Direct rendering yes.<br>><br>><br>> anyone please give me hint.<br>><br>> Regards,<br>> Srini.<br>> ________________________________<br>> From: Srini <<a
ymailto="mailto:srini_rajini@yahoo.com" href="mailto:srini_rajini@yahoo.com">srini_rajini@yahoo.com</a>><br>> To: <a ymailto="mailto:mesa-users@lists.freedesktop.org" href="mailto:mesa-users@lists.freedesktop.org">mesa-users@lists.freedesktop.org</a><br>> Sent: Tue, 22 February, 2011 9:00:10 PM<br>> Subject: [Mesa-users] EGL DRI Driver Loading Error<br>><br>> Dear All,<br>><br>> May be i could have write the same earlier, but still i am not clear, deep<br>> apolozise for fillup your inbox.<br>><br>> I downloaded Mesa 7.8.2 and configured with<br>> ./configure --prefix=/usr --enable-gles2 --enable-egl<br>> --with-egl-platforms=x11,drm --enable-gallium-egl=i915<br>> --with-dri-drivers=i915,swrast --disable-glw<br>><br>> I belive this configuration will built hardware pipe line driver for i915<br>> GPU<br>><br>> after built and install. i can see libraries in /usr/lib/ and
/usr/lib/egl/<br>><br>> i have simple gles test application runs pretty good with software<br>> acceleration in different machine. when i try to run the same application by<br>> loading the newly built mesa librires i am getting below error.<br>> ****************************************************************************************************************<br>> libEGL warning: Could not open driver /usr/lib/egl/egl_glx<br>> (/usr/lib/egl/egl_glx: cannot open shared object file: No such file or<br>> directory)<br>> libEGL warning: The driver can be overridden by setting EGL_DRIVER<br>> Error returned by eglCreateWindowSurface - error = 0x3005<br>> ****************************************************************************************************************<br>> if i do set EGL_DRIVER=/usr/lib/egl/egl_dri2.so i am getting the same error.<br>><br>> My question is first is.<br>> 1) is the configuration options
what i am enabling is right?to get the<br>> hardware GPU enabled GLES rendering.<br>> 2) How can i resolve above errors while running the application?<br>> 3) after appliaction start runs successfully how can i ensure that it goes<br>> through hardware pipe line only?<br>><br>> could anyone please give me hint to solve this issue.<br>><br>> eagerly waiting for reply.<br>><br>> Many thanks in advance.<br>><br>> Regards,<br>> Srini.<br>><br>><br>><br>> _______________________________________________<br>> mesa-users mailing list<br>> <a ymailto="mailto:mesa-users@lists.freedesktop.org" href="mailto:mesa-users@lists.freedesktop.org">mesa-users@lists.freedesktop.org</a><br>> <a href="http://lists.freedesktop.org/mailman/listinfo/mesa-users" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-users</a><br>><br>><br><br><br><br>-- <br><a ymailto="mailto:olv@LunarG.com"
href="mailto:olv@LunarG.com">olv@LunarG.com</a><br></div></div>
</div><br></body></html>