[Paraview] libGL error: failed to load driver: swrast

Rob Nagler paraview-vxtjp at q33.us
Mon Mar 21 10:49:50 EDT 2016


I'm trying to install and run ParaViewWeb. I've tried: Fedora 21, Debian
Jessie, & Ubuntu 14.0.4 and ParaView 4.1 (pvw-setup, stock pkgs, bin/src
download) and 5.0 on each. None work, and they fail for different reasons.
Here's one failure on Ubuntu 14.0.4 with
ParaView-5.0.0-Qt4-OpenGL2-MPI-Linux-64bit.tar.gz:

$ ./bin/pvpython
lib/paraview-5.0/site-packages/paraview/web/pv_web_visualizer.py --content
./share/paraview-5.0/www --data-dir ~/tmp --port 8080
2016-03-20 15:28:46+0000 [-] Log opened.
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadFBConfig
  Major opcode of failed request:  150 (GLX)
  Minor opcode of failed request:  34 ()
  Serial number of failed request:  29

The swrast driver seems to be there:

$ find /usr -name \*swrast\*
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
/usr/lib/x86_64-linux-gnu/gallium-pipe/pipe_swrast.so

Running strace shows that it does load
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so and fails later with this, I
think:

close(4)                                = 0
open("/home/vagrant/.drirc", O_RDONLY)  = -1 ENOENT (No such file or
directory)
munmap(0x7f0439de2000, 5648480)         = 0
write(2, "libGL error: ", 13libGL error: )           = 13
write(2, "failed to load driver: swrast\n", 30failed to load driver: swrast

More of the strace found here: http://pastebin.com/krQ5ZR4J

Even if I create ~/.drirc it still gets the same error without any clear
reason why.

Thanks,
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160321/6e26f206/attachment.html>


More information about the ParaView mailing list