Author Topic: Random lagging  (Read 7598 times)

0 Members and 1 Guest are viewing this topic.

I can run the game perfectly (most of the time) with mediavps and all the settings up.  However, sometimes it's like my screen stops refereshing for anywhere from half a second to a second and a half, ie nothing on the screen changes, but once it wakes back up things have moved like you'd expect them to; it's not like it momentarily froze.  At first I figured it was something to do with crossing an arbitrary line and the game pausing to load another area or something, but it happens in dogfights when I'm not really covering that much space as well as when I'm going from one objective to another, so that doesn't seem to be it. 

I have GMA 950, which is crap, but like I said it ordinarily handles the game just fine, I also have 2GB of memory and a T2300, I've set the game process affinity to CPU 0, and that core is always loaded 100% when playing.  I know GMA 950 offloads some things to the CPU, like Texture and Lighting, but I think if this was a hardware problem it would be happening more frequently, right now it's mostly an intermittent problem.

Also, it does this when playing FS2 and FSPort, if that makes any difference.

 

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
It's probably the explosions. rename FreeSpace2/mediavps/adv_effects.vp to FreeSpace2/mediavps/adv_effects.vp.no an try again.
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

 
I'll try that, but if I remember right it is truly random.  It can happen in dogfights or when I'm flying from one objective to another, with nothing happening on the screen except I'm moving closer to some ship or another.

 
I tried that, and it still lagged, once while dogfighting, and another time where absolutely nothing was exploding or anything.

 

Offline castor

  • 29
    • http://www.ffighters.co.uk./home/
Does it happen if you use the retail VP files only?

 
Does it happen if you use the retail VP files only?

I dunno, I'd try that except I have no idea what you're talking about.  You mean the FS1 and FS2 campaigns only, not playing user-made campaigns?  It has done it with FS1, FS2, and Silent Threat, I haven't tried any other campaigns yet.

 

Offline castor

  • 29
    • http://www.ffighters.co.uk./home/
These are the original FS2 VP files that should reside in your FS2 install folder:
Quote
Root_fs2.vp
smarty_fs2.vp
sparky_fs2.vp
sparky_hi_fs2.vp
stu_fs2.vp
tango1_fs2.vp
tango2_fs2.vp
tango3_fs2.vp
warble_fs2.vp
VP files starting with mv_ or mp_ are from FSO/U-project, probably located in a folder named "mediavps".
By temporarily moving the mediavps folder (and any other .vp files except those I listed) out of the FS2 install folder you get FS2 with retail models, textures etc.

 
I removed all the new and improved files and played for a while, but it still lagged once.  This one time I was on a Mara's tail and a swarm of hornets flew by me and nailed him, so maybe it really is hardware related... but that still doesn't explain why it has also happened when absolutely nothing is exploding or doing anything but flying around  :confused:   

Also possibly of note, the core I assign the game to is always at 100% utilization, whether I'm playing with mediavps etc or "classic" FS2.  A Core Duo at 1.66Ghz isn't exactly a powerhouse, but it's no slouch either.  However, I know GMA 950 offloads stuff to the CPU, maybe this is the problem?

 

Offline nubbles526

  • 28
  • MODerate MODder
You know, this topic is just like bumping a similar topic... :bump:


But anyways, I know now more or less it's the beams that are slowing down the in game, and the 3d ship selection is slowing the loading time down. Disabling mv adeffects did help somehow.


THE APOCALYPSE PROJECT IS LOOKING FOR MEMBERS!!! SIGN UP AT:
The official forum | The official website

"Only a braindead idiot would take that post to mean that I'm planning on taking legal action on anyone and without cause or reason." -Derek Smart

Harsh words, Derek. Harsh words. And what do you get? No liscence, no FreeSpace, only some stfu from HLP. That is legal.

STEALTH AIN'T DEAD!!!!
A complete rewrite of the FS2 quotes!
HLP Cards! Click here to make one of yourself!

The original FreeSpace 3 wishlist!

Find the MOON challenge!

Your very fist dive....

 

Offline castor

  • 29
    • http://www.ffighters.co.uk./home/
AddAvenger, are youusing OpenGL or Direct3D?
If you're using OGL, try Direct3D instead (your vid card OGL driver may suck).
If you're using Direct3D, try OGL instead (Direct3D support in FSO isn't up to date, it may have bugs causing.. who knows what).

 

Offline Vidmaster

  • 211
  • Inventor of FS2 bullettime ;-)
did you disable vsync ?
Devoted member of the Official Karajorma Fan Club (Founded and Led by Mobius).

Does crazy Software Engineering for a living, until he finally musters the courage to start building games for real. Might never happen.

 
Vsync is not disabled (I understand that's only done when benchmarking since it causes tearing)

I'm using OpenGL, I suppose I'll try D3D, though I may just learn to put up with the weird lagging if that's the only fix

 
D3D didn't fix it, it still lagged, and in fact the game crashed before I could finish a single mission...

 

Offline castor

  • 29
    • http://www.ffighters.co.uk./home/
Uhh,baad. Some more suggestions.
- make sure something else isn't stealing your CPU
- try it without audio (add the -nosound option)
- put it on 640*480*16bit resolution
- try to run it on compatibility mode (silly yes, but its just for testing..)

 
Uhh,baad. Some more suggestions.
- make sure something else isn't stealing your CPU
- try it without audio (add the -nosound option)
- put it on 640*480*16bit resolution
- try to run it on compatibility mode (silly yes, but its just for testing..)

Compatibility mode for what exactly, 98?

Edit: FWIW, I've also noticed the 100% CPU usage while playing CnC Generals, though that's not nearly as surprising since it's a strategy game with lots of AI, as well as more graphics/physics intensive.

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Hmm, you don't have anything like Folding@Home or somesuch on your comp, do you?  If so, try disabling it and then playing.. just don't forget to re-enable it when ur done.

 
I do run F@H, but I turn it off when gaming, and the core I assign to the game is almost always at 100%, it occasionally dips down a few %.  It does this whether I'm playing a mission or looking at stuff in the tech room or intelligence room, the place where the mission simulator is.

Which compatibility mode do I try, 98 or 95?

 
Don't.

This is not FS2 related, this is related to another program on your computer, wich is seemingly randomly consuming your comp's resources, causing the stuttering.

Turn off your antivirus scanner, for example, and try again. (do NOT disable the firewall, unless you disconnected yourself from the internet!)

 
Don't.

This is not FS2 related, this is related to another program on your computer, wich is seemingly randomly consuming your comp's resources, causing the stuttering.

Turn off your antivirus scanner, for example, and try again. (do NOT disable the firewall, unless you disconnected yourself from the internet!)

Actually, I can definitively say this is not AV related, since I just uninstalled McAfee (subscription ran out anyway) and the behavior is exactly the same.

  

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Do you disable F@H, or Exit it?  If you only disable it, try exiting it and then re-launching after the game is done... (I have F@H).