Forced Triple buffering with D3D Vsyncd Performance Tweak
Page 1 of 1
A-A




Posts: 3141
Location: New york
PostPosted: Thu, 1st Dec 2005 22:53    Post subject: Forced Triple buffering with D3D Vsyncd Performance Tweak
If anybody is suffering from frame rate drops in some games
especially LCD owners, where by the vsync is on its 60hz it can
dive to 30 where as vsync off this wont happen but you
may suffer from tearing here is a damn fine tweak that keeps
the frame rates high even with vsync on.

Information regarding vsync
http://hardforum.com/showthread.php?t=928593

*
There is a technique called triple-buffering that solves this VSync problem. Lets go back to our 50FPS, 75Hz example. Frame 1 is in the frame buffer, and 2/3 of frame 2 are drawn in the back buffer. The refresh happens and frame 1 is grabbed for the first time. The last third of frame 2 are drawn in the back buffer, and the first third of frame 3 is drawn in the second back buffer (hence the term triple-buffering). The refresh happens, frame 1 is grabbed for the second time, and frame 2 is copied into the frame buffer and the first part of frame 3 into the back buffer. The last 2/3 of frame 3 are drawn in the back buffer, the refresh happens, frame 2 is grabbed for the first time, and frame 3 is copied to the frame buffer. The process starts over. This time we still got 2 frames, but in only 3 refresh cycles. That's 2/3 of the refresh rate, which is 50FPS, exactly what we would have gotten without it. Triple-buffering essentially gives the video card someplace to keep doing work while it waits to transfer the back buffer to the frame buffer, so it doesn't have to waste time. Unfortunately, triple-buffering isn't available in every game, and in fact it isn't too common. It also can cost a little performance to utilize, as it requires extra VRAM for the buffers, and time spent copying all of them around. However, triple-buffered VSync really is the key to the best experience as you eliminate tearing without the downsides of normal VSync (unless you consider the fact that your FPS is capped a downside... which is silly because you can't see an FPS higher than your refresh anyway).

If a game uses Direct3D, developers must specifically code in support for triple buffering

*


NVIDIA

Nvidia display drivers have triple buffering BUT this only works
for opengl, because WHQL restrictions, the driver cannot force Triple Buffering in D3D. * <- this is from the developers
of Nforcer AND nvtweak AND ati tool.

-Get .net Then download Directx tweaker Below
-http://www.nonatainment.de/web/DirectXTweaker/All gemein/tabid/56/Default.aspx
-Load up DirectX tweaker , and set the proggy to the dir of the game and the game exe
-Go to Modules to load
-Present Changer
-set Count = 2
-Start GAme


ATI

Some info right from a ATI driver writer

Triple buffering is available as part of the API. Any application that wants to use it or offer it for users to enable can do it. However, there is no way for our drivers to force it on behind an application's back. We can in OGL, but not in D3D, due to how OS part of D3D works.

- Ati users can use ATI TOOL and force triple buffering D3D
through game profiles

====

Battlefield 2 does not have triple buffering option
nor does F.E.A.R nor does need for speed , for me with vsync
on i was getting some frame rate dives to 30FPS because of my
vsync at 60, with vsync off i dont get any but i get alot of tearing. Now with this buffering tweak battlefield 2 , need
and fear are totaly smooth with NO frame rate drops with
vsync enabled d3d.

WARNING :

PUNKBUSTER/VALVE

Are gay, they will NOT allow directx tweaker to work
with the online part of the game because some parts of it
are used in hacks it just detects the whole fucking thing
as a hack tool.

BUT

Im currently trying to get tweak developers to use forced
buffering for nvidia cards without the use of a Wrapper
just like ati tool has for ati cards Wink

Again the drivers DO NOT support d3d triple buffering it has to be forced, and at the moment with nvidia cards there is NO work around with punkbuster kicking you off battlefield 2
because of d3d wrappers only ATI TOOLS for ati cards it works
fine.
Back to top
A-A




Posts: 3141
Location: New york
PostPosted: Thu, 1st Dec 2005 22:54    Post subject:
Was posted on isonews aswell , so i thought id share it with u lot
Back to top
Kamikaze666




Posts: 3550

PostPosted: Fri, 2nd Dec 2005 01:18    Post subject:
vewy nice, Im gonna try this out thnx!


Quote:
PC awesome button = Uninstall!
Back to top
Mchart




Posts: 7314

PostPosted: Fri, 2nd Dec 2005 01:33    Post subject:
Heh, no offense, but a lot of people have known about this for a /very/ long time.

And this belongs in the technical section.
Back to top
A-A




Posts: 3141
Location: New york
PostPosted: Fri, 2nd Dec 2005 01:37    Post subject:
Mchart wrote:
Heh, no offense, but a lot of people have known about this for a /very/ long time.

And this belongs in the technical section.


I take that as an offence..

Joking Laughing

btw alot of people also havent known about this for along time, i NEVER found out
about D3D + TB + VSYNC until i went nvidia with my ati card i never experienced it
cause i was always using ati tool Sad
Back to top
White_Knight




Posts: 132

PostPosted: Fri, 2nd Dec 2005 03:26    Post subject:
thanks for this bud...i for one never knew about this tweak....so for us non knowitalls unlike Mchart, this is great info to have!
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - PC Games Arena
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group