From owner-freebsd-emulation@FreeBSD.ORG Tue Apr 4 12:27:35 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26F3716A420 for ; Tue, 4 Apr 2006 12:27:35 +0000 (UTC) (envelope-from freebsd@orchid.homeunix.org) Received: from orchid.homeunix.org (avd36.neoplus.adsl.tpnet.pl [83.27.37.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id D16B143D45 for ; Tue, 4 Apr 2006 12:27:33 +0000 (GMT) (envelope-from freebsd@orchid.homeunix.org) Received: from [192.168.1.66] (blackacidevil.orchid.homeunix.org [192.168.1.66]) (authenticated bits=0) by orchid.homeunix.org (8.13.4/8.13.4) with ESMTP id k34CROjN099195 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 4 Apr 2006 14:27:31 +0200 (CEST) (envelope-from freebsd@orchid.homeunix.org) Message-ID: <44326626.8060803@orchid.homeunix.org> Date: Tue, 04 Apr 2006 14:27:18 +0200 From: Karol Kwiatkowski User-Agent: Thunderbird 1.5 (X11/20060401) MIME-Version: 1.0 To: freebsd-emulation@freebsd.org X-Enigmail-Version: 0.94.0.0 OpenPGP: id=06E09309; url=http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4636A07C2BBCAA888834A805" X-Virus-Scanned: ClamAV 0.88/1374/Tue Apr 4 07:50:45 2006 on orchid.homeunix.org X-Virus-Status: Clean Subject: DRI under Linux compat problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@orchid.homeunix.org List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2006 12:27:35 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4636A07C2BBCAA888834A805 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Good day all, I hope this is the appropriate list. I'm trying to get DRI working under Linux emulation but it fails. I'm using linux_base-fc3 right now, but with linux_base-8 it was the same. I guess there's some conflict between linux_dri-4.4.0 and linux-XFree86-libs-4.3.99.902_7. Linux's libGL fails with: 'DDX DRI driver expected R200 version 4.0.x but got version 5.0.3' Details below. In FreeBSD DRI is working, the video card is Radeon 9000Pro and it is using radeon driver. Any help appreciated. Cheers, Karol $ uname -spr FreeBSD 6.1-PRERELEASE i386 /etc/X11/xorg.conf : Section "Device" Identifier "Card0" Driver "ati" VendorName "ATI Technologies Inc" BoardName "Radeon RV250 If [Radeon 9000]" BusID "PCI:1:0:0" Option "AGPMode" "4" Option "EnableDepthMoves" "on" Option "EnablePageFlip" "on" Option "RenderAccel" "on" # Option "AccelMethod" "EXA" EndSection /var/log/Xorg.0.log : [...] (--) Chipset ATI Radeon 9000/PRO If (AGP/PCI) found (II) Loading sub module "radeon" (II) LoadModule: "radeon" (II) Loading /usr/X11R6/lib/modules/drivers/radeon_drv.so (II) Module radeon: vendor=3D"X.Org Foundation" [...] (II) RADEON(0): [drm] installed DRM signal handler (II) RADEON(0): [DRI] installation complete (II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers (II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers (II) RADEON(0): [drm] dma control initialized, using IRQ 16 (II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808 (II) RADEON(0): Direct rendering enabled FreeBSD' DRI: $ LIBGL_DEBUG=3Dverbose glxinfo name of display: :0.0 libGL: XF86DRIGetClientDriverName: 5.0.3 r200 (screen 0) libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_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 error: Can't open configuration file /etc/drirc: No such file or directory. libGL error: Can't open configuration file /home/karol/.drirc: No such file or directory. display: :0 screen: 0 direct rendering: Yes [...] OpenGL vendor string: Tungsten Graphics, Inc. OpenGL renderer string: Mesa DRI R200 20041207 AGP 4x TCL OpenGL version string: 1.3 Mesa 6.4.1 [...] DRI under Linux compat: $ LIBGL_DEBUG=3Dverbose /compat/linux/usr/X11R6/bin/glxinfo libGL: XF86DRIGetClientDriverName: 5.0.3 r200 (screen 0) libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so drmOpenByBusid: busid is pci:0000:01:00.0 drmOpenDevice: minor is 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 error: DDX DRI driver expected R200 version 4.0.x but got version 5.0.3 libGL error: InitDriver failed display: :0.0 screen:0 direct rendering: No [...] OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.2 (1.5 Mesa 6.4.1) [...] $ pkg_info | cut -d " " -f 1 | grep -E "xorg|linux" | grep -v "xorg-fonts= " linux-XFree86-libs-4.3.99.902_7 linux-aspell-0.50.4.1_1 linux-atk-1.8.0_1 linux-expat-1.95.7 linux-flashplugin-7.0r63 linux-fontconfig-2.2.3_2 linux-glib2-2.4.8_1 linux-gtk2-2.4.14_3 linux-jpeg-6b.33 linux-openmotif-2.2.4_2 linux-opera-8.52.20060201 linux-pango-1.6.0_1 linux-png-1.2.8 linux-realplayer-10.0.7.785.20060201 linux-tiff-3.6.1_5 linux_base-fc-3_1 linux_dri-4.4.0 linuxpluginwrapper-20051113 xorg-6.9.0 xorg-clients-6.9.0_2 xorg-documents-6.9.0 xorg-libraries-6.9.0 xorg-manpages-6.9.0 xorg-nestserver-6.9.0 xorg-printserver-6.9.0 xorg-server-6.9.0_1 xorg-vfbserver-6.9.0 --=20 Karol Kwiatkowski OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc --------------enig4636A07C2BBCAA888834A805 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEMmYtezeoPAwGIYsRAltzAJ91Gyt0AFobAxhuAGCYmWUqY1yijQCeLHWs D2K9l2VzQF75NfBzetJKTzE= =0BuW -----END PGP SIGNATURE----- --------------enig4636A07C2BBCAA888834A805--