[Mesa-dev] glxgears is faster but 3D render is so slow

Brian Paul brianp at vmware.com
Thu Mar 7 07:28:19 PST 2013


What does 'glxinfo' say with this configuration?  I'm guessing you're 
using the softpipe driver which is meant for correctness, not speed. 
For speed, you want the llvmpipe driver.  Install LLVM on your system 
first then reconfigure/rebuild Mesa.

-Brian

On 03/07/2013 04:58 AM, jupiter wrote:
> Hi,
>
> It seems using xlib-glx stopped 3D rotating. If I built mesa 9.1 using
> DRI in my local machine, it can rotate 3D picture. Is there anyway
> workaround to use xlib-glx for 3D applications?
>
> Thank you.
>
> Kind regards.
>
> J
>
>> Hi,
>>
>> I built mesa 9.1 with following configuration:
>>
>> --enable-xlib-glx --disable-dri --with-gallium-drivers=swrast
>> --enable-osmesa --with-osmesa-bits=32
>>
>> The mesa package is used by TurboVNC, so xlib glx has to be used
>> instead of DRI. It works well to gain faster speed in glxgears, but it
>> has huge problems to render a 3D modules in an application of CHIMERA.
>>
>> The thing puzzled me is when I use CentOS system provided Mesa 7.11,
>> the CHIMERA 3D picture rotation works fine despite the glxgears is
>> very slow (250 FPS).
>>
>> I am not clear that the slower 3D rendering in my built mesa is
>> because the DRI or I may miss some configurations. Appreciate any
>> advice.
>>
>> Thank you.
>>
>> Kind regards.
>>
>> Jupiter
>>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list