G33 DRM support in RELENG_7

Paul B. Mahol onemda at gmail.com
Sun Dec 28 03:59:48 PST 2008


On 12/27/08, Aragon Gouveia <aragon at phat.za.net> wrote:
> Hi,
>
> | By Paul B. Mahol <onemda at 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


More information about the freebsd-x11 mailing list