Dear All!

Sorry for the delay in the reply, but I had a very long Christmas break and I 
just came back a few days ago. I managed to compile OpenSWR with Osmesa support 
using the autotools but it was not much faster than any of the OSMesa versions 
I tried, i.e. v10.5.5 and 11.0.7. I compiled the OpenSWR with libglx support 
and that might be the reason why the performance I experience is not so good as 
expected.

I have included hereafter the configure options I used on my CentOS 6.5 
platform for reference:

./configure --prefix= --enable-gallium-osmesa --enable-dependency-tracking 
--enable-gallium-llvm=yes --enable-llvm-shared-libs --enable-swr-native 
--enable-sysfs --enable-texture-float --disable-dri --disable-egl --disable-glx 
--disable-gles1 --disable-gles2 --disable-opencl --disable-vdpau --disable-va 
--disable-xvmc --with-dri-drivers= --with-egl-platforms= 
--with-gallium-drivers=swr,swrast --with-gnu-ld  --with-osmesa-bits=8 
--with-swr-arch=CORE_AVX2

Hope this helps bringing a bit of clarity.

Nonetheless, I was already very pleased with the improved rendering performance 
using the RC2 version. Now that PV 5.0.0 has been released, I will proceed to 
installation and repeat my benchmarks, the outcome of which I will be feeding 
back of course.

Cheers,


Frank Albina

From: Chuck Atkins [mailto:chuck.atk...@kitware.com]
Sent: Freitag, 8. Januar 2016 20:41
To: Utkarsh Ayachit
Cc: Albina, Frank; paraview@paraview.org
Subject: Re: [Paraview] Paraview v5.0.0-RC1 with OpenGL2 backend not running 
using OSMESA v10.5.5

Hi Frank,
The easiest way to build OpenSWR is probably to use the SCons build instead of 
autotools.  Here's a docker file we use to generate re-distributable libGL and 
libOSMesa binaries: 
https://github.com/chuckatkins/mesa-builds/blob/master/Dockerfile .  In short 
though, you'll want to do the following:

git clone https://github.com/OpenSWR/openswr-mesa.git mesa-swr
cd mesa-swr
scons build=release texture_float=yes swr_arch=core-avx2 libgl-xlib osmesa

The libgl-xlib target will create a 
build/linux-x86_64/gallium/targets/libgl-xlib/libGL.so.1.5 output and the 
osmesa target will create a 
build/linux-x86_64/gallium/targets/osmesa/libosmesa.so output.  You can also 
change swr_arch=core-avx2 to swr_arch=avx if you want to build for AVX instead 
of AVX2.


- Chuck

On Tue, Dec 22, 2015 at 10:14 AM, Utkarsh Ayachit 
<utkarsh.ayac...@kitware.com<mailto:utkarsh.ayac...@kitware.com>> wrote:
> Also, thank you for liaising with the OpenSWR team  in order to check if they 
> support or plan supporting OSMESA.

Frank, I am told that OpenSWR on Github should work with OSMesa. I
haven't tried it out myself, will give it a go once I get the a few
other  issues ironed out. Just wanted to let you know if you wanted to
give it another go.

Utkarsh
_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to