Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2008 23:05:27 +0200
From:      Aragon Gouveia <aragon@phat.za.net>
To:        Robert Noland <rnoland@FreeBSD.org>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: G33 DRM support in RELENG_7
Message-ID:  <20081227210527.GA29522@phat.za.net>
In-Reply-To: <1230397804.38943.14.camel@wombat.2hip.net>
References:  <20081225202045.GA37032@phat.za.net> <20081226035021.GA66514@phat.za.net> <1230397804.38943.14.camel@wombat.2hip.net>

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

| 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=1 for it to work.

Thanks!  I enabled AIGLX and that did the trick.  Google Earth works now,
but is extremely slow.  It complains during startup:

libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering

So I searched around and ran this:

$ LIBGL_DEBUG=verbose /usr/compat/linux/usr/X11R6/bin/glxinfo 
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


I'm running linux_base-f8 with compat.linux.osrelease=2.6.16.  Is there
anything I can do to get linux DRI working?


Thanks,
Aragon



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