Date: Mon, 23 Nov 2015 15:30:14 +0100 From: Andrea Venturoli <ml@netfence.it> To: x11@FreeBSD.org Subject: [SOLVED] OpenGL programs not running Message-ID: <565322F6.9020506@netfence.it>
next in thread | raw e-mail | index | archive | help
Hello. I'm seeing a regression here: no OpenGL program works. E.G. > % glxinfo > name of display: :0.0 > libGL error: unable to load driver: r600_dri.so > libGL error: driver pointer missing > libGL error: failed to load driver: r600 > libGL error: unable to load driver: swrast_dri.so > libGL error: failed to load driver: swrast > X Error of failed request: GLXBadContext > Major opcode of failed request: 154 (GLX) > Minor opcode of failed request: 6 (X_GLXIsDirect) > Serial number of failed request: 45 > Current serial number in output stream: 44 Looking for some hints: > % setenv LIBGL_DEBUG verbose > % glxinfo > name of display: :0.0 > libGL: OpenDriver: trying /usr/local/lib/dri/r600_dri.so > libGL: dlopen /usr/local/lib/dri/r600_dri.so failed (/usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 required by /usr/local/lib/dri/r600_dri.so not found) > libGL error: unable to load driver: r600_dri.so > libGL error: driver pointer missing > libGL error: failed to load driver: r600 > libGL: OpenDriver: trying /usr/local/lib/dri/swrast_dri.so > libGL: dlopen /usr/local/lib/dri/swrast_dri.so failed (/usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 required by /usr/local/lib/dri/swrast_dri.so not found) > libGL error: unable to load driver: swrast_dri.so > libGL error: failed to load driver: swrast > X Error of failed request: GLXBadContext > Major opcode of failed request: 154 (GLX) > Minor opcode of failed request: 6 (X_GLXIsDirect) > Serial number of failed request: 45 > Current serial number in output stream: 44 So: > env LD_PRELOAD=/usr/local/lib/gcc48/libstdc++.so.6 glxinfo works. (Substitute glxinfo with whatever program you'd like to run). Maybe I overlooked it, but I think I saw no mention of this problem anywhere, so I wasn't expecting it and had to dig it the hard way. HTH others. bye av.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?565322F6.9020506>