From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Dec 25 09:40:25 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9608A16A4CF for ; Sat, 25 Dec 2004 09:40:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5258C43D48 for ; Sat, 25 Dec 2004 09:40:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iBP9ePKn012069 for ; Sat, 25 Dec 2004 09:40:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iBP9ePQr012065; Sat, 25 Dec 2004 09:40:25 GMT (envelope-from gnats) Resent-Date: Sat, 25 Dec 2004 09:40:25 GMT Resent-Message-Id: <200412250940.iBP9ePQr012065@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yoshiaki Kasahara Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DF8916A4CE for ; Sat, 25 Dec 2004 09:31:45 +0000 (GMT) Received: from elvenbow.nc.kyushu-u.ac.jp (elvenbow.nc.kyushu-u.ac.jp [133.5.6.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85F6B43D45 for ; Sat, 25 Dec 2004 09:31:44 +0000 (GMT) (envelope-from kasahara@elvenbow.nc.kyushu-u.ac.jp) Received: from elvenbow.nc.kyushu-u.ac.jp (kasahara@elvenbow.nc.kyushu-u.ac.jp [127.0.0.1])iBP9Vf8K001226 for ; Sat, 25 Dec 2004 18:31:41 +0900 (JST) (envelope-from kasahara@elvenbow.nc.kyushu-u.ac.jp) Received: (from kasahara@localhost)iBP9VeYi001225; Sat, 25 Dec 2004 18:31:40 +0900 (JST) (envelope-from kasahara) Message-Id: <200412250931.iBP9VeYi001225@elvenbow.nc.kyushu-u.ac.jp> Date: Sat, 25 Dec 2004 18:31:40 +0900 (JST) From: Yoshiaki Kasahara To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/75485: libGL fails to load mga_dri.so X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Yoshiaki Kasahara List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Dec 2004 09:40:25 -0000 >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: