--- cunha17 <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I'm experiencing some problem with my
> Savage2000(Viper II) card and DRI.
> Just for the records, I followed all
> recomendation I could find in and out
> of this list.
> 
> First of all I recompiled my
> kernel(vanilla 2.4.24, since
> fedora/redhat kernel-source has some
> incompatibilities) without DRM, since
> DRM will be compiled and installed by
> DRI CVS(recommended by
> http://dri.sourceforge.net/doc/DRIcompile.html).
> 
> Then I made the necessary changes to
> DRI to recognize the SAVAGE2000
> card(as posted on this list:
> xc/xc/programs/Xserver/hw/xfree86/drivers/savage/savage_driver.c
> and
>
xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/savage.h)
> and I could get DRI to compile without
> errors.
> 
[snip]

To elaborate on what felix said, savage2000 is a different beast than
any of the other savages.  regarding the 2D driver, I have no idea how
its bitmap descripters are laid out.  The 3D engine is a whole nother
ball of wax... if you want to play around with it you may be able to
get something working, but that assumes its 3D engine operates similar
to prosavage or savage4.  Just knowing how many weird little
differences there are in the 3D engines of savage4 and prosavage does
not bode well for savage2000 support.

Anyway, if you want to play with it a bit, here's what you can try
(names may be sightly off, I don't have the code in front of me at the
moment):

In savage_accel.c, take a look at the SavageSetGBD() function.  right
now, I know nothing about setting up the GBD on savage2000, so I just
defaulted to Tim's method.  if you want you can try messing with the
case statement that calls the chip specific setGBD functions, try
moving savage2000 to have it call setGBD_twister or setGBD_pm()
(supersavage) functions instead. then in savage_dri.c, one of the
functions (I forget the name offhand) sets up the bitmap descriptors
for the front/depth/back buffers and the tile registers.   Try adding
savage2000 to the if statements for prosavage and twister.  then
rebuild and see what you get.  If that doesn't work, then you are
probably out of luck unfortunately.

Alex


__________________________________
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

Reply via email to