On Wed, 2008-05-14 at 12:36 +0200, Matthias Hopf wrote:
On May 08, 08 13:45:36 -0400, Coleman Kane wrote:
git://people.freedesktop.org/~mhopf/radeonhd
Success!
DRI is now working on RS690, have been playing torcs yesterday evening :-))) Performance is actually pretty decent.
Does this need the latest drm, mesa, xorg-server sources from git? Or can it work with the latest X.org release?
There are a few components involved:
- Xserver: version pretty much irrelevant, should work with old ones - libdrm: AFACS doesn't have to be top of line either - drm: The kernel modules must be recent, other don't have RS690 support - radeonhd: The private repository mentioned above :-) - Mesa: Since Friday (or so) the last patch I sent to the mailing list was included by Alex. This is necessary on *some* RS690s. Even if it's not necessary, you need a *very* recent Mesa git.
HTH
Matthias
I got it all installed on my FreeBSD 8.0 system. I had to make some changes to the drm sources, as the BSD side of the kernel drivers haven't kept up the pace of the Linux drivers: http://www.cokane.org/cgi-bin/gitweb.cgi?p=drm.git (cokane-master branch) The fd-master branch is what I pull down from fd.o. The driver seems to get set up properly in the kernel: drm0: <ATI Radeon RS690 X1270 IGP> on vgapci0 info: [drm] Initialized radeon 1.28.0 20060524 info: [drm] Setting GART location based on new memory map bus_dmamem_alloc failed to align memory properly. info: [drm] Loading RS690 Microcode info: [drm] Num pipes: 1 info: [drm] writeback test succeeded in 1 usecs drm0: [ITHREAD] And my Xorg.0.log is attached. When I try running glxgears, I get the following output: Warning, RS690 detected, 3D support is incomplete. Error: couldn't get an RGB, Double-buffered visual I am also attaching my glxinfo -v output as well. I've prodded the BSD radeon kernel driver a lot. and it probably lags behind the linux kernel module somewhat. If the problems I am experiencing are related to the features not being available in the kmod, perhaps you could point me at the linux driver code that I could look at to get an idea of what needs implementing on FreeBSD. Your above message (about playing torcs) leads me to believe that I should be able to get GL apps running here (if I have everything else working alright). I have found that if I run the glxgears_fbconfig demo, it actually runs but it displays a solid black window. The software does seem to be running and taking stats, but there's no visual output. The framerate on this runs about 2500 fps. I did install the latest mesa, libdrm, drm, from fd.o git. I also had to install dri2proto. -- Coleman Kane