I'm curious if anyone has gotten r300 working on FreeBSD now that the driver has been merged with Mesa and the DRM cvs tree? I managed to get Mesa CVS to build on FreeBSD with some help from Adam Jackson and Daniel Stone on irc today. DRM from the cvs tree compiled as well. The kernel module loads when I start X:

drm0: <ATI Radeon AS 9600 AS> port 0xa000-0xa0ff mem 0xc0000000-0xcfffffff,0xe9000000-0xe900ffff irq 10 at device 0.0 on pci1
info: [drm] AGP at 0xe0000000 128MB
info: [drm] Initialized radeon 1.17.0 20050720

Xorg gives me the standard warning about DRM on r300:

(WW) RADEON(0): Enabling DRM support

       *** Direct rendering support is highly experimental for Radeon 9500
*** and newer cards. The 3d mesa driver is not provided in this tree. *** A very experimental (and incomplete) version is available from Mesa CVS. *** Additional information can be found on http://r300.sourceforge.net
       *** This message has been last modified on 2005-08-07.


But Direct Rendering is disabled.  I get:

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenByBusid: drmOpenMinor returns 6
drmOpenByBusid: drmGetBusid reports
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1013

And so on, through /dev/dri/card254

Mind you, /dev/dri/card0 exists:

[ [EMAIL PROTECTED] - ~ ]: ls -la /dev/dri
total 1
dr-xr-xr-x  2 root  wheel       512 Aug 21 18:37 .
dr-xr-xr-x  5 root  wheel       512 Dec 31  1969 ..
crw-rw-rw-  1 root  wheel    0, 162 Aug 21 18:35 card0

Any ideas?

Adam



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to