--- Georgi Hristov <[EMAIL PROTECTED]> wrote: > > > > > >Just to be sure, did you check out the savage-2-0-0-branch of DRI > cvs? > >do you see any files that start with 'savage' in > >xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel? > > > >Alex > > > > > > > hi, > > at first i just pulled the head revision and extracted the tarball > with > the 2d driver into it (and the 2d driver was built ok). then i > updated > the kernel directory to the new branch too, so i got the savage.o drm > > module, which also works ok. > but in order to get savage_dri.so, i updated the whole xc/ directory > to > savage-2-0-0-branch, and now it won't even build. in the very > beginning > of Make World, it complains about missing accum.c needed for accum.c > or > something like this. > could you put together some sort of howto for this savage beast, > since > i'm out of luck with it now. or maybe if you plan to move the whole > thing into head soon, i could just wait. > xv is more important than 3d anyway... >
If all you need is Xv, your best bet is just to use the stock xfree86 savage driver. If you want to play with 3D, all you need to do is download a fresh copy of the savage-2-0-0-branch. you don't need a copy of head. just download a fresh copy of the branch ('cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvs/dri co -rsavage-2-0-0-branch xc') and at the top of the tree run 'make World'. once it's built you can either install the whole thing over your current xfree86 installation ('make install') or just copy the savage_dri.so (from xc/xc/lib/GL/mesa/src/drv/savage), savage_drv.o (from xc/xc/programs/Xserver/hw/xfree86/drivers/savage), and savage.o to the approprate places in your file system. the savage.o kernel module must be built like before: Change to the xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel directory in the DRI cvs tree. to compile the DRM run: make -f Makefile.linux or: make -f Makefile.linux LINUXDIR=/path/to/kernel/source if the previous command could not find your kernel source tree or if you want to build against another kernel. copy the resulting *.ko (2.6.x kernel) or *.o (2.4.x kernel) modules into the kernel module tree, usually: /lib/modules/kernel version/kernel/drivers/char/drm where 'kernel version' is the kernel you built against, then run 'depmod -a'. Make sure you have run at least 'make dep' on your kernel tree or the build will fail. Alex > regards, > georgi > __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel