LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-01-2004, 11:29 AM   #1
bgrudy
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 10.0
Posts: 27

Rep: Reputation: 15
Rage Pro


Hi, I have a ATI 3D Rage LT Pro, Mach 64 module. I was looking around for some drivers and didn't find any. Does XFree cover this card? I have Mandrake 10.0 with XFree 4.3.x, does this have drivers for it? I'm a newb, so any help is appreciated
 
Old 05-01-2004, 03:10 PM   #2
jsutton
Member
 
Registered: Nov 2003
Location: Greenville, SC, USA
Distribution: (K)ubuntu 5.04 / Fedora 4
Posts: 113

Rep: Reputation: 15
The driver supplied by ATI doesn't support a lot of the older cards, such as the one you have. You will probably be forced to use the standard vga/svga drivers (I've heard this requires hacking, but I only use nVidia on linux boxes, so I haven't had to try myself). Hope that helps a little.
 
Old 05-01-2004, 03:43 PM   #3
bgrudy
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 10.0
Posts: 27

Original Poster
Rep: Reputation: 15
hm, what are the standard ones? how would i install them? would they work for games? right now, i can't even run tux racer, i goes so slow, and i have a PII 350mhz processor.
 
Old 05-01-2004, 05:55 PM   #4
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
The drivers that come with XFree86 should work quite well. I can't get the driver for my Rage 128 pro because its already in XFree (donated by ATI, I think). Your driver is probably the right one but you may not have the 3d acceleration turned on.

Look for the module section and see if the "DRI" module is commented out:
Code:
Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "dri" # direct rendering
EndSection
That was mine.

I bet it is. Uncomment it. Look near the bottom of the file and see if there is a section entitled "DRI" and see if its uncommented as well:
Code:
Section "DRI"
    Mode 0666
EndSection
 
Old 05-01-2004, 05:59 PM   #5
bgrudy
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 10.0
Posts: 27

Original Poster
Rep: Reputation: 15
what do you mean by uncomment it? and where can i find this module?
 
Old 05-01-2004, 07:35 PM   #6
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Sorry, I didn't say where it was. This stuff I spouted out is in your /etc/X11/XF86Config-4 file

Open it with a text editor (as root) and make the changes. Any configuration file will have comments in it (often as instructional tools). They have a "#" in front of them. They aren't executable. I have posted a sample XF86Config file I ripped out of a Gentoo install as an example. Its HERE. Read through that one and see what they are talking about. Once you edit the file, hit ctrl+alt+backspace to kill your X session (or type as root in a terminal "telinit 3" and then as root from the resulting console, "telinit 5" <------preferred method) and log back in. You should have 3d after you enable DRI.

Or, you could try redoing the whole X config with xf86config. <----last resort

Last edited by vectordrake; 12-19-2004 at 12:15 AM.
 
Old 05-01-2004, 07:36 PM   #7
Inhibit
Member
 
Registered: Apr 2004
Distribution: Mandrake, Gentoo, SuSe, JDS
Posts: 53

Rep: Reputation: 15
According to the DRI project, there's now 3D support for the Mach64 chipsets. 2D support has been included as part of the "ati" X86 server for quite a bit. Be warned, though, that the 3D acceleration isn't very fast, and might not be worth your while.

http://dri.sourceforge.net/cgi-bin/moin.cgi/ATI

It's listed as "under heavy development" their. If you check the actual developer page you can grab the specific X86 servers.

http://www.retinalburn.net/linux/dri_status.html
 
Old 05-02-2004, 09:24 AM   #8
bgrudy
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 10.0
Posts: 27

Original Poster
Rep: Reputation: 15
i am very stuck on following that build, when i get to the step of compiling it, i do
Code:
make World >& world.log & tail -f world.log
and after a while of doing stuff, it gives me this
Code:
make[5]: Leaving directory `/usr/src/CVS/xc/xc/programs/Xserver/hw/xfree86/drivers'
make[4]: *** [clean] Error 2
make[4]: Leaving directory `/usr/src/CVS/xc/xc/programs/Xserver/hw/xfree86'
make[3]: *** [clean] Error 2
make[3]: Leaving directory `/usr/src/CVS/xc/xc/programs/Xserver'
make[2]: *** [clean] Error 2
make[2]: Leaving directory `/usr/src/CVS/xc/xc/programs'
make[1]: *** [clean] Error 2
make[1]: Leaving directory `/usr/src/CVS/xc/xc'
make: *** [World] Error 2
here is a copy of my host.def file, since i made changes to it for the mach64 module:

Code:
/*
 * Set this for each DRI branch.  It will be appended to the XFree86 version
 * information.
 */
#define XFree86CustomVersion "DRI trunk"

/* You need this now */
#define MesaSrcDir /usr/src/CVS/Mesa
#define DRMSrcDir /usr/src/CVS/drm


/* Don't use any special flags by default, but leave this here commented out
 * so people see how to if they want
 */
/*
#define DefaultGcc2AxpOpt -O2 -mcpu=ev6
#define DefaultGcc2PpcOpt -O2 -mcpu=750
#define DefaultGcc2i386Opt -O2
#if defined(AlphaArchitecture)
#  define LibraryCDebugFlags -O2 -mcpu=ev6
#elif defined(PpcArchitecture)
#  define LibraryCDebugFlags -O2 -mcpu=750
#else
#  define LibraryCDebugFlags -O2
#endif
*/


#define BuildXFree86ConfigTools YES

#if defined(PpcArchitecture)

#define XF86CardDrivers mach64
#define DriDrivers mach64

#elif defined(i386Architecture)

#define XF86CardDrivers ati vga mach64
#define DriDrivers mach64

#elif defined(AMD64Architecture)

#define XF86CardDrivers ati vga mach64
#define DriDrivers mach64

#else

#define XF86CardDrivers ati vga mach64
#define DriDrivers mach64

#endif

#if defined(FreeBSDArchitecture) && defined(HasGcc3) && HasGcc3
#define NoSystemWarn		-Wno-system-headers
#else
#define NoSystemWarn
#endif

#define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \
                          -Wmissing-prototypes -Wmissing-declarations \
                          -Wredundant-decls -Wnested-externs -Wundef \
			  NoSystemWarn
#define DefaultCCOptions -ansi -pedantic GccWarningOptions -pipe -g

#define NormalLibGlx NO

#define BuildXF86DRI YES

/* Link the drivers against static libexpat to make binary snapshots
 * more usable and to reduce build problems on Linux machines without
 * expat.
 */

#if defined(LinuxArchitecture) && !defined(AMD64Architecture)
# define ExpatLibrary		StaticLibrary($(BUILDLIBDIR),expat)
# define NormalLibExpat 	YES
#endif

/* Optionally turn these on for debugging */
/* #define GlxBuiltInTdfx YES */
/* #define GlxBuiltInI810 YES */
/* #define GlxBuiltInMga YES */
/* #define GlxBuiltInR128 YES */
/* #define GlxBuiltInRadeon YES */
#define DoLoadableServer YES

/* Optionally turn this on to change the place where you install the build.
 * Warning: trailing blanks will cause build failures.
 */
/* #define ProjectRoot /usr/X11R6-DRI */

/* #define UsrLibDir /usr/X11R6/lib */

#define XF86AFB NO

#define XnestServer NO
#define XVirtualFramebufferServer NO

/*
 * Don't change anything below or the build will fail.
 */
#define BuildServersOnly YES
#define BuildXvLibrary YES
#define BuildXvMCLibrary YES
#define BuildLibrariesForXServers NO
#define BuildLibrariesForConfigTools NO
#define BuildGLXLibrary YES
#define BuildXDriInfo YES
#define BuildXdmcpLib YES
#define BuildXInputLib NO
#define BuildXIE NO
#define BuildPexExt NO
#define XprtServer NO
#define SharedLibFont NO
#define XInputDrivers mouse
#if DoLoadableServer
#undef XF1Bpp
#undef XF4Bpp
#define XF1Bpp NO
#define XF4Bpp NO
#endif
does that look right?
 
Old 05-02-2004, 10:38 AM   #9
Inhibit
Member
 
Registered: Apr 2004
Distribution: Mandrake, Gentoo, SuSe, JDS
Posts: 53

Rep: Reputation: 15
<ed> one wow to many </ed>
No binaries of the modules huh? It's been so long since I looked at that setup I'd need to compile it on a machine myself to figure that out... from the DRI site that looks okay to me.

Wow. Since these are on the same page, you'd think they'd be easier to find.. but no. Check for the Mach64 binary builds here

http://www.retinalburn.net/linux/dri_xv.html#patch

with instructions on useage at the bottom.

That took a *whole* lot of searching, so I hope it helps. I'll do a short writeup on it so it's not so hard to find in the future..

Last edited by Inhibit; 05-02-2004 at 10:46 AM.
 
Old 05-02-2004, 03:10 PM   #10
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Would having XFree4.4 save all this work? Is this support part of the newest release? BTW, what's the specs on that card? I might have another suggestion for you, depending on your answer...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Drivers for 3D Rage Lt Pro ZackTheSpacestation Linux - Hardware 5 09-19-2005 07:09 AM
Rage 3D Pro AGP ilnli Linux - Hardware 3 05-15-2005 01:41 PM
ATI Driver for RAGE Pro Error1312 Linux - Software 10 07-24-2004 10:56 AM
Rage 128 Pro no openGL or something.. Rockangel19az Linux - Software 0 07-12-2004 02:24 PM
ati rage pro tvout Angotull Linux - Software 0 06-15-2004 06:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration