Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2008 12:59:47 +0100
From:      "Paul B. Mahol" <onemda@gmail.com>
To:        "Aragon Gouveia" <aragon@phat.za.net>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: G33 DRM support in RELENG_7
Message-ID:  <3a142e750812280359v683c3db0n6f984a7d67138146@mail.gmail.com>
In-Reply-To: <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> <20081227225823.GB38557@phat.za.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/27/08, Aragon Gouveia <aragon@phat.za.net> wrote:
> Hi,
>
> | By Paul B. Mahol <onemda@gmail.com>
> |                                          [ 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



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