Low fps

For all the help you need with Armagetron!
Post Reply
User avatar
Phytotron
Formerly Oscilloscope
Posts: 5042
Joined: Thu Jun 09, 2005 10:06 pm
Location: A site or situation, especially considered in regard to its surroundings.
Contact:

Low fps

Post by Phytotron »

AA 0.2.7.1 -- OS 10.2.8 -- 600 MHz G3 -- 256 MB -- ATI RAGE 128 Ultra

I'm just curious as to why I get such a low framerate playing this game. The highest I'll hit playing locally, with no AI, is 50 fps. And that's spectacular compared to playing online, where I'm lucky to hit the mid-20's. If the number of players goes over, say, six total, then I usually drop to the 4-9 fps range.

And this is with every detail setting and whatnot turned all the way down or even off (with exception to the defaults which I leave as is). No other apps running. First thing I run when I startup the computer, even.

This isn't meant as a slight to the developers, but this seems absurd. I have a few games on here that are more graphically advanced and they're a lot smoother. Armagetron seems to be fairly simple graphically. I would think my computer could handle it. And I know other people with comparable machines get higher framerates. So...huh?

I'm just curious why this is and what, if anything, I can do to make it better (without upgrading, heh). I don't mean to come off like I'm nagging/complaining/whatever, just confuzzled.
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

Turn off sparks, if you haven't already. The latest version from cvs seem to give me a 20-30+ fps boost, so the next version will be really good for the low fps'ers. Other than that, I've found that any resoloution under 640 by 480 really doesn't give any fps boost.
User avatar
Phytotron
Formerly Oscilloscope
Posts: 5042
Joined: Thu Jun 09, 2005 10:06 pm
Location: A site or situation, especially considered in regard to its surroundings.
Contact:

Post by Phytotron »

Yep, they're off. Just in case, I clarify something: by defaults I meant those settings that after the particular setting in the list, after the colon, where it says "default." The little fade-in instructions say it's best to keep those as-is, so I do.
User avatar
Lucifer
Project Developer
Posts: 8765
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

Tweaking is definitely called for. I figure your computer should outperform the one I used to play on, which is 800mhz Duron, TNT2 32MB video card, 256MB DRAM, 60-90 fps

Turn off floor texturing if you haven't already. Turn off mirroring. :) resolution set to 640x480. I play with sparks on, I find the floor is a big enough hit that I can have sparks or floor, but not both (the computer I use now is fast so I have lots of effects on now).

Ok, set the walls to inifnity and see. ON my system (Linux blahblah) that's worth 5 fps right there. Turn off the sky (another 5fps), and so forth.

What you wind up with is still a good-looking grid, but all the frills (for me the low wall and sky interfere with gameplay) are off.
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

Lucifer wrote:Tweaking is definitely called for. I figure your computer should outperform the one I used to play on, which is 800mhz Duron, TNT2 32MB video card, 256MB DRAM, 60-90 fps
no way, that ibook graphics card is terrible.
User avatar
Lucifer
Project Developer
Posts: 8765
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

nemostultae wrote:
Lucifer wrote:Tweaking is definitely called for. I figure your computer should outperform the one I used to play on, which is 800mhz Duron, TNT2 32MB video card, 256MB DRAM, 60-90 fps
no way, that ibook graphics card is terrible.
Worse than a TNT2?
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
Z-Man
God & Project Admin
Posts: 11770
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

I've heard several times that the Mac version performs poorly compared to the PC version. Could the Mac folks check whether, perhaps, we distribute *debug* builds? They appear to be pretty fat downloads as well (10Mb compared to less than 2Mb for the Windows build with the same content).
User avatar
Jonathan
A Brave Victim
Posts: 3391
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Post by Jonathan »

I'm trying to download the snapshot but the download is quite slow. I suspect at least debug symbols.
ˌɑrməˈɡɛˌtrɑn
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6715
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

Yes, it seems that many people have had this issue with the high fps locally and low fps over the network...
Image
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

Jonathan wrote:I'm trying to download the snapshot but the download is quite slow. I suspect at least debug symbols.
Yes, debug symbols, no optimizations. But then again this is not an offical releases. :\

The mirror always seems to choose luke's site, which is slow. Download it from generalconsumption.org/armagetron/builds
User avatar
iceman
Reverse Adjust Outside Corner Grinder
Posts: 2448
Joined: Fri Jan 09, 2004 9:54 am
Location: Yorkshire, England. Quote: Its the fumes, they make one want to play
Contact:

Post by iceman »

does the network and graphics rendering code run in parallel or does the rendering only happen after waiting for network data ?

parallel is the way to go so that fps dont suffer
Image He who laughs last, probably has a back-up
Image
Image
sorry about the large animated gif
User avatar
Z-Man
God & Project Admin
Posts: 11770
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

All official builds have the performance problem that the network syncing code is doing way too much unnecessary work; it mostly affects servers, I think, but clients suffer from it, too. The next build won't have that problem.

Iceman: If you mean that the App should not wait for network data, you're right (and of course that's not done during a round, only before the round starts to get everyone in sync). If you have only one processor, the order of handling the network data (and user input) and rendering is quite irrelevant. Doing things in parallel even costs some performance because you have to do all kinds of syncing or deal with extremely interesting bugs. So no, rendering and networking are not currently handled in parallel.

However, when I get to it, there will be the rendering switch that will stop the CPU to wait for the GPU to finish every frame, on systems with a modern GPU this will gain some FPS by the improved CPU/GPU parallelism at the cost of a loss of synchronization between keyboard input and display (we're talking about something in the range of 1/200s here).
User avatar
Jonathan
A Brave Victim
Posts: 3391
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Post by Jonathan »

Note about the no glFinish delay: The better framerate will actually decrease the delay. After all the delay is probably about the same but with much better framerates.
ˌɑrməˈɡɛˌtrɑn
User avatar
Z-Man
God & Project Admin
Posts: 11770
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Jonathan: this may be true for you, but I've seen HUGE delays build up because the GPU was keeping 1000 (no exaggeration!) simple frames worth of rendering in its buffer and the application did not wait for them to flush, so there was a delay of about ten seconds between input and application reaction. Ok, this was a TNT2 back then using Direct3D and not OpenGL, but the principle is the same. If sensibly implemented (keep no two glSwap() commands in the buffer), this does not happen, but I don't keep my hopes too high for it to work for me.
User avatar
Jonathan
A Brave Victim
Posts: 3391
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Post by Jonathan »

I meant in case it actually works. :)
ˌɑrməˈɡɛˌtrɑn
Post Reply