Vertical sync and frame skipping....

mtm2 and other sensible chat
Post Reply
JoeB

Vertical sync and frame skipping....

Post by JoeB »

Hi Guys,
Had a annoying problem in MTM2 that I just couldn't let rest. When in single player mode, against 5 or more opponents, the race starts with a lot of movement of all the trucks, I would experience severe frame skipping. It dosen't last long, 1 or 2 seconds, but very annoying! I tried many suggestions that I found here on the board and on the net. I fooled with many of the graphic settings, etc., but none "solved" the problem.......until yesterday. There was a post on the board last year that suggested to disable vertical sync. in the video card settings. WHOA, huge difference. Frame rates up around 140 in many of the views and no more Frame skips when there are many trucks on the screen. One thing though, since I have done this, the AI seems to have gotten, well, stupid. The trucks don't seem to be aggressive as they used to be, they miss check points, crash into each other much more often, etc. This is with all stock trucks and tracks. I read that the windows system settings aren't supposed to affect the game, but that dosen't seem to be the case. Anyone else experience this?
JoeB.
User avatar
Rep Fan
You Gonna Eat That?
Posts: 923
Joined: Tue Mar 27, 2001 2:01 pm
Location: Nebraska
Contact:

Post by Rep Fan »

What you are talking about my friend, is my worst enemy.

LAG!

I hate it, lol.

Can you explain how you changed your settings? Like in detail? I wanna try this on mine. I'd love to solve this problem, if this works, I'll be a very happy man.

------------------
Replica Fan's Garage
User avatar
Phineus
Glow Ball
Posts: 24
Joined: Tue Feb 02, 1999 7:00 pm

Post by Phineus »

RF, you should have something like this in your display properties.

<center>
<IMG SRC="http://rhinoseros.com/~forum/pics/verticalsync.gif" border=0>
</center>


JoeB, instead of guessing what your initial B stands for, lol, I'll give you a link to the only topic I know that talks about refresh rates and computer truck behaviour.
http://rhinoseros.com/~forum/pages/Forum13/HTML/000502.html

Sorry, there isn't more.
User avatar
ZOtm_BigDOGGe
Member
Posts: 881
Joined: Wed Nov 06, 2002 2:01 pm
Location: Silicon Valley, California. USA
Contact:

Post by ZOtm_BigDOGGe »

My voodoo and My Maxi-game card software doesn't offer the option...it may be unique to your 3D card and others by the same maker...



------------------
- BigDOGGe's Boneyard ...The Best Custom Trucks in MTM2 -
User avatar
Fila
Member
Posts: 1475
Joined: Mon Jul 02, 2001 2:01 pm
Location: Lost in Translation
Contact:

Post by Fila »

All GeForces have this with starting with the 40.XX detonators (even earlier...).

------------------
"In my restless dreams, I see that town, Silent Hill..." - Mary, Silent Hill 2
User avatar
Rep Fan
You Gonna Eat That?
Posts: 923
Joined: Tue Mar 27, 2001 2:01 pm
Location: Nebraska
Contact:

Post by Rep Fan »

Mine doesn't have that, and I'm running an Nvidia card too. GeForce2 MX/MX 400 to be exact.

Oh well.

------------------
Replica Fan's Garage
User avatar
Fila
Member
Posts: 1475
Joined: Mon Jul 02, 2001 2:01 pm
Location: Lost in Translation
Contact:

Post by Fila »

At least starting with the Gf 3 Ti 200. I think it needs a programmable GPU... but don't take my word on that.

------------------
"In my restless dreams, I see that town, Silent Hill..." - Mary, Silent Hill 2
User avatar
Drive2Survive
Member
Posts: 495
Joined: Fri May 04, 2001 2:01 pm
Location: Bathurst, NSW, Australia
Contact:

Post by Drive2Survive »

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by JoeB:
There was a post on the board last year that suggested to disable vertical sync. in the video card settings. WHOA, huge difference. Frame rates up around 140 in many of the views and no more Frame skips when there are many trucks on the screen. One thing though, since I have done this, the AI seems to have gotten, well, stupid.<HR></BLOCKQUOTE>

I just had a thought. Previously we've had people asking how to up their framerate from the 70-80 or so that the game normally tops out at on a fast (ie more than capable of running it) computer system. Normally it's something I see as pointless (explained below) unless there is a problem with the framerates to the begin with... Anyway, this is where the disable vertical sync business comes in.

Normally, the game syncs to the refrsh rate of your monitor. It will do all it's processing, render the frame, and then wait until the monitor is ready to display it before going through the sequence again. This is standard practice in most games or applications that require smooth animation with no flicker. If your monitor has a refresh rate of 75 Hz, it can only draw 75 pictures per second, so therefore the game will produce a maximum of 75 frames - any higher than this doesn't really benefit you, as even if the game is rendering more frames, the monitor isn't able to draw more than 75, so the extras are just being discarded.

What the disable vertical sync setting does, obviously, is disable this restriction. (PS it's not a Windows system setting - it affects how your hardware, namely the video card, handles output to your monitor.) So now your apps will hammer away as fast as they can, without regard to waiting for the monitor's refresh cycles. However, it occurs to me that this will change the timing in the game, and possibly this is what's upsetting the CPU trucks. Having the game sync to the refresh rate can be a handly timing mechanism, but your game, going at 140 fps, is around twice as twice as fast as it would normally be expected to go. If the trucks are using some method of timing to do their navigation, and TRI when they wrote the game assumed the timing (ie framerate) would never logically go beyond certain thresholds (or perhaps it's being rounded to a lower accuracy or soemthing), then that may be why the bot racers are suddenly failing their driving standards tests en masse.

Unfortunately, since it seems you need the vertical sync disabled to solve your lag problem, I guess you'll have to make concessions one way or the other to properly enjoy the game :(

------------------
Please use the brake provided and not the vehicle in front of you.
- V8 Challenge online racing guidelines
rocketalces
Member
Posts: 205
Joined: Sun Sep 08, 2002 2:01 pm
Location: Switzerland

Post by rocketalces »

Nothing new so far.
I posted this one in the Traxx section (which was perhaps not the most adequate forum): http://rhinoseros.com/~forum/pages/Forum10/HTML/000102.html
If someone has an answer...I'm still interested.

The disable sync option was already available in NVidias 7.xx driver. It used to be hidden in a tab labeled something like ->d3d ->more options.
Disabling vertical sync is beneficial in a lot of games. If I understand, it prevents the hardware to be blocked while waiting for the monitor's next frame, thus jamming the whole rendering process.
I use this setting for about 2 years (was recommended in some gamers magazine) and never had any problem.
Post Reply