Subject: DRM... what's needed?
To: None <tech-x11@netbsd.org>
From: Juan RP <juan@xtrarom.org>
List: tech-x11
Date: 03/21/2007 19:17:50
Hi, I have built a kernel with DRM support for my i945 chip.

But xorg reports:

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) I810(0): [drm] DRM interface version 1.2
(II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
(II) I810(0): [drm] added 8192 byte SAREA at 0xffff800002956000
(II) I810(0): [drm] drmMap failed
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.

I did build modular-xorg-server from pkgsrc with mesa.patch from
Yorick Hardy and the option glx (mesa-6.5.2).

And device is created ok:

crw-rw-rw-  1 root  wheel  180, 0 Mar 21 02:49 /dev/dri/card0

Is there anything more requited to make it work?

-- 
http://plog.xtrarom.org/
Juan RP's blog - NetBSD/pkgsrc news in Spanish