From owner-freebsd-x11@FreeBSD.ORG Sun Dec 28 11:59:48 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 A1D24106564A for ; Sun, 28 Dec 2008 11:59:48 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-gx0-f19.google.com (mail-gx0-f19.google.com [209.85.217.19]) by mx1.freebsd.org (Postfix) with ESMTP id 439F18FC1A for ; Sun, 28 Dec 2008 11:59:48 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by gxk12 with SMTP id 12so3032087gxk.19 for ; Sun, 28 Dec 2008 03:59:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=OfTDjFuXpXoISsTmI7cqLRYHN3ccpv64Y55XO9+fb0s=; b=B88zsvNbwjz91kUptWXO7Lmv0yc/FuSReNuM6rH4HYFWoPBgI1yx5nvOyhGxiNYSER q2Q5NXkwXAT9i5tmMLT6NbfxX67t89+dyj9hIdRPXw8/7mXn2aa/DtPUb93k/J6pfQg0 PAAjmM8v+XY3PB7Sae0FYhZMz6rBPI9HkP99w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=AF1blfUp+X89TLWNojjkliiKppIWst9dEmESQ3hJQMAgT7vwFUmsHsUcn5QS10p2wd 1hflde52DP69fAcvf/cvMalB2lWVKVQKYRk2wBSAGaDv8nzdHC/vwxTcHssikU7coUbL odKLHAGBhE+9Tr2EPRyWda3Nrpl2LrAU7usvM= Received: by 10.231.16.74 with SMTP id n10mr321490iba.28.1230465587123; Sun, 28 Dec 2008 03:59:47 -0800 (PST) Received: by 10.231.11.8 with HTTP; Sun, 28 Dec 2008 03:59:47 -0800 (PST) Message-ID: <3a142e750812280359v683c3db0n6f984a7d67138146@mail.gmail.com> Date: Sun, 28 Dec 2008 12:59:47 +0100 From: "Paul B. Mahol" To: "Aragon Gouveia" In-Reply-To: <20081227225823.GB38557@phat.za.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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> <20081227225823.GB38557@phat.za.net> 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: Sun, 28 Dec 2008 11:59:48 -0000 On 12/27/08, Aragon Gouveia wrote: > 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 Maybe you need tp play with graphics/driconf Defaults are not good for some applications. (btw, some drivers have memory leaks) -- Paul