Re: [Mesa-dev] glxgears performance higher with software renderer compared to h/w drivers

2013-05-07 Thread Divick Kishore
Just in case someone else faces the same issue. Resolved the issue and was able to build the gallium softpipe renderer with llvm. >. Could you guide me on how to > build llvmpipe driver? I was able to build the driver with llvm but I had to modify the configure.ac (in mesa 8.0.5) to avoid specifi

Re: [Mesa-dev] glxgears performance higher with software renderer compared to h/w drivers

2013-05-07 Thread Divick Kishore
Hi Patrick, > > I don't know a whole lot about Mesa's structure, but I know that the > LLVMpipe driver is supposed to be the fastest software driver for x86 CPUs. > The reason is that it JIT compiles vertex/fragment programs into x86/x64 > assembly using LLVM as the code generator. LLVM contains e

Re: [Mesa-dev] glxgears performance higher with software renderer compared to h/w drivers

2013-05-07 Thread Divick Kishore
> > Doesn't your glxgears tell you about it? Mine does: It does. Just that I did not pay enough attention to it and did not know how to avoid it to sync with vsync. Thanks & Regards, Divick ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http:/

Re: [Mesa-dev] glxgears performance higher with software renderer compared to h/w drivers

2013-05-06 Thread Armin K.
On 05/06/2013 07:15 PM, Divick Kishore wrote: Hi Patrick, thanks for the reply. Could you guide me on how to build llvmpipe driver? Thanks & Regards, Divick ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedes

Re: [Mesa-dev] glxgears performance higher with software renderer compared to h/w drivers

2013-05-06 Thread Divick Kishore
Hi Patrick, thanks for the reply. Could you guide me on how to build llvmpipe driver? Thanks & Regards, Divick ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] glxgears performance higher with software renderer compared to h/w drivers

2013-05-06 Thread Arthur Huillet
On Mon, 6 May 2013 20:20:52 +0530 Divick Kishore wrote: > > The default is to sync to the refresh rate. Try setting env var > > vblank_mode=0 to disable it. > > > > Indeed with this, I see that the performance jumps to almost ~ 3850 > fps. Thanks for pointing this out. Doesn't your glxgears te

Re: [Mesa-dev] glxgears performance higher with software renderer compared to h/w drivers

2013-05-06 Thread Divick Kishore
> The default is to sync to the refresh rate. Try setting env var > vblank_mode=0 to disable it. > Indeed with this, I see that the performance jumps to almost ~ 3850 fps. Thanks for pointing this out. Thanks & Regards, Divick ___ mesa-dev mailing list

Re: [Mesa-dev] glxgears performance higher with software renderer compared to h/w drivers

2013-05-06 Thread Divick Kishore
On Mon, May 6, 2013 at 8:08 PM, Patrick Baggett wrote: > I don't think glxgears is the best benchmark for what is a "typical" OpenGL > load (if there is a "typical"). The 60 FPS with your hardware driver sounds > suspiciously like the refresh rate of your screen; perhaps it is > synchronized with

Re: [Mesa-dev] glxgears performance higher with software renderer compared to h/w drivers

2013-05-06 Thread Alex Deucher
On Mon, May 6, 2013 at 10:33 AM, Divick Kishore wrote: > Hi, > I am trying to build s/w only mesa driver. It seems that the > performance of software only renderer (compiled with > --with-driver=xlib) is higher than that of h/w drivers. Could someone > please help me understand what is causin

Re: [Mesa-dev] glxgears performance higher with software renderer compared to h/w drivers

2013-05-06 Thread Patrick Baggett
I don't think glxgears is the best benchmark for what is a "typical" OpenGL load (if there is a "typical"). The 60 FPS with your hardware driver sounds suspiciously like the refresh rate of your screen; perhaps it is synchronized with the vertical retrace? Since I'm assuming you want to find the fa

[Mesa-dev] glxgears performance higher with software renderer compared to h/w drivers

2013-05-06 Thread Divick Kishore
Hi, I am trying to build s/w only mesa driver. It seems that the performance of software only renderer (compiled with --with-driver=xlib) is higher than that of h/w drivers. Could someone please help me understand what is causing this or if it is expected? I see that dri based s/w renderer is