For When You Can't Have The Real Thing
[ start | index | login ]
start > CentOS > 8 > failed to load driver: swrast

failed to load driver: swrast

Created by dave. Last edited by dave, 321 days ago. Viewed 1,129 times. #1
[edit] [rdf]


Some variety of

libGL error: MESA-LOADER: failed to open swrast: /usr/lib64/dri/ cannot open shared object file: No such file or directory (search paths /usr/lib64/dri)
libGL error: failed to load driver: swrast

In my case it's some exotic CAD-tool studio thing being displayed across a ssh X-forward onto a vnc desktop, and then presented across a tunneled connection to the user. Any one of these hops could be the problem, but the internet seems to think it's the display-on-vnc one.


Stop running tunnelled mesaGL apps.

But If You Can't Do That

I added /usr/lib64/dri to /etc/ (which I created) and then ran ldconfig. Even though none of the drivers showed up subsequently when ldconfig -p was run, the application stopped complaining.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt