<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>&nbsp;&nbsp;&nbsp; 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 &lt;olvaffe@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> Srini
 &lt;srini_rajini@yahoo.com&gt;<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 &lt;<a ymailto="mailto:srini_rajini@yahoo.com" href="mailto:srini_rajini@yahoo.com">srini_rajini@yahoo.com</a>&gt; wrote:<br>&gt; I have solved the loading problem by building the Mesa again with below<br>&gt; configuration<br>&gt;<br>&gt; ./configure --prefix=/usr/local --enable-gles2 --enable-egl<br>&gt; --with-egl-platforms=drm --enable-gallium-egl=i915 --with-dri-drivers=i915<br>&gt; --disable-glw --enable-gallium-intel --with-state-trackers=egl,es,dri<br>&gt;<br>&gt; this configuration will install in /ur/local/ and removed all the entries<br>&gt; from /usr/<br>&gt;<br>&gt; Now the gles
 applicaton is running fine but it again goes through software<br>&gt; with below warning message.<br>&gt;<br>&gt; ********************************************************************************************<br>&gt; ./sphere<br>&gt; 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>&nbsp; $ xdpyinfo | grep GLX<br>&nbsp; $ xdpyinfo | grep DRI2<br><br>give on your machine?<br>&gt; libEGL warning: use software fallback<br>&gt; *********************************************************************************************<br>&gt;<br>&gt; How can i enable the hardware rendering.<br>&gt; My Desktop has support for advanced graphics.<br>&gt;<br>&gt; glxinfo |grep renderin returns<br>&gt; Direct rendering yes.<br>&gt;<br>&gt;<br>&gt; anyone please give me hint.<br>&gt;<br>&gt; Regards,<br>&gt; Srini.<br>&gt; ________________________________<br>&gt; From: Srini &lt;<a
 ymailto="mailto:srini_rajini@yahoo.com" href="mailto:srini_rajini@yahoo.com">srini_rajini@yahoo.com</a>&gt;<br>&gt; To: <a ymailto="mailto:mesa-users@lists.freedesktop.org" href="mailto:mesa-users@lists.freedesktop.org">mesa-users@lists.freedesktop.org</a><br>&gt; Sent: Tue, 22 February, 2011 9:00:10 PM<br>&gt; Subject: [Mesa-users] EGL DRI Driver Loading Error<br>&gt;<br>&gt; Dear All,<br>&gt;<br>&gt; May be i could have write the same earlier, but still i am not clear, deep<br>&gt; apolozise for fillup your inbox.<br>&gt;<br>&gt; &nbsp;&nbsp;&nbsp; I downloaded Mesa 7.8.2 and configured with<br>&gt; ./configure --prefix=/usr --enable-gles2 --enable-egl<br>&gt; --with-egl-platforms=x11,drm --enable-gallium-egl=i915<br>&gt; --with-dri-drivers=i915,swrast --disable-glw<br>&gt;<br>&gt; I belive this configuration will built hardware pipe line driver for i915<br>&gt; GPU<br>&gt;<br>&gt; after built and install. i can see libraries in /usr/lib/ and
 /usr/lib/egl/<br>&gt;<br>&gt; i have simple gles test application runs pretty good with software<br>&gt; acceleration in different machine. when i try to run the same application by<br>&gt; loading the newly built mesa librires i am getting below error.<br>&gt; ****************************************************************************************************************<br>&gt; libEGL warning: Could not open driver /usr/lib/egl/egl_glx<br>&gt; (/usr/lib/egl/egl_glx: cannot open shared object file: No such file or<br>&gt; directory)<br>&gt; libEGL warning: The driver can be overridden by setting EGL_DRIVER<br>&gt; Error returned by eglCreateWindowSurface - error = 0x3005<br>&gt; ****************************************************************************************************************<br>&gt; if i do set EGL_DRIVER=/usr/lib/egl/egl_dri2.so i am getting the same error.<br>&gt;<br>&gt; My question is first is.<br>&gt; 1) is the configuration options
 what i am enabling is right?to get the<br>&gt; hardware GPU enabled GLES rendering.<br>&gt; 2) How can i resolve above errors while running the application?<br>&gt; 3) after appliaction start runs successfully how can i ensure that it goes<br>&gt; through hardware pipe line only?<br>&gt;<br>&gt; could anyone please give me hint to solve this issue.<br>&gt;<br>&gt; eagerly waiting for reply.<br>&gt;<br>&gt; Many thanks in advance.<br>&gt;<br>&gt; Regards,<br>&gt; Srini.<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; mesa-users mailing list<br>&gt; <a ymailto="mailto:mesa-users@lists.freedesktop.org" href="mailto:mesa-users@lists.freedesktop.org">mesa-users@lists.freedesktop.org</a><br>&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/mesa-users" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-users</a><br>&gt;<br>&gt;<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>