LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-04-2002, 08:07 AM   #1
bxb32001
Member
 
Registered: May 2001
Location: Beijing
Distribution: Fedora, Knoppix
Posts: 204

Rep: Reputation: 30
TUX Racer.... Sooooooo sloooooow


Hi again everyone!

I'm trying out games that came with my Red Hat 7.3, for some reason Tux Racer performs like it was on a 386... I have a P3-800 with 384 MB RAM and a 32 MB Riva TNT video card. Why so slow?
 
Old 07-04-2002, 08:18 AM   #2
danrees
Member
 
Registered: Jul 2001
Posts: 114

Rep: Reputation: 15
You need to download the NVIDIA drivers rather than use the ones that come with RedHat because the default drivers do not offer 3D acceleration.

Head over to http://www.nvidia.com and you will find Linux drivers listed on the drivers page; you should then download the -glx and -kernel RPMs for Red Hat 7.3 and your kernel (e.g. athlon, i386 etc)
 
Old 07-04-2002, 09:03 AM   #3
bxb32001
Member
 
Registered: May 2001
Location: Beijing
Distribution: Fedora, Knoppix
Posts: 204

Original Poster
Rep: Reputation: 30
Thanks Danrees,

I'm on the nvidia site right now... would you know another download location? The nvidia site's links aren't coming through....
 
Old 07-04-2002, 09:26 AM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
The nvidia site is it for the linux drivers, make sure you download and read the readme file before you install, it will save you a lot of grief if you read it first, pay particular attention to the parts that deal with tnt cards.
 
Old 07-04-2002, 09:40 AM   #5
bxb32001
Member
 
Registered: May 2001
Location: Beijing
Distribution: Fedora, Knoppix
Posts: 204

Original Poster
Rep: Reputation: 30
That's the problem... I've downloaded the rpm, but for some reason the readme link just won't work....
 
Old 07-04-2002, 10:01 AM   #6
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Download the .tar.gz format files, the readme is in the glx package.
 
Old 07-05-2002, 11:03 AM   #7
bxb32001
Member
 
Registered: May 2001
Location: Beijing
Distribution: Fedora, Knoppix
Posts: 204

Original Poster
Rep: Reputation: 30
[Sorry I couldn't reply sooner, holidays have been good to me]

Thanks Aussie, and quite a big text file that was... Quite scared of tackling XFree86, as all average joes/newbies are.... I'm trying to summon up my courage.....
 
Old 07-05-2002, 12:33 PM   #8
danrees
Member
 
Registered: Jul 2001
Posts: 114

Rep: Reputation: 15
bxb32001 - there is no need to be scared, just use su to login as root and follow the instructions in the readme file. Before you start editing /etc/X11/XF86Config-4, you can make a backup by doing something like:

# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.old

If something goes wrong, you can just restore the backup config file.
 
Old 07-06-2002, 05:17 AM   #9
bxb32001
Member
 
Registered: May 2001
Location: Beijing
Distribution: Fedora, Knoppix
Posts: 204

Original Poster
Rep: Reputation: 30
Thanks Danrees,

Tried it... first installed the NVIDIA_kernel.... it said it installed successfully but the NVIDIA_kernel module was not found - what does this mean?

Anyway I went through with it and when the time tame came to edit XF86Config-4 I suddenly realized I did not know how.

I took a deep breath and typed pico -w XF86Config-4

exited and saved....

Bottom line is, it wasn't successful (X wouldn't load) and I had to uninstall the rpms and run setup to get X working again....

A litlle guidance please?
 
Old 07-06-2002, 08:19 AM   #10
danrees
Member
 
Registered: Jul 2001
Posts: 114

Rep: Reputation: 15
Have you got the right RPM for your kernel? Unfortunately if you upgrade your Red Hat kernel via up2date / Red Hat network then the Nvidia drivers won't work, in which case you should probably follow the instructions for using the source RPM.

Quote:
Instructions:

To build a custom NVIDIA_kernel rpm for your system, pass rpm the
'--rebuild' flag:

$ rpm --rebuild NVIDIA_kernel.src.rpm

Watch for the line that looks something like (the path may be different):

Wrote: /usr/src/redhat/RPMS/i386/NVIDIA_kernel.i386.rpm

and use that as input to rpm to install:

$ rpm -ivh /usr/src/redhat/RPMS/i386/NVIDIA_kernel.i386.rpm

or upgrade:

$ rpm -Uvh /usr/src/redhat/RPMS/i386/NVIDIA_kernel.i386.rpm

To install the NVIDIA_GLX package, follow the instructions above for
either installing or upgrading NVIDIA_GLX from rpm.
It is crucial that if you are using a Pentium II or higher, you get the "i686" one. If you are using an AMD Athlon, you must get the "athlon" kernel RPM.

Last edited by danrees; 07-06-2002 at 08:21 AM.
 
Old 07-07-2002, 10:18 PM   #11
bxb32001
Member
 
Registered: May 2001
Location: Beijing
Distribution: Fedora, Knoppix
Posts: 204

Original Poster
Rep: Reputation: 30
I tried... I really tried.

I tried the RPMs, quite sure I had the right ones.... displayed the error: coundn't find the module...

I tried the source and I just get command line options... red the FAQ and it said I don't have the rpm build packages installed... grrr.

Found a great post at the nvidia forum that you can read

here


... and I tried the tar files but still won't work, says
You appear to be compiling the NVdriver kernel module with a compiler different from the one that was used to compile the running kernel. This may be perfectly fine, but there are cases where this can lead to unexpected behaviour and system crashes.... blah blah

... read the FAQ and it says something about compiling the thing with the same version used for the kernel ....


....Ooooh my aching head.

- Bxb

Last edited by bxb32001; 07-07-2002 at 10:21 PM.
 
Old 07-07-2002, 10:25 PM   #12
bxb32001
Member
 
Registered: May 2001
Location: Beijing
Distribution: Fedora, Knoppix
Posts: 204

Original Poster
Rep: Reputation: 30
.... Maybe I don't have the kernel source installed. Maybe I don't have the damn build packages installed.... maybe my installation got screwed up.

I'll try again, but I think I need some aspirin and a nap...

- bxb
 
Old 07-08-2002, 12:52 AM   #13
bxb32001
Member
 
Registered: May 2001
Location: Beijing
Distribution: Fedora, Knoppix
Posts: 204

Original Poster
Rep: Reputation: 30
Hmmm,

Can't you just install the source files directly? Why do you have to --rebuild?
 
Old 07-09-2002, 11:54 PM   #14
bxb32001
Member
 
Registered: May 2001
Location: Beijing
Distribution: Fedora, Knoppix
Posts: 204

Original Poster
Rep: Reputation: 30
YESSSSSS!!!

I've done it! Thanks everyone (Danrees, Aussie)... I installed the kernel development and RPM development packages. Then I rebuilt the source RPMs... didn't know how to vim so I picoed my XF86Config-4...

And now I see Tux fly (got too excited, forgot about the fish). Seriusly, Tux needs some for of protection with all the landings I've put him through

 
Old 07-10-2002, 03:47 AM   #15
danrees
Member
 
Registered: Jul 2001
Posts: 114

Rep: Reputation: 15
What's your best time?
 
  


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
tux racer bibilit Linux - Games 2 12-06-2003 02:33 PM
Tux racer doralsoral Linux - Software 5 10-29-2003 12:06 AM
tux racer Robert0380 Linux - Software 1 05-14-2003 03:15 AM
Tux Racer jt1020 Linux - General 2 05-12-2003 11:03 AM
Tux Racer iron_maiden Linux - Software 7 04-26-2003 07:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:36 AM.

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