Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2008 18:27:11 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Aragon Gouveia <aragon@phat.za.net>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: G33 DRM support in RELENG_7
Message-ID:  <1230420431.38943.31.camel@wombat.2hip.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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 <rnoland@FreeBSD.org>
> |                                          [ 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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1230420431.38943.31.camel>