LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Rage Pro (https://www.linuxquestions.org/questions/linux-hardware-18/rage-pro-176682/)

bgrudy 05-01-2004 11:29 AM

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

jsutton 05-01-2004 03:10 PM

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.:)

bgrudy 05-01-2004 03:43 PM

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.

vectordrake 05-01-2004 05:55 PM

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


bgrudy 05-01-2004 05:59 PM

what do you mean by uncomment it? and where can i find this module?

vectordrake 05-01-2004 07:35 PM

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

Inhibit 05-01-2004 07:36 PM

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

bgrudy 05-02-2004 09:24 AM

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?

Inhibit 05-02-2004 10:38 AM

<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..

vectordrake 05-02-2004 03:10 PM

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...


All times are GMT -5. The time now is 11:32 AM.