G33 DRM support in RELENG_7

Robert Noland rnoland at FreeBSD.org
Sat Dec 27 15:27:20 PST 2008


On Sat, 2008-12-27 at 23:05 +0200, Aragon Gouveia wrote:
> Hi,
> 
> | By Robert Noland <rnoland at 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

Do you have something resembling the following in your xorg.conf?

Section "DRI"
        Group   0
        Mode    0666
EndSection

robert.

> 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20081227/c06adecb/attachment.pgp


More information about the freebsd-x11 mailing list