Subject: i810 and DRI
To: None <netbsd-users@netbsd.org>
From: Joel CARNAT <joel@carnat.net>
List: netbsd-users
Date: 09/29/2005 10:22:25
Hi,

I'm trying ti get DRI working on my DELL GX270. From what I read
(manpage & google), netbsd should have DRI support ; but I just cant'
have it working.

I did try to go to /usr/xsrc/xfree/xc and "make install" (after a clean
"./build.sh -x -u -U build"), as seen in google, but I get "make: don't
know how to make install. Stop"

Any clue ?

My XF86Config has :
################################################################
Section "Device"
        Identifier  "card"
        Driver      "i810"
        VendorName  "Intel Corp."
        BoardName   "82865G Integrated Graphics Device"
        VideoRam    65536 #"65024"
        Option      "AllowGLXWithComposite"
        Option      "DRI"
        Option      "RenderAccel"
        BusID       "PCI:0:2:0"
        Option      "Rotate" "CW"
EndSection

Section "Screen"
        Identifier "screen"
        Device     "card"
        Monitor    "LCD"
        DefaultDepth     16
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1280x1024" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1280x1024" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Mode       0666
EndSection
################################################################

The log says :
################################################################
# dmesg | more
<snip>
agp0 at pchb0: detected 8060k stolen memory
agp0: aperture at 0xe8000000, size 0x8000000
vga0 at pci0 dev 2 function 0: vendor 0x8086 product 0x2572 (rev. 0x02)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
<snip>
# grep -i dri /var/log/XFree86.0.log
        XFree86 Video Driver: 0.8
        XFree86 XInput driver : 0.5
        ABI class: XFree86 Video Driver, version 0.8
(--) Using wscons driver in pcvt compatibility mode (version 3.32)
        ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "dri"
(WW) Warning, couldn't open module dri
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (module does not exist, 0)
        ABI class: XFree86 Video Driver, version 0.8
(II) Loading /usr/X11R6/lib/modules/drivers/i810_drv.o
        Module class: XFree86 Video Driver
        ABI class: XFree86 Video Driver, version 0.8
        Module class: XFree86 XInput Driver
        ABI class: XFree86 XInput driver, version 0.5
        Module class: XFree86 XInput Driver
        ABI class: XFree86 XInput driver, version 0.5
(II) I810: Driver for Intel Integrated Graphics Chipsets: i810,
i810-dc100,
        ABI class: XFree86 Video Driver, version 0.8
        ABI class: XFree86 Video Driver, version 0.8
(**) I810(0): Option "DRI"
        ABI class: XFree86 Video Driver, version 0.8
        ABI class: XFree86 Video Driver, version 0.8
################################################################

TIA,
	Jo
-- 
,-- This mail runs ---------.
`------------ NetBSD/i386 --'