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

Ken Martin ken.martin at kitware.com
Mon Mar 21 11:02:56 EDT 2016


For software rasterization in Mesa I think llvmpipe is the safer bet. If I
recall correctly swrast is an old legacy rasterizer and does not support
the more modern OpenGL functions in Mesa.

Ken

On Mon, Mar 21, 2016 at 10:49 AM, Rob Nagler <paraview-vxtjp at q33.us> wrote:

> 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
>
> _______________________________________________
> 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
>
>


-- 
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971

This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee.  Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160321/0bd79707/attachment.html>


More information about the ParaView mailing list