Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: MrBig101 on October 01, 2005, 11:06:04 am

Title: Inconsistent FPS....
Post by: MrBig101 on October 01, 2005, 11:06:04 am
Computer specs:
Amd Athlon XP 2200+ 1.8ghz
ATI Radeon 9550 256mb
1 gig of ram
A holy hand grenade (:D)

Using the newest release of FSO (3.6.7), and mv_core, textures, models, effects, and music.  Has Sync.vp in there as well...

have video set to medium, and have spectacular, glowmaps, jpgtga, mipmapping, disable motion debris, stops fog intersect hull, disable vertical sync, and preload mission game sounds checked
Now, on the first level (A nebula level), I have great FPS in the beginning (120fps), but when the hercs warp in, once I get close, it's kinda choppy.  Well what i'm trying to say is, the FPS jumps up and down almost constantly, kinda like this.

120fps
120
30
70
20
80
80
30

See what I mean?  It even happens when everything is calm, no action is taking place.  Now, what could be causing that problem???
Title: Inconsistent FPS....
Post by: MrBig101 on October 01, 2005, 11:52:42 am
Well, I did figure out that the FPS drop is connected to the lightning strikes...
Title: Inconsistent FPS....
Post by: taylor on October 01, 2005, 04:21:23 pm
Are you using D3D or OGL?  There is a known slowdown with D3D in nebula missions but we haven't figured out what's causing it yet.  If you are using OGL then I'll take a look and see if there is something wrong with the code.
Title: Inconsistent FPS....
Post by: MrBig101 on October 01, 2005, 05:29:31 pm
I was using D3D.  I'll try using OGL and see if that works out.

EDIT:  OGL fixed the problem.  Although it did mess my monitor a bit (sent the screen to the left aways), it did fix the problem.  Thanks
Title: Inconsistent FPS....
Post by: WMCoolmon on October 01, 2005, 08:57:10 pm
Quote
Originally posted by MrBig101
I was using D3D.  I'll try using OGL and see if that works out.

EDIT:  OGL fixed the problem.  Although it did mess my monitor a bit (sent the screen to the left aways), it did fix the problem.  Thanks


The refresh rate probably got changed, as I understand it Windows XP OGL drivers suxx0r.
Title: Inconsistent FPS....
Post by: Sticks on October 01, 2005, 08:57:57 pm
The screen probably shifted because OGL used a different refresh rate than what you normally use. No biggie. Just adjust it, and play on. :)
Title: Inconsistent FPS....
Post by: taylor on October 01, 2005, 09:19:17 pm
You can change the refresh rate that OGL uses with the "OGL_RefreshRate" registry option.  It's a DWORD value and you would basically set it to whatever your desktop refresh rate is since that's what D3D will use.  Setting "OGL_RefreshRate" to either 0 or removing it all together will use the system default.