Discussion:
libGL error: unable to load driver: swrast_dri.so
(too old to reply)
bob prohaska
2017-05-27 16:44:37 UTC
Permalink
On an RPI2 www/epiphany finally compiled using portmaster. When started
it runs (somewhat) but reports

libGL error: unable to load driver: swrast_dri.so

Web searches suggest it's something to do with an Nvidia driver, which
seems inapplicable to an RPI2.

Is there a workaround? /usr/ports are at 441746, /usr/src is at 318674.

Thanks for reading,

bob prohaska

_______________________________________________
freebsd-***@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-***@freebsd.org"

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Ronald Klop
2017-05-28 17:51:31 UTC
Permalink
Post by bob prohaska
On an RPI2 www/epiphany finally compiled using portmaster. When started
it runs (somewhat) but reports
libGL error: unable to load driver: swrast_dri.so
Web searches suggest it's something to do with an Nvidia driver, which
seems inapplicable to an RPI2.
Is there a workaround? /usr/ports are at 441746, /usr/src is at 318674.
Thanks for reading,
bob prohaska
AFAIK swrast is the Software Raster driver. So I don't think the link is
with NVidia in your case.
I had the same error on my laptop with a Radeon driver (r600_dri.so) a
while back, but don't see it anymore when I start a GL program. What I
remember in my case the error was harmless. The driver was already loaded
or something like that.
Do you experience actual errors or only the message, i.e. does the program
run as expected?
I run the latest packages on amd64, but your ports tree is also quite
up-to-date as far as I see.

Ronald.
bob prohaska
2017-05-28 19:09:53 UTC
Permalink
Post by Ronald Klop
Post by bob prohaska
On an RPI2 www/epiphany finally compiled using portmaster. When started
it runs (somewhat) but reports
libGL error: unable to load driver: swrast_dri.so
AFAIK swrast is the Software Raster driver. So I don't think the link is
with NVidia in your case.
I had the same error on my laptop with a Radeon driver (r600_dri.so) a
while back, but don't see it anymore when I start a GL program. What I
remember in my case the error was harmless. The driver was already loaded
or something like that.
Do you experience actual errors or only the message, i.e. does the program
run as expected?
The error message isn't repeating in my case either. The machine is now
heavily loaded with makeworld and epiphany segfaults within a couple of
minutes. The page loads I tried seemed to stall before the segfault.

Looks like the problems run deeper than a missing library.

Thanks for reading!

bob prohaska

_______________________________________________
freebsd-***@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-***@freebsd.org"

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...