• Blurring the line between real and virtual motorsports
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Drop of the frame rate

Discussion in 'Racer' started by Mr Whippy, Dec 26, 2009.

  1. Has anyone else noticed a drop of roughly 50% of the frame rate going from 086 > 087 or 088?

    The gauges seem to be intermittent too. There is stuff changing in the shader libraries too that is not being documented, and the racer.ini (ie, new full screen shaders defined but one doesn't even exist)

    I wish Ruud would help us out with a better quality changelog, because trying to find why certain things have changed (ie, the alpha func for reflection strength shader stopping working (the one Stereo posted on RSC)), and this recent frame rate drop, is impossible without it.

  2. Dave, I've been offline since August so have missed a few versions but haven't noticed any framerate issues. I just imported a WIP track (200k polies onscreen), managing 100fps, wouldn't have expected more in 084 or 085. Lighting has changed though, not sure whether it's just the shaders but looks like there's more calculations going on with the pixel lighting, maybe it's just putting more load on the GPU?

    Agreed, things have changed that aren't mentioned in the changelog, that's the first thing I look at and apart from adding the diffuse/ambient script commands nothing's mentioned there.

    Cheers, Bruce.
  3. I can confirm this.

    Benchmarked Barcelona with Supra, on 086 it served up 200 frames a second. With 088, it's only running at 120. But that's pre INI changes. I need to set up the new INI to my liking for a better comparison.

    after a bit of setting up the INI to my liking (mostly volume settings) I've managed to get less than 10 FPS, on a non-CG Carlswood.

    http://img705.imageshack.us/img705/7978/racersh itfps.jpg
    Something must be wrong.
  4. I also noticed a drop in FPS and I'm running an nVidia GTX285 which I normall use vsync on to limit the frame rate to about 75 FPS so that I don't get taring of the screen image.

    Also I have trouble with images on reace department also. needs looking into.

  5. We've got some pretty serious gaming hardware, and if we're noticing significant drops and actually noticeably slow rates, then for the average or below average gaming gear, it's going to be unplayable. The other point mentioned was intermittent dials. Yes, that's a problem I have too.
  6. Ruud

    RACER Developer

    I haven't changed anything regarding alphafunc, but if you have that shader for me I could take a look.
    In the main physics loop, I added a glFinish() call (which flushes the entire OpenGL pipeline). This made tearing in non-vsync mode much better, but perhaps it has reduced framerate too much (vsync is really always a lot nicer anyway, but still). I've uploaded a version without glFinish() at http://www.racer.nl/download/racer0881.zip (exe only) so you can try if that gets you your framerate back.

    Irritating about the views - any idea if there is a specific car/track combo that exhibits this?
  7. I'm honestly not seeing a performance hit and I'm still on older hardware (Duo 3.15, 9800GTX+). Just updated one of my own cars (thanks Ian), with that onscreen (50k polies + a few large textures) plus an unoptimized track (200k polies and lots of 1024x1024 tree textures with mipmap turned off - that takes away 25fps easily), I'm still seeing 80-100fps in 1600x1200 with Vsync on and 512x512 env map textures. The newer racer.exe that Ruud posted gives me an extra 10-15fps but nothing really noticeable.

    Strange thing is that I have a bug where AF and some other settings keep getting turned of in the nVidia control panel, if I turn it up I actually get better framerates in Racer and Far Cry 2 - is that a bug or what? :)

    Ian, what have you altered in racer.ini? If you turn up the multisampling that will bring your framerate down really quickly on any card - if I run 16x sampling at 1600x1200 I'm down to 30fps, even on Carlswood.

    Cheers, Bruce.
  8. This worked.
    Exact same car/track with completely the same settings, 088.1 was approximately 50% faster than 088 (82 fps, compared to 120 fps)
  9. Set to the default, of 4.

    Altered things in the INI were just things like turning the volume down, turning off that wrong-way indicator, skipping the lights sequence at the start, that kind of thing.
  10. Thanks Ruud for that, I get a 20 to 40 fps increase with vsync off on swiss stroll, carlswood and country tracks with my nVidia GTX 285.

  11. I'm getting 3 to 6 times more than that.

    Sorry about the weird JPG compression. Something went wrong.

  12. Think he means 20 to 40 fps more then before. -Increase-
  13. Is that really necessary? There is no real reason to not use vsync (with triple buffering of course) in racer. Older games might be framerate dependent (I think like quake 3 where a higher max fps also makes you able to jump further etc...), but in racer physics shouldn't really be depending on the framerate (that's just my point of view, though).
  14. with my old 9600gt card Swiss.jpg
  15. Alexander Knoll

    Alexander Knoll

    ...hmm...i get only ~72fps...but with a 110k poly car ;)

  16. ok, so i just tried how much FPS i would get, since my framerate dropped down to ~1-3 FPS, and testing @a PC with GTX 295, i get now up to 600 FPS with the .exe (when i got 1-3 FPS i was testing with the old 0.8.8 .exe)
    what helped me (and might help some others) is, to try the several Graphic-settings in the config window