Some tips for those of you messing with the savage driver.
Alex
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
--- Begin Message ---
Here are some hints on how to build the VIA/S3 Savage driver. You need to
make a couple of changes to the source.
==================BEGIN FORWARDED MESSAGE==================
>Date: Thu, 10 Jul 2003 01:41:27 -0600
>From: Phillip Hellewell <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: [Savage40] Better Driver Out There
Hi everyone,
I downloaded the source code here a couple hours ago and I was
actually able to get it to compile and work, DRI and everything! I'm
running gentoo here.
Here are some hints/notes in case anyone else is trying to compile it:
1. Watch out for a few typos in the readme.txt file.
2. You have to download the xfree source code first (kind of obvious).
3. It has to be xfree86 4.2.0, not 4.3.0.
4. Before building the 2D drivers
(xc/programs/Xserver/hw/xfree86/drivers/savage)
you need to run dos2unix on a few of the source files, or gcc will
complain with a ton of warnings AND errors (I'm using gcc 2.95.3)
5. Don't forget to add this section to your XF86Config:
Section "DRI"
Mode 0666
EndSection
6. I had to edit the file xc/programs/Xserver/hw/xfree86/os-
support/linux/drm/kernel/savage_drv.c
and force it to use the do_munmap function that only takes 2
parameters not 3 (by commenting out #ifdef).
7. I had to edit about 4 files in xc/programs/Xserver/hw/xfree86/os-
support/linux/drm/kernel
and change pte_offset to pte_offset_kernel to get rid of insmod
unresolved symbol error.
Well, I hope this helps anyone else trying to compile this thing.
--
Phillip Hellewell <[EMAIL PROTECTED]>
===================END FORWARDED MESSAGE===================
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
_______________________________________________
Savage40 mailing list
[EMAIL PROTECTED]
http://www.probo.com/mailman/listinfo/savage40
--- End Message ---