[Mesa-dev] Segmentation fault with VTK OffScreenRendering

Kevin H. Hobbs hobbsk at ohio.edu
Mon Jan 30 11:53:47 PST 2012


On 01/30/2012 02:13 PM, Joshua Daniel Franklin (UW Seattle) wrote:
> On 1/27/12 12:28 PM, Kevin H. Hobbs wrote:
>> So you want to get OSMesa from Mesa-7.11.2 working with VTK-5.8.0 on
>> Fedora 15?
>  
> So is it EGL that has trouble with offline rendering, since you did 
> "--disable-egl"?
>

No. it's just other stuff that isn't OSMesa.


> It's too bad since I guess that means stock Fedora users are stuck using 
> X11. The mesa.spec from Fedora 15 does this:
> 

They shouldn't be (at least not anymore) :

sudo yum install mesa-libOSMesa mesa-libOSMesa-devel

cd /tmp/VTK_Build
rm -rf *

cmake \
  -D"VTK_DATA_ROOT:PATH=/tmp/VTKData" \
  -D"OPENGL_INCLUDE_DIR:PATH=/usr/include" \
  -D"OPENGL_gl_LIBRARY:FILEPATH=" \
  -D"OPENGL_glu_LIBRARY:FILEPATH=/usr/lib64/libGLU.so" \
  -D"VTK_OPENGL_HAS_OSMESA:BOOL=ON" \
  -D"OSMESA_INCLUDE_DIR:PATH=/usr/include" \
  -D"OSMESA_LIBRARY:FILEPATH=/usr/lib64/libOSMesa.so" \
  -D"VTK_USE_OFFSCREEN:BOOL=ON" \
  -D"VTK_USE_X:BOOL=OFF" \
  /tmp/VTK

make -j4
make test

I'm trying that now but you can give it a shot before then.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120130/fd6fe362/attachment-0001.pgp>


More information about the mesa-dev mailing list