Unix Technical Forum

tuxracer

This is a discussion on tuxracer within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hello again folks, I have 3D acceleration in my gentoo partition, and my glxgears run consistently over 686 FPS; ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 07:05 AM
Honorato Echavez
 
Posts: n/a
Default tuxracer

Hello again folks,

I have 3D acceleration in my gentoo partition, and my glxgears run
consistently over 686 FPS; Funny how, gentoo tuxracer compiled on my
machine is slow as molasses, and Quake 3 Arena is very fast, Flightgear
runs fine, glheretic compiles fine and is also fast. Heretic runs in
opengl mode fine, and is also fast. Unreal Tournament Game of the Year
run in opengl mode very fast.

Any ideas why gentoo tuxracer is so slow on my machine, and all other
opengl games are fast. Used to be tuxracer was very fast with tux
flapping its wings; then one day it became slow and no longer flapped any
wings. I even removed ~/.tuxracer to start the options from default
scratch, and gentoo tuxracer still was slow. Anyone have any ideas why
tuxracer is so slow.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 07:05 AM
Andreas Klauer
 
Posts: n/a
Default Re: tuxracer

Honorato Echavez wrote:

> I have 3D acceleration in my gentoo partition, and my glxgears run
> consistently over 686 FPS;


That FPS says nothing if you don't say a word about the hardware you are
using. I got up to 3500 FPS in glxgears, using Athlon XP 2000+ and an
Nvidia Geforce 4 Ti 4200 card.

> Funny how, gentoo tuxracer compiled on my machine is slow as molasses,
> and Quake 3 Arena is very fast. [...] Unreal Tournament Game of the Year
> run in opengl mode very fast.


Given that you can play Q3 and UT at very fast speeds, your machine can't
be that old, can it? 686FPS in glxgears sounds a little too slow then.
Something wrong with your 3D configuration?

--
* Andreas Klauer | ~'' L@@k at Nerd Boy!
* Menaures (a) UNItopia | >> .\\. http://www.Nerd-Boy.net
telnet://UNItopia.de | __ |\ __ dd ______________________
http://www.UNItopia.de - deutschsprachiges Online-Textadventure MUD
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 07:05 AM
Andy Fraser
 
Posts: n/a
Default Re: tuxracer

In alt.os.linux.gentoo, Andreas Klauer uttered these immortal words:

> Given that you can play Q3 and UT at very fast speeds, your machine can't
> be that old, can it?


Not necessarily. I get very good performance from Q3A and UT on an old
Athlon 900 with GeForce 2 card. UT is more than playable on a P3 700MHz
with an old TNT2 card.

--
Andy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 07:05 AM
Andreas Klauer
 
Posts: n/a
Default Re: tuxracer

Andy Fraser wrote:

>> Given that you can play Q3 and UT at very fast speeds, your machine can't
>> be that old, can it?

>
> Not necessarily. I get very good performance from Q3A and UT on an old
> Athlon 900 with GeForce 2 card. UT is more than playable on a P3 700MHz
> with an old TNT2 card.


Ah, so, nowadays TNT2 and P3 is already that old, huh? ;-)
You only get 686FPS in glxgears on that machine?

--
* Andreas Klauer | ~'' L@@k at Nerd Boy!
* Menaures (a) UNItopia | >> .\\. http://www.Nerd-Boy.net
telnet://UNItopia.de | __ |\ __ dd ______________________
http://www.UNItopia.de - deutschsprachiges Online-Textadventure MUD
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 07:05 AM
Andy Fraser
 
Posts: n/a
Default Re: tuxracer

In alt.os.linux.gentoo, Andreas Klauer uttered these immortal words:

>>> Given that you can play Q3 and UT at very fast speeds, your machine
>>> can't be that old, can it?

>>
>> Not necessarily. I get very good performance from Q3A and UT on an old
>> Athlon 900 with GeForce 2 card. UT is more than playable on a P3 700MHz
>> with an old TNT2 card.

>
> Ah, so, nowadays TNT2 and P3 is already that old, huh? ;-)


It is to me given the supercomputer-like boxes my friends have. I still
don't own a computer above the 1GHz level and they way the kernel and KDE
seem to speed up with each new release I never will. :-)

> You only get 686FPS in glxgears on that machine?


I have no idea. I haven't checked. I might do that later out of
curiosity. :-)

--
Andy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-21-2008, 07:05 AM
Honorato Echavez
 
Posts: n/a
Default Re: tuxracer

On Sat, 24 Apr 2004 11:57:40 +0200, Andreas Klauer wrote:

> Honorato Echavez wrote:
>
>> I have 3D acceleration in my gentoo partition, and my glxgears run
>> consistently over 686 FPS;

>
> That FPS says nothing if you don't say a word about the hardware you are
> using. I got up to 3500 FPS in glxgears, using Athlon XP 2000+ and an
> Nvidia Geforce 4 Ti 4200 card.
>
>> Funny how, gentoo tuxracer compiled on my machine is slow as molasses,
>> and Quake 3 Arena is very fast. [...] Unreal Tournament Game of the
>> Year run in opengl mode very fast.

>
> Given that you can play Q3 and UT at very fast speeds, your machine
> can't be that old, can it? 686FPS in glxgears sounds a little too slow
> then. Something wrong with your 3D configuration?


Tuxracer us fast again with flapping wings. I have a Dell Dimension
7500Swith an Intel 82845 onboard video controller and am using
2.4.25-gentoo. I downloaded the Intel 82845 driver for linux and compiled
agpgart.o and i830.o modules. Replaced the old agpgart.o and
/lib/modules/2.4.25-gentoo/kernel/drivers/char/agp/ and i830 in
/lib/modules/2.4.25-gentoo/kernel/drivers/char/drm/ .

Then placed "modprobe agpgart" and "modprobe i830" in
/etc/conf.d/local.start.

Upon rebooting, then after login, $ startx ;

When I played tuxracer, tux was very fast with flapping wings.

Also when running $ glxgears

8400 frames in 5.0 seconds = 1680.000 FPS
8412 frames in 5.0 seconds = 1682.400 FPS
8400 frames in 5.0 seconds = 1680.000 FPS
8398 frames in 5.0 seconds = 1679.600 FPS
8324 frames in 5.0 seconds = 1664.800 FPS

I guess Quake3 Arena was fine with the XFree86 and kernel drivers, but
tuxracer works better with the Intel 82845 3D drivers from Intel for
Linux.

Many thanks for you suggestions; got me thinking.

Best regards,

Honorato Echavez
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-21-2008, 07:05 AM
Honorato Echavez
 
Posts: n/a
Default Re: tuxracer

On Sat, 24 Apr 2004 11:57:40 +0200, Andreas Klauer wrote:

> Honorato Echavez wrote:
>
>> I have 3D acceleration in my gentoo partition, and my glxgears run
>> consistently over 686 FPS;

>
> That FPS says nothing if you don't say a word about the hardware you are
> using. I got up to 3500 FPS in glxgears, using Athlon XP 2000+ and an
> Nvidia Geforce 4 Ti 4200 card.
>
>> Funny how, gentoo tuxracer compiled on my machine is slow as molasses,
>> and Quake 3 Arena is very fast. [...] Unreal Tournament Game of the Year
>> run in opengl mode very fast.

>
> Given that you can play Q3 and UT at very fast speeds, your machine can't
> be that old, can it? 686FPS in glxgears sounds a little too slow then.
> Something wrong with your 3D configuration?


I have a Dell Dimension 4500S with an Intel 82845 Onboard video
controller using the 2.4.25-gentoo kernel. I just downloaded, compiled
and installed the Intel 82845 3D drivers (agpgart.o and i830.o) from Intel
for Linux, then placed "modprobe agpgart" and "modprobe i830" in
/etc/conf.d/local.start.

Upon reboot, login, $ startx

Tuxracer is now very fast with tux flapping his wings.

Running

$ glxgears
3299 frames in 5.0 seconds = 659.800 FPS
3827 frames in 5.0 seconds = 765.400 FPS
3711 frames in 5.0 seconds = 742.200 FPS
4299 frames in 5.0 seconds = 859.800 FPS
4578 frames in 5.0 seconds = 915.600 FPS
4572 frames in 5.0 seconds = 914.400 FPS
4570 frames in 5.0 seconds = 914.000 FPS
4570 frames in 5.0 seconds = 914.000 FPS
4574 frames in 5.0 seconds = 914.800 FPS
4573 frames in 5.0 seconds = 914.600 FPS
4568 frames in 5.0 seconds = 913.600 FPS

I guess Quake3 Arena plays fine with the Xfree86 and kernel drivers;
whereas, tuxracer really likes the Intel drivers.

Many thanks for your suggestions. Got me thinking.

Best regards,

Honorato Echavez
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-21-2008, 07:05 AM
Andreas Klauer
 
Posts: n/a
Default Re: tuxracer

Honorato Echavez wrote:

> On Sat, 24 Apr 2004 11:57:40 +0200, Andreas Klauer wrote:
>> Given that you can play Q3 and UT at very fast speeds, your machine can't
>> be that old, can it? 686FPS in glxgears sounds a little too slow then.
>> Something wrong with your 3D configuration?

>
> Tuxracer is now very fast with tux flapping his wings.
>
> Running
>
> $ glxgears
> 3299 frames in 5.0 seconds = 659.800 FPS
> 3827 frames in 5.0 seconds = 765.400 FPS
> 3711 frames in 5.0 seconds = 742.200 FPS
> 4299 frames in 5.0 seconds = 859.800 FPS
> 4578 frames in 5.0 seconds = 915.600 FPS
> 4572 frames in 5.0 seconds = 914.400 FPS
> 4570 frames in 5.0 seconds = 914.000 FPS
> 4570 frames in 5.0 seconds = 914.000 FPS
> 4574 frames in 5.0 seconds = 914.800 FPS
> 4573 frames in 5.0 seconds = 914.600 FPS
> 4568 frames in 5.0 seconds = 913.600 FPS

[...]
> 8400 frames in 5.0 seconds = 1680.000 FPS
> 8412 frames in 5.0 seconds = 1682.400 FPS
> 8400 frames in 5.0 seconds = 1680.000 FPS
> 8398 frames in 5.0 seconds = 1679.600 FPS
> 8324 frames in 5.0 seconds = 1664.800 FPS


Now that's more like it. :-)

> Many thanks for your suggestions.**Got*me*thinking.


I'm glad that it helped, though you did solve the problem all by yourself.
:-) I just checked my "old" machine, a PII-233 with 3dfx Banshee card.
glxgear runs at 60FPS <_< This is *without* direct rendering however,
since the system becomes extremely unstable if I use it. It messes up
the console, too. I guess 3dfx is too outdated for stable support.

I don't care about gaming, but I wish movie playback could be done faster...
at the moment it eats too many cycles for the displaying process alone.
Oh well. :^) (Yes, I'm running Gentoo on this machine too. Update process
takes a week >_>)

Andreas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-21-2008, 07:06 AM
Andreas Klauer
 
Posts: n/a
Default Re: tuxracer

Andreas Klauer wrote:

> That FPS says nothing if you don't say a word about the hardware you are
> using. I got up to 3500 FPS in glxgears, using Athlon XP 2000+ and an
> Nvidia Geforce 4 Ti 4200 card.


Just FYI: This value was a _very_ bad one.
I found yet another error in my configuration :-)
glxgears now runs at 5100 FPS. Wheee!

--
* Andreas Klauer | ~'' L@@k at Nerd Boy!
* Menaures (a) UNItopia | >> .\\. http://www.Nerd-Boy.net
telnet://UNItopia.de | __ |\ __ dd ______________________
http://www.UNItopia.de - deutschsprachiges Online-Textadventure MUD
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-21-2008, 07:06 AM
Robert Krig
 
Posts: n/a
Default Re: tuxracer

> the console, too. I guess 3dfx is too outdated for stable support.

You might wanna check the forums about 3dfx. I believe there were some
tips regarding 16bit requirement and config options regarding
performance and stability.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:09 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com