From owner-freebsd-x11@FreeBSD.ORG Sat Dec 27 21:05:33 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 768F3106564A for ; Sat, 27 Dec 2008 21:05:33 +0000 (UTC) (envelope-from aragon@phat.za.net) Received: from mail.geek.sh (decoder.geek.sh [196.36.198.81]) by mx1.freebsd.org (Postfix) with ESMTP id 011928FC16 for ; Sat, 27 Dec 2008 21:05:28 +0000 (UTC) (envelope-from aragon@phat.za.net) Received: by mail.geek.sh (Postfix, from userid 1000) id 4510224D22; Sat, 27 Dec 2008 23:05:27 +0200 (SAST) Date: Sat, 27 Dec 2008 23:05:27 +0200 From: Aragon Gouveia To: Robert Noland Message-ID: <20081227210527.GA29522@phat.za.net> References: <20081225202045.GA37032@phat.za.net> <20081226035021.GA66514@phat.za.net> <1230397804.38943.14.camel@wombat.2hip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1230397804.38943.14.camel@wombat.2hip.net> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.10-RELEASE-p2 i386 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 21:05:33 -0000 Hi, | 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=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