Thanks fot your input. I have now built a new xserver and the drm kernel
modules. glxgears runs at approx 160 fps for 1280x1024x16, with mmio and
agp 2x. This seems a little slow, how much is speed improved by
asynchronous or synchronous DMA? Which one is preferred?

A note on the build process of the kernel modules. I had to do the
following om my GNU/Debian unstable box to build the mach64.o:

apt-get install kernel-source-2.4.25 (and unpack)
ln  -s  /usr/src/kernel-source-2.4.25 /usr/src/linux (optional)
cp  /boot/config-2.4.25-1-686 /usr/src/linux/.config (stock kernel)
cd /usr/src/linux
make xconfig
exit immediately => include/linux/version.h is created
make dep
cd /usr/CVS/dri-cvs/drm/linux
make LINUXDIR=/usr/src/linux
cd /usr/CVS/dri-cvs/drm/linux
cp gamma.o i810.o i830.o mach64.o mga.o r128.o radeon.o savage.o sis.o
tdfx.o via.o /lib/modules/2.4.25-1-686/kernel/drivers/char/drm/
depmod -a

A much nicer approach would be to build the kernel modules with the aid
of only the kernel-headers, not the kernel source, such as when building
the alsa-modules, i2c-modules or the lm-sensors-modules. Using the
kernel-headers one does not have to create the version.h file, it is
already there. This requires a debian directory however, and more
makefile support for the build than for a stock kernel. 

apt-get install kernel-headers-2.4.25-1-686
apt-get install i2c-source (and unpack)
cd /usr/src/modules/i2c
time fakeroot ./debian/rules KSRC=/usr/src/kernel-headers-2.4.25-1-686
KVERS=2.4.25-1-686 KDREV=2.4.25-1 kdist_image

Thanks for your efforts. Hopefully, in due time, the security problem
can be solved for the mach64 and savage drivers too :(

On Tue, 2004-04-27 at 03:18, Alex Deucher wrote:
> --- Adam Jackson <[EMAIL PROTECTED]> wrote:
> > On Monday 26 April 2004 17:59, Felix Khling wrote:
> > > The mach64 driver has moved to the trunk. Try building it there.
> > The
> > > branch is broken for quite a while now. It won't be fixed.
> > 
> > So it's been merged then?  As in, I should go update the wiki so we
> > don't get 
> > this complaint in the future?
> 
> Already done.
> 
> Alex
> 
> > 
> > - ajax
> > 
> 
> 
> 
>       
>               
> __________________________________
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs  
> http://hotjobs.sweepstakes.yahoo.com/careermakeover
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
> For a limited time only, get FREE Ground shipping on all orders of $35
> or more. Hurry up and shop folks, this offer expires April 30th!
> http://www.thinkgeek.com/freeshipping/?cpg=12297
> --
> _______________________________________________
> Dri-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dri-devel


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to