[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Riva TNT Hardware 3D OpenGL Quick Howto (Viper 330, 550, etc.)
- From: "Jose M. Sanchez" <opjose ex-pressnet com>
- To: <redhat-list redhat com>, <hedwig-list redhat com>
- Cc: "Redhat install" <redhat-install-list redhat com>
- Subject: Riva TNT Hardware 3D OpenGL Quick Howto (Viper 330, 550, etc.)
- Date: Wed, 30 Jun 1999 23:15:26 -0400
Since I posted the comment about 3d acceleration under RH 6.0 on the TNT
boards I've been getting bombarded with requests for drivers and info...
So to simplify things... here's a quicky how to which I originally wrote up
for a list member on getting hardware 3d OPENGL windowed and full screen
support on the TNT (V 330, V550, etc.)
This assumes that you have the SVGA server configured for your display
already!!! (Don't omit this!)
--- Start of original message to Benjamin Sher <sher07 bellsouth net> ---
Grab:
ftp://ftp2.detonator.nvidia.com/pub/drivers/english/riva-tnt-tnt2-vanta/linu
x/RIVA-X-GLX-1.0-glibc-i386-dyn.tar.gz
ftp://ftp2.detonator.nvidia.com/pub/drivers/english/riva-tnt-tnt2-vanta/linu
x/RIVA-X-GLX-1.0-glibc-i386.tar.gz
ftp://rpmfind.net/linux/freshmeat/xscreensaver/xscreensaver-3.14-1.i386.rpm
ftp://rpmfind.net/linux/powertools/5.2/i386/Mesa-devel-3.0-2.i386.rpm
ftp://rpmfind.net/linux/powertools/5.2/i386/Mesa-demos-3.0-2.i386.rpm
ftp://rpmfind.net/linux/powertools/5.2/i386/Mesa-3.0-2.i386.rpm
ftp://rpmfind.net/linux/powertools/5.2/i386/Mesa-glut-3.0-2.i386.rpm
ftp://rpmfind.net/linux/powertools/5.2/i386/Mesa-glut-devel-3.0-2.i386.rpm
optionally:
ftp://ftp.redhat.com/pub/powertools/5.2/SRPMS/Mesa-3.0-2.src.rpm
Go ahead and install the Mesa RPM's (but if your system has a more
recent version, don't!) and the xscreensaver rpm...
Change to the /usr/X11R6/lib/xscreensaver directory and try running
superquadrics
lament
moebius
bubble3d
glplanet
atlantis
They will run, but note the speed at which they do...
Atlantis runs at a good clip, but make the window bigger and it slows
down....
Glplanet is slow at the default resolution but gets worst as you make
the window bigger
The same is true for bubble3d & lament...
Superquadrics and Moebius are painfully slow... moebius being the
worst...The ants on the strip appear to be stationary...
Now for installing the updated 3d drivers...
Instructions:
1) Get out of Xwindows altogether... and reboot.
You -MUST- kill xdm, kdm, gdm, wdm, or any other window managers if they
are running as well...
2) Log in as root and make a new directory called TNTDrivers in root's home
directory...
change to that directory and copy the RIVA-X-GLX-1.0-glibc-i386-dyn.tar.gz
file there...
[~/]> mkdir TNTDrivers
[~/]> cd TNTDrivers
[~/TNTDRIVERS]> cp /home/files/RIVA-X-GLX-1.0-glibc-i386-dyn.tar.gz .
[~/TNTDRIVERS]>
3) Untar the Riva driver file... and change to the new directory which is
created...
[~/TNTDRIVERS]> tar -xzvf RIVA-X-GLX-1.0-glibc-i386-dyn.tar.gz
[~/TNTDRIVERS]> cd X-GLX-glibc-i386-dyn
[~/TNTDRIVERS/X-GLX-glibc-i386-dyn]>
4) Execute the "riva_install" file... accept the first two defaults by
pressing ENTER.
[~/TNTDRIVERS/X-GLX-glibc-i386-dyn]> ./riva_install
Enter path to the X server tree.
If unsure, press <Enter>.
Path [/usr/X11R6] : [ENTER]
Installing X server: XF86_SVGA
Installing GLX module: glx.so
Installing GL client library: libGL.so.1.0
Modification to your XF86Config file is required to load the module.
If the configuration file is in a non-standard location, enter it here.
If unsure, press <Enter>.
Path: [ENTER]
Found config file at /etc/X11/XF86Config
Checking for existing GLX capabilities.
The X Server appears to already be set up for the GLX module.
If GLX isn't available when you start up the X server,
make sure the Section Module or Load glx.so isn't commented out.
Copied glx.so to /usr/X11R6/lib/modules
cp: cannot create symbolic link `/usr/X11R6/lib/libGL.so': File exists
cp: cannot create symbolic link `/usr/X11R6/lib/libGL.so.1': File exists
Copied libGL.so* to /usr/X11R6/lib
Copied XF86_SVGA to /usr/X11R6/bin
[~/TNTDRIVERS/X-GLX-glibc-i386-dyn]>
5) Note two errors occured! You need to fix these...
[~/TNTDRIVERS/X-GLX-glibc-i386-dyn]> rm /usr/X11R6/lib/libGL.so
[~/TNTDRIVERS/X-GLX-glibc-i386-dyn]> rm /usr/X11R6/lib/libGL.so.1
[~/TNTDRIVERS/X-GLX-glibc-i386-dyn]>
6) Run the "riva_install" again...
[~/TNTDRIVERS/X-GLX-glibc-i386-dyn]>./riva_install
Enter path to the X server tree.
If unsure, press <Enter>.
Path [/usr/X11R6] : [ENTER]
Installing X server: XF86_SVGA
Installing GLX module: glx.so
Installing GL client library: libGL.so.1.0
Modification to your XF86Config file is required to load the module.
If the configuration file is in a non-standard location, enter it here.
If unsure, press <Enter>.
Path: [ENTER]
Found config file at /etc/X11/XF86Config
Checking for existing GLX capabilities.
The X Server appears to already be set up for the GLX module.
If GLX isn't available when you start up the X server,
make sure the Section Module or Load glx.so isn't commented out.
Copied glx.so to /usr/X11R6/lib/modules
Copied libGL.so* to /usr/X11R6/lib
Copied XF86_SVGA to /usr/X11R6/bin
[~/TNTDRIVERS/X-GLX-glibc-i386-dyn]>
7) Notice, this time there are no errors! Now change to
/usr/X11R6/lib
[~/TNTDRIVERS/X-GLX-glibc-i386-dyn]> cd /usr/lib
[/usr/lib]>
8) Verify that libMesaGL.so.3.0 exists here...
[/usr/lib]> ls -l libMesaGL.so.3.0
libMesaGL.so.3.0 etc...
[/usr/lib]>
9) Copy libGL.so.1.0 OVER the existing LibMesaGL.so.3.0 file
[/usr/lib]> cp
[/usr/lib]> cp /usr/X11R6/lib/libGL.so.1.0 libMesaGL.so.3.0
[/usr/lib]>
10) Run "ldconfig"
[/usr/lib]>ldconfig
[/usr/lib]>
11 ) Go "home"
[/usr/lib]> cd
[~/]>
12) Start X windows
[~/]> startx
13) In an Xterm Window go to /usr/X11R6/lib/xscreensaver
[~/]> cd /usr/X11R6/lib/xscreensaver
[/usr/X11R6/lib/xscreensaver/}>
14) Run the Moebius program
[/usr/X11R6/lib/xscreensaver/}> ./moebius
Notice that not only is everything faster, but the ants are walking
around the moebius strip itself...
Try running the other screensavers, especially;
./superquadrics
./atlantis
./bubble3d
./gears
./lament
etc... You'll see everything is now SUPER fast...
-JMS
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]