Date: Sat, 25 Dec 2004 18:31:40 +0900 (JST) From: Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/75485: libGL fails to load mga_dri.so Message-ID: <200412250931.iBP9VeYi001225@elvenbow.nc.kyushu-u.ac.jp> Resent-Message-ID: <200412250940.iBP9ePQr012065@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 75485 >Category: ports >Synopsis: libGL fails to load mga_dri.so >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 25 09:40:24 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Yoshiaki Kasahara >Release: FreeBSD 5.3-STABLE i386 >Organization: Kyushu University >Environment: System: FreeBSD elvenbow.nc.kyushu-u.ac.jp 5.3-STABLE FreeBSD 5.3-STABLE #5: Tue Dec 7 19:36:49 JST 2004 root@elvenbow.nc.kyushu-u.ac.jp:/usr/obj/usr/src/sys/ELVENBOW i386 Xorg-*-6.8.1 installed from recent ports tree (cvsup on 25th Dec.) Matrox Millennium G450 AGP video card >Description: I couldn't enable direct rendering on my G450, and I noticed that "LIBGL_DEBUG=verbose glxinfo" said: libGL: XF86DRIGetClientDriverName: 1.1.1 mga (screen 0) libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/mga_dri.so libGL error: dlopen /usr/X11R6/lib/modules/dri/mga_dri.so failed (/usr/X11R6/lib /modules/dri/mga_dri.so: Undefined symbol "XML_SetElementHandler") libGL error: unable to find driver: mga_dri.so name of display: :0.0 display: :0 screen: 0 direct rendering: No It seems that libexpat is not properly linked. Preloading /usr/local/lib/libexpat.so temporarily fixes the problem: libGL: XF86DRIGetClientDriverName: 1.1.1 mga (screen 0) libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/mga_dri.so drmOpenByBusid: Searching for BusID pci:0000:01:00.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 4, (OK) drmOpenByBusid: drmOpenMinor returns 4 drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0 libGL warning: 3D driver claims to not support visual 0x23 libGL warning: 3D driver claims to not support visual 0x24 libGL warning: 3D driver claims to not support visual 0x27 libGL warning: 3D driver claims to not support visual 0x28 libGL warning: 3D driver claims to not support visual 0x2b libGL warning: 3D driver claims to not support visual 0x2c libGL warning: 3D driver claims to not support visual 0x2f libGL warning: 3D driver claims to not support visual 0x30 libGL error: Can't open configuration file /etc/drirc: No such file or directory. libGL error: Can't open configuration file /home/kasahara/.drirc: No such file or directory. name of display: :0.0 display: :0 screen: 0 direct rendering: Yes >How-To-Repeat: Set LIBGL_DEBUG=verbose and run libGL related commands such as glxinfo, glxgears, and xdriinfo >Fix: I'm not sure which library should be linked with libexpat... >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412250931.iBP9VeYi001225>