From owner-freebsd-x11@FreeBSD.ORG Sat Dec 27 22:58:25 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 D4CE1106574A for ; Sat, 27 Dec 2008 22:58:25 +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 C4DFF8FC17 for ; Sat, 27 Dec 2008 22:58:24 +0000 (UTC) (envelope-from aragon@phat.za.net) Received: by mail.geek.sh (Postfix, from userid 1000) id 7D53524D22; Sun, 28 Dec 2008 00:58:23 +0200 (SAST) Date: Sun, 28 Dec 2008 00:58:23 +0200 From: Aragon Gouveia To: "Paul B. Mahol" Message-ID: <20081227225823.GB38557@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> <3a142e750812271339p43fda03v873f4063aa494b1a@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3a142e750812271339p43fda03v873f4063aa494b1a@mail.gmail.com> 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 22:58:26 -0000 Hi, | By Paul B. Mahol | [ 2008-12-27 23:39 +0200 ] > > libGL error: open DRM failed (Operation not permitted) > > libGL error: reverting to (slow) indirect rendering > > Are you sure that permissions are correct (0666) ? > > Section "DRI" > Mode 0666 > EndSection Yea, my xorg.conf has that setup: $ ls -l /dev/dri total 0 crw-rw-rw- 1 root wheel 0, 32 Dec 28 00:03 card0 Also, running native glxinfo shows a working DRI: $ LIBGL_DEBUG=verbose glxinfo name of display: :0.0 libGL: XF86DRIGetClientDriverName: 1.9.0 i915 (screen 0) libGL: OpenDriver: trying /usr/local/lib/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 pci:0000:00:02.0 libGL error: Can't open configuration file /etc/drirc: No such file or directory. libGL error: Can't open configuration file /usr/home/aragon/.drirc: No such file or directory. display: :0 screen: 0 direct rendering: Yes Thanks, Aragon