DragonFly users List (threaded) for 2008-01
I am serving you hot + fresh a new dri/drm port. I'd like everybody to
try and use it and to report back on success and problems. I'd like to
commit this update before the release.
What you need to do:
Update to latest HEAD to get my changes for agp.
git clone git://ww2.fs.ei.tum.de/~corecode/git/drm.git
make install # as root
Then, you'll have to build the X server with dri:
Now go to pkgsrc/x11/modular-xorg-server and bmake install it.
You'll need to install a MesaLib that supports dri. I don't know how
you could do this with the MesaLib from pkgsrc. I installed MesaLib-dri
from pkgsrc-wip. Be sure to read the README. This will give you a
/usr/pkg/lib/libGL.so.1.0.2, but the rest of pkgsrc wants a
/usr/pkg/lib/libGL.so.1.0.5 (I have no clue why their numbering goes
backwards). I simply symlinked 1.0.2 to 1.0.5 and right now it works.
Now you should have:
I then had to create the device node:
mknod /dev/dri/card0 c 145 0 0:0
chmod a+rw /dev/dri/card0
As last task you need to adjust your xorg.conf to load glx. Add
to your /etc/X11/xorg.conf. Add a new section
to the end of the xorg.conf file.
Now you're set. Do a
or whatever you need for your graphics card. I'm not sure if the dri
driver should kldload it automatically.
startx and run glxinfo (available from glx-utils). You should now see:
direct rendering: Yes
Now be happy, use your favorite 3d tool and try it. Instantly report
back your success via mail/nntp.