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 - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-24-2002, 07:27 AM   #1
biophysics
Member
 
Registered: Jan 2002
Location: Germany
Distribution: Kubuntu
Posts: 444

Rep: Reputation: 30
tux racer


Hi
In continuation of my question on why tux racer is slow

I want to know how do I improve the performance of Hardware accelerators, where to configure

thanks
 
Old 02-24-2002, 10:32 AM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Where is your question?
Quote:
In continuation of my question on why tux racer is slow
tell us more about your hardware, what graphics card do you use, what version of XFree86?
 
Old 05-19-2003, 08:30 PM   #3
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Sorry for bringing up an old post, Was looking for some sort of perfomance standard as far as frames per second while playing tux racer or any other games that require 3d acceleration.................After 8 months of frustration I finally got GLX working properly......ye haw......I got tux demo for now.
fired up glxgears and then played a race or two and it seems to average 2300 fps or so. this box is an P3 850 chip, 32 meg Anihilator2 video card, 5.1 SB live. Everything works and sounds GREAT. Cool game, gonna buy full version next week!! Just curious what others out there have to say.
 
Old 05-19-2003, 11:43 PM   #4
crusheroz
LQ Newbie
 
Registered: May 2003
Posts: 2

Rep: Reputation: 0
Unhappy same question, tux racer

I have had problems with Tux Racer being slow in both MDK 9.1 and RedHat 9.0 and previous versions, is there a way to make this thing go??? I had it going ONE TIME, really nice and fast, then after that I dont know what I am doing on loading the OS to make it slow.. but let me tell ya,, its SLOOOWWWW..
Anyone got any ideas?
 
Old 05-20-2003, 12:07 AM   #5
jt1020
Member
 
Registered: Apr 2003
Location: root@localhost
Distribution: Fedora Core 5, Ubuntu, Debian
Posts: 537

Rep: Reputation: 30
what is your video card?? i suggest that you download drivers for linux and edit your XF8Config...
 
Old 05-20-2003, 03:29 AM   #6
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Well I did one thing to increase system wide performance tenfold..........
Code:
hdparm -d 1 -c 1 -k 1 /dev/hda and same for /dev/hdb
.this turns on DMA and increases IO support to 32-bit.
these are recent new drives so they support this. The -k flag keeps these setting intact during uptime.
Code:
/dev/hda buffered disk reads 64 MB in 2.32 seconds = 28.70 MB/sec
Quite an increase from what it was!

Last edited by 320mb; 05-20-2003 at 03:31 AM.
 
Old 05-20-2003, 10:29 AM   #7
jt1020
Member
 
Registered: Apr 2003
Location: root@localhost
Distribution: Fedora Core 5, Ubuntu, Debian
Posts: 537

Rep: Reputation: 30
Quote:
Originally posted by 320mb
Well I did one thing to increase system wide performance tenfold..........
Code:
hdparm -d 1 -c 1 -k 1 /dev/hda and same for /dev/hdb
.this turns on DMA and increases IO support to 32-bit.
these are recent new drives so they support this. The -k flag keeps these setting intact during uptime.
Code:
/dev/hda buffered disk reads 64 MB in 2.32 seconds = 28.70 MB/sec
Quite an increase from what it was!
that could work too...
but by installing the right drivers you would see significant increase in speed... dont forget to edit your XF86Config...

I actually had the same problem before with my games like Tux Racer and Chromium...

If you search the forums here you can actually see alot of threads similar to this one....
 
Old 05-20-2003, 12:28 PM   #8
slightcrazed
Member
 
Registered: May 2003
Location: Lisbon Falls, Maine
Distribution: RH 8.0, 9.0, FC2 - 4, Slack 9.0 - 10.2, Knoppix 3.4 - 4.0, LFS,
Posts: 789

Rep: Reputation: 30
If you're using an Nvidia card, then pull the latest drivers off of their site. They have an automatic driver install script (pretty slick).... after that its just a matter of editing your Xconfig file and all should be good.

slight
 
Old 05-20-2003, 12:31 PM   #9
PrimaryDataLoop
Member
 
Registered: May 2003
Distribution: RedHat.
Posts: 41

Rep: Reputation: 15
No No No, you're all wrong. You need your 3d card drivers installed, not just the ones that come with your distro, tux racer uses the GLX renderer, NVIDIA's driver set has it, I was running the game fine on those (racing that damn penquin down the hill was a bitch) and recently switched to a radeon card, ive yet to install the drivers for it. regardless just get the newest drivers for your video card and install those and you should be set.
 
Old 05-20-2003, 12:37 PM   #10
jt1020
Member
 
Registered: Apr 2003
Location: root@localhost
Distribution: Fedora Core 5, Ubuntu, Debian
Posts: 537

Rep: Reputation: 30
you have to install linux drivers for your video card.... after you install do this:

if your using Nvidia just do this:

gedit /etc/X11/Xf86Config

find the relevant Device Section and Replace the line

Driver "nv" or "vesa"

with

Driver "Nvidia"

In the Module Section, make sure you have this:

Load "glx"

you should also remove the following lines if they exist:

Load "dri"
Load "GLcore"

this is actually in the install.doc but I feel like typing...

Last edited by jt1020; 05-20-2003 at 12:50 PM.
 
Old 05-20-2003, 12:53 PM   #11
jt1020
Member
 
Registered: Apr 2003
Location: root@localhost
Distribution: Fedora Core 5, Ubuntu, Debian
Posts: 537

Rep: Reputation: 30
Quote:
Originally posted by PrimaryDataLoop
No No No, you're all wrong. You need your 3d card drivers installed, not just the ones that come with your distro, tux racer uses the GLX renderer, NVIDIA's driver set has it, I was running the game fine on those (racing that damn penquin down the hill was a bitch) and recently switched to a radeon card, ive yet to install the drivers for it. regardless just get the newest drivers for your video card and install those and you should be set.
Thats exactly what I suggested if you read my above post.....
 
Old 05-20-2003, 05:28 PM   #12
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Rep: Reputation: 30
I believe that jt1020 is correct. If you first change the card's drivers to the generic one included with Linux, I think it sets a few items in 'XF86Config'. Later when you install the real NVIDIA drivers, you can alter the place in XF86Config where it specifies "nv" (as posted above).

I say "I believe" because I am not 100% sure, but I think you get better results doing it this way.

This is how I do it with my NVIDIA card, so I don't know what the outcome will be if you install Linux using a vesa driver, and then going straight to the vendor's driver.

JC
 
  


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 On
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 jt1020 Linux - General 2 05-12-2003 11:03 AM
Tux Racer iron_maiden Linux - Software 7 04-26-2003 07:01 PM
Tux Racer! DavidPhillips Linux - General 4 01-12-2002 10:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:13 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