[Mesa-users] mesa-17.0.4 and ATI firepro 7000

Patrick Begou Patrick.Begou at legi.grenoble-inp.fr
Mon Jul 10 11:51:08 UTC 2017


Dear Mesa users and developpers,

could you provide me advices on the usefull option to build Mesa 17.0.4 for an 
AMD FirePro W7000 GPU ?

I need to install paraview 5.4 and the RHEL6 version of Mesa is tool old. I've 
tryed an update from elrepo but it breaks an important proprietary application. 
I've tryed to install AMD provided software&drivers but the yum command crashes 
the server and did not success. I've compiled Mesa 17.0.4 and its prerequisites 
(see below), installed it in the Paraview tree, but some rendering fails with 
paraview (glyphs). I've checked with strace it was loading the right library.
I use paraview 5.4 on an other workstation (with nvidia software) or cluster 
node (with osmesa) and glyphs work fine so it looks like a rendering problem 
with my mesa setup for this GPU.

Thanks for your advices

Patrick

My Mesa 17.0.4 build procedure:

module load OpenMPI-173-GCC485
module load python279

tar xvfJ llvm-4.0.0.src.tar.xz
cd llvm-4.0.0.src
mkdir build
cd build
CC=/opt/openmpi173-GCC485/bin/mpicc \
CXX=/opt/openmpi173-GCC485/bin/mpic++ \
FC=/opt/openmpi173-GCC485/bin/mpif90 \
cmake -DCMAKE_BUILD_TYPE=Release \
  -DCMAKE_INSTALL_PREFIX=/opt/paraview-5.4.0 \
  -DLLVM_BUILD_LLVM_DYLIB=ON \
  -DLLVM_INSTALL_UTILS=ON \
  -DLLVM_ENABLE_RTTI=ON \
  -DLLVM_INSTALL_UTILS=ON \
  ..
make -j 2
make install
cd ../..
rm -rf llvm-4.0.0.src


tar xvfz libdrm-2.4.70.tar.gz  ou libdrm-2.4.80.tar.gz ?
cd libdrm-2.4.70
./configure --prefix=/opt/paraview-5.4.0
make
make install
cd ..
rm -rf libdrm-2.4.70

tar xvfz xcb-proto-1.12.tar.gz
cd xcb-proto-1.12
./configure --prefix=/opt/paraview-5.4.0
make install
cd ..
rm -rf xcb-proto-1.12

tar xvfz pthread-stubs-0.3.tar.gz
cd pthread-stubs-0.3
./autogen.sh
./configure --prefix=/opt/paraview-5.4.0
make install
cd ..
rm -rf pthread-stubs-0.3

tar xvfz libXau-1.0.8.tar.gz
cd libXau-1.0.8
./configure --prefix=/opt/paraview-5.4.0
make
make install
cd ..
rm -rf libXau-1.0.8

tar xvfz libxcb-1.12.tar.gz
cd libxcb-1.12
PKG_CONFIG_PATH=/opt/paraview-5.4.0/lib/pkgconfig \
./configure --prefix=/opt/paraview-5.4.0
make
make install
cd ..
rm -rf libxcb-1.12

tar xvfz libxshmfence-1.2.tar.gz
cd libxshmfence-1.2
PKG_CONFIG_PATH=/opt/paraview-5.4.0/lib/pkgconfig \
./configure --prefix=/opt/paraview-5.4.0
make
make install
cd ..
rm -rf libxshmfence-1.2


tar xvfz mesa-17.0.4.tar.gz
cd mesa-17.0.4
export LD_LIBRARY_PATH=/opt/paraview-5.4.0/lib:$LD_LIBRARY_PATH
export PATH=/opt/paraview-5.4.0/bin:$PATH
./configure \
PKG_CONFIG_PATH=/opt/paraview-5.4.0/lib/pkgconfig \
LIBUDEV_CFLAGS=-I/usr/include \
LIBUDEV_LIBS=/usr/lib64/libudev.so \
--prefix=/opt/paraview-5.4.0 \
--enable-texture-float \
--with-llvm-prefix=/opt/paraview-5.4.0
make -j 4
make install
cd ..
rm -rf mesa-17.0.4

-- 
===================================================================
|  Equipe M.O.S.T.         |                                      |
|  Patrick BEGOU           | mailto:Patrick.Begou at grenoble-inp.fr |
|  LEGI                    |                                      |
|  BP 53 X                 | Tel 04 76 82 51 35                   |
|  38041 GRENOBLE CEDEX    | Fax 04 76 82 52 71                   |
===================================================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20170710/88209cb2/attachment.html>


More information about the mesa-users mailing list