From owner-freebsd-x11@FreeBSD.ORG Sat Dec 27 23:27:20 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91291106564A for ; Sat, 27 Dec 2008 23:27:20 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 698078FC17 for ; Sat, 27 Dec 2008 23:27:20 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.1.151] (adsl-154-218-250.ard.bellsouth.net [72.154.218.250]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id mBRNQVBh013649 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 27 Dec 2008 18:26:31 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Aragon Gouveia In-Reply-To: <20081227210527.GA29522@phat.za.net> References: <20081225202045.GA37032@phat.za.net> <20081226035021.GA66514@phat.za.net> <1230397804.38943.14.camel@wombat.2hip.net> <20081227210527.GA29522@phat.za.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-BEPuiCICLvVKP6a3UotN" Organization: FreeBSD Date: Sat, 27 Dec 2008 18:27:11 -0500 Message-Id: <1230420431.38943.31.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@freebsd.org Subject: Re: G33 DRM support in RELENG_7 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2008 23:27:20 -0000 --=-BEPuiCICLvVKP6a3UotN Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2008-12-27 at 23:05 +0200, Aragon Gouveia wrote: > Hi, >=20 > | By Robert Noland > | [ 2008-12-27 19:10 +0200 ] > > I don't generally use google earth, but I do occasionally test it when > > someone mentions it... generally, you need aiglx enabled and possibly > > set LIBGL_ALWAYS_INDIRECT=3D1 for it to work. >=20 > Thanks! I enabled AIGLX and that did the trick. Google Earth works now, > but is extremely slow. It complains during startup: >=20 > libGL error: open DRM failed (Operation not permitted) > libGL error: reverting to (slow) indirect rendering >=20 > So I searched around and ran this: >=20 > $ LIBGL_DEBUG=3Dverbose /usr/compat/linux/usr/X11R6/bin/glxinfo=20 > libGL: XF86DRIGetClientDriverName: 1.9.0 i915 (screen 0) > libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/i915_dri.so > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 4, (OK) > drmOpenByBusid: Searching for BusID pci:0000:00:02.0 > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 4, (OK) > drmOpenByBusid: drmOpenMinor returns 4 > drmOpenByBusid: drmGetBusid reports (null) > drmOpenDevice: node name is /dev/dri/card1 > drmOpenByBusid: drmOpenMinor returns -1003 > drmOpenDevice: node name is /dev/dri/card2 > drmOpenByBusid: drmOpenMinor returns -1003 > drmOpenDevice: node name is /dev/dri/card3 > drmOpenByBusid: drmOpenMinor returns -1003 > drmOpenDevice: node name is /dev/dri/card4 > drmOpenByBusid: drmOpenMinor returns -1003 > drmOpenDevice: node name is /dev/dri/card5 > drmOpenByBusid: drmOpenMinor returns -1003 > drmOpenDevice: node name is /dev/dri/card6 > drmOpenByBusid: drmOpenMinor returns -1003 > drmOpenDevice: node name is /dev/dri/card7 > drmOpenByBusid: drmOpenMinor returns -1003 > drmOpenDevice: node name is /dev/dri/card8 > drmOpenByBusid: drmOpenMinor returns -1003 > drmOpenDevice: node name is /dev/dri/card9 > drmOpenByBusid: drmOpenMinor returns -1003 > drmOpenDevice: node name is /dev/dri/card10 > drmOpenByBusid: drmOpenMinor returns -1003 > drmOpenDevice: node name is /dev/dri/card11 > drmOpenByBusid: drmOpenMinor returns -1003 > drmOpenDevice: node name is /dev/dri/card12 > drmOpenByBusid: drmOpenMinor returns -1003 > drmOpenDevice: node name is /dev/dri/card13 > drmOpenByBusid: drmOpenMinor returns -1003 > drmOpenDevice: node name is /dev/dri/card14 > drmOpenByBusid: drmOpenMinor returns -1003 > libGL error: open DRM failed (Operation not permitted) > libGL error: reverting to (slow) indirect rendering > display: :0.0 screen:0 > direct rendering: No Do you have something resembling the following in your xorg.conf? Section "DRI" Group 0 Mode 0666 EndSection robert. >=20 > I'm running linux_base-f8 with compat.linux.osrelease=3D2.6.16. Is there > anything I can do to get linux DRI working? >=20 >=20 > Thanks, > Aragon --=-BEPuiCICLvVKP6a3UotN Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEUEABECAAYFAklWuc8ACgkQM4TrQ4qfRONnQgCcC5vltDcMv/2qCW7OJ6LaZPWE jMIAlRJaiP6MSloTd9Jkqe+22ICVi4o= =ysVX -----END PGP SIGNATURE----- --=-BEPuiCICLvVKP6a3UotN--