you need to build the savage kernel module.  The code is in:
xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel

Change to that directory and then type:
make -f Makefile.linux
or
make -f Makefile.linux LINUXDIR=/path/to/kernel/src

If you are using redhat 9 (possibly fedora as well), the build will
fail because redhat is using the MM code from 2.6 in their 2.4 kernels.
 If that is the case you will need to download and install a vanilla
2.4 kernel.  if you are using a vendor supplied kernel you will have to
also install the vendor's kernel source tree.  make sure the kernel
source tree has had 'make dep' run before you try and build the DRM
module. 
Once you have the savage.o kernel module built, copy it into the kernel
modules directory with the other DRM modules; usually
/lib/modules/'kernel version'/kernel/drivers/char/drm/
Make sure the agpgart kernel module is loaded before you start X.  X
should automatically load the DRM, but if not, load that before X
starts as well.

I usually add:
/sbin/modprobe agpgart
to my rc.local file.

Alex

--- Jesse Merriman <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I've got a ProSavage DDR and wanted to try out the driver in the 
> savage-2-0-0 CVS branch and I'm having a bit of trouble setting it up
> 
> right. First I did this:
> 
> cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvs/dri
>    co -rsavage-2-0-0-branch xc
> 
> Then I compiled and installed xfree normally with no errors and
> edited 
> my XF86Config-4 a bit. I wasn't sure whether there was anything extra
> I 
> had to do. I can start X just fine, but I've got no acceleration. I 
> looked through my XFree log, and while I'm not exactly sure what I 
> should be looking for I did see that all modules aparently loaded
> right, 
> bu further down I came across this:
> 
> (II) original mode = 0x117(bx=0x4117)
> (--) SAVAGE(0): mapping framebuffer @ 0xe0000000 with size 0x2000000
> (WW) SAVAGE(0): Failed to set up write-combining range 
> (0xe0000000,0x2000000)
> (II) SAVAGE(0): Splitting WC range: base: 0xe2000000, size: 0x5000000
> (II) SAVAGE(0): Splitting WC range: base: 0xe4000000, size: 0x3000000
> (==) SAVAGE(0): Write-combining range (0xe6000000,0x1000000)
> (==) SAVAGE(0): Write-combining range (0xe4000000,0x3000000)
> (==) SAVAGE(0): Write-combining range (0xe2000000,0x5000000)
> (II) SAVAGE(0): map aperture:0x422ef000
> (--) SAVAGE(0): SavageMatchBiosMode:chose mode 118 at 60Hz.
> (II) SavageSetVESAMode:mode=0x118,refresh=60HZ
> (II) SAVAGE(0): [drm] bpp: 32 depth: 24
> (II) SAVAGE(0): [drm] Sarea 2200+872: 3072
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is -1, (No such device)
> drmOpenDevice: open result is -1, (No such device)
> drmOpenDevice: Open failed
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is -1, (No such device)
> drmOpenDevice: open result is -1, (No such device)
> drmOpenDevice: Open failed
> [drm] failed to load kernel module "savage"
> (II) SAVAGE(0): [drm] drmOpen failed
> (EE) SAVAGE(0): [drm] DRIScreenInit failed.  Disabling DRI.
> (EE) SAVAGE(0): DRI isn't enabled
> 
> Can anyone here help me out? If you need any other info just let me
> know.
> 
> Thanks,
> 
> Jesse Merriman
> [EMAIL PROTECTED]
> 
>

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to