Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  1 Nov 2003 22:03:57 +0200 (EET)
From:      Mihail <hej@hot.ee>
To:        freebsd-questions@freebsd.org
Subject:   XFree86: disabled DRI
Message-ID:  <20031101200357.EDFB8E04@portal.hot.ee>

next in thread | raw e-mail | index | archive | help
Hello list,

I have a problem enabling direct rendering on
FreeBSD 5.1-RELEASE.
The first messages of my X log seem ok:

drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmGetBusid returned 'PCI:1:0:0'
drmOpenDevice: minor is 1

But then, X goes after other
nodes starting with /dev/dri/card1
and finishes miserably like this:
drmOpenDevice: minor is 14
drmOpenDevice: node name is /dev/dri/card14
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: Open failed
(II) R128(0): [drm] drmOpen failed
(EE) R128(0): [dri] DRIScreenInit failed.  Disabling DRI.

I wonder if X somehow ignores /dev/dri/card0
and makes the decision on disabling DRI
according to the last results?

Here I've put further DRI messages:

<extract>
(II) R128(0): Memory manager initialized to (0,0) (1024,8191)
(II) R128(0): Reserved area from (0,768) to (1024,770)
(II) R128(0): Largest offscreen area available: 1024 x 7421
(II) R128(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        Indirect CPU to Screen color expansion
        Solid Lines
        Dashed Lines
        Scanline Image Writes
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                32 128x128 slots
                32 256x256 slots
                16 512x512 slots
(II) R128(0): Acceleration enabled /* I'm also puzzled by this entry */
(==) R128(0): Backing store disabled
(==) R128(0): Silken mouse enabled
(II) R128(0): Using hardware cursor (scanline 1540)
(II) R128(0): Largest offscreen area available: 1024 x 7419
(**) Option "dpms"
(**) R128(0): DPMS enabled
(WW) R128(0): Option "UseCCEFor2D" is not used
(II) R128(0): Direct rendering disabled
</extract>

Hope I didn't flud the list too much =)
Thanks in advance,
smiha


-----------------------------------------
Hot Mobiil - helinad, logod ja piltsõnumid!
http://portal.hot.ee



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