• We've upgraded our forums. Please post any issues/requests in this thread.

I use Vsync for all my games, but is Triple Buffering worth it? Why is it even there?

Phusius

New Member
Joined
Mar 23, 2012
Messages
1,316 (0.63/day)
Likes
369
Processor i5-2500k @ 4.5
Motherboard Asus Z68 Deluxe
Cooling Noctua NH-D14
Memory 16GB DDR3 1600
Video Card(s) Sapphire 7950 @ 1200/1475 @ 1175v
Display(s) Dell 23" 2ms
Case Carbide 500r
Audio Device(s) Asus Xonar DG
#1
Just wondering if there is any reason Triple Buffering exists (and what its pros and cons are)
 
Joined
Apr 26, 2008
Messages
1,106 (0.31/day)
Likes
178
Location
london
System Name Staggered
Processor Intel i5 6600k (XSPC Rasa)
Motherboard Gigabyte Z170 Gaming K3
Cooling RX360 (3*Scythe GT1850) + RX240 (2*Scythe GT1850) + Laing D5 Vario (with EK X-Top V2)
Memory 2*8gb Team Group Dark @3000Mhz 16-16-16-36 1.25v
Video Card(s) Inno3D GTX 1070 HerculeZ
Storage 256gb Samsung 830 + 2*1tB Samsung F3 + 2*2tB Samsung F4EG
Display(s) Flatron W3000H 2560*1600
Case Cooler Master ATCS 840 + 1*120 GT1850 (exhaust) + 1*230 Spectre Pro + Lamptron FC2 (fan controller)
Power Supply Enermax Revolution 85+ 1250W
Software Windows 10 Pro 64bit
#2
Double buffering is a rendering technique where the image currently being rendered is held in a buffer and you are shown an old image until the new one is complete. After completing, the buffers swap so you see the new image and the old image is removed with a newer image being drawn in its place. Basically, this stops you from seeing the image as it's being rendered piece by piece.
Triple buffering is the same thing, but with an extra buffer. This increases performance by allowing the unused buffer to start drawing after the new image is being swapped with the old image. This increases performance because the swapping of images takes a certain amount of time, thus creating lag.

I assume you're talking about CCC, so, this will only affect programs that use OpenGL.
 

Phusius

New Member
Joined
Mar 23, 2012
Messages
1,316 (0.63/day)
Likes
369
Processor i5-2500k @ 4.5
Motherboard Asus Z68 Deluxe
Cooling Noctua NH-D14
Memory 16GB DDR3 1600
Video Card(s) Sapphire 7950 @ 1200/1475 @ 1175v
Display(s) Dell 23" 2ms
Case Carbide 500r
Audio Device(s) Asus Xonar DG
#3
So in CCC I should enable vsync and triple buffering then for the hell of it? even though triple buffering is CL only or w.e?

also, are the call of duty games OPEN GL? cause that would be cool if triple buffering helps them.


edit: I love London!!!! can't wait to go back someday, I just wish it was easier to get a job/visa over there.
 
Joined
Mar 2, 2009
Messages
5,026 (1.57/day)
Likes
1,271
Processor Intel Core i7
Motherboard MSI P67
Cooling Cooler Master
Memory Kingston
Video Card(s) temporarily Palit (formerly Inno 3D)
Storage Seagate
Display(s) Acer 23"
Case Thermaltake
Audio Device(s) onboard
Power Supply FSP 700W
Software Windows 7
#4
There aren't that many OpenGL games in the first place...
 

Phusius

New Member
Joined
Mar 23, 2012
Messages
1,316 (0.63/day)
Likes
369
Processor i5-2500k @ 4.5
Motherboard Asus Z68 Deluxe
Cooling Noctua NH-D14
Memory 16GB DDR3 1600
Video Card(s) Sapphire 7950 @ 1200/1475 @ 1175v
Display(s) Dell 23" 2ms
Case Carbide 500r
Audio Device(s) Asus Xonar DG
#5
There aren't that many OpenGL games in the first place...
So I would need a Nvidia graphics card to enable triple buffering for all games?
 
Joined
Apr 26, 2008
Messages
1,106 (0.31/day)
Likes
178
Location
london
System Name Staggered
Processor Intel i5 6600k (XSPC Rasa)
Motherboard Gigabyte Z170 Gaming K3
Cooling RX360 (3*Scythe GT1850) + RX240 (2*Scythe GT1850) + Laing D5 Vario (with EK X-Top V2)
Memory 2*8gb Team Group Dark @3000Mhz 16-16-16-36 1.25v
Video Card(s) Inno3D GTX 1070 HerculeZ
Storage 256gb Samsung 830 + 2*1tB Samsung F3 + 2*2tB Samsung F4EG
Display(s) Flatron W3000H 2560*1600
Case Cooler Master ATCS 840 + 1*120 GT1850 (exhaust) + 1*230 Spectre Pro + Lamptron FC2 (fan controller)
Power Supply Enermax Revolution 85+ 1250W
Software Windows 10 Pro 64bit
#6
OpenGL is a graphics library. It's something like DirectX. Just like DirectX, only games that are built to use it can use it.
 
Joined
Mar 6, 2007
Messages
678 (0.17/day)
Likes
191
Processor i7 4790k @ 4.8 Ghz
Motherboard ASUS Z97-E/USB 3.1
Cooling Raystorm, D5 Vario, 480 x2 Rads, EK blocks
Memory 16gb G.Skill DDR3 2400mhz
Video Card(s) Nvidia GTX 1080 FE SLI @2k core 8k mem
Storage Crucial M4 256gb, Samsung EVO 250gb, Mushkin Reactor 1TB, Seagate 3TB, WD Red 6TB x2
Display(s) Acer xb270hu 144hz 2560x1440
Case Enthoo Primo
Audio Device(s) HT Omega Claro Halo --> Yamaha Vx375 --> ATHW1000x/Energy 5.1
Power Supply EVGA 1300w G2
Mouse Logitech g400
Keyboard Tesoro Ultimate
Software W7 64 bit
#7
Use a program called D3DOverrider to force triple buffering in DirectX games, since CCC and Nvida CP only force it in OpenGL apps.
 
Joined
Jul 23, 2011
Messages
1,555 (0.67/day)
Likes
1,459
Location
Kaunas, Lithuania
System Name Eternal WIP ][ HP ProLiant server blade
Processor AMD FX-8320 @ 4.4/4.1 GHz ][ 2x Intel Xeon L5520 @ 2.27GHz
Motherboard Asus Crosshair V Formula-Z ][ -
Cooling Corsair H55 ][ Stock
Memory 2x4GB Kingston HyperX Genesis @ 1866MHz ][ 4x4 GiB Hynix @ 1333 MHz; ECC on
Video Card(s) 2x MSI GeForce GTX 770 DirectCU II OC ][ None
Storage 1TB WD Black + 1.5TB WD Green + 750GB Samsung + 64GB OCZ Agility 4 ][ 3x 1 TB Hitachi
Display(s) Asus VG278H + Asus VH226H ][ None
Case Antec Nine Hundred ][ it's a server blade, lol
Audio Device(s) Supreme FX II (Integrated); Using optical S/PDIF output ][ none
Power Supply Corsair AX1200i ][ [stock]
Software Gentoo Linux ][ Linux Mint 16
Benchmark Scores 65970 BogoMIPS. Ha. Ha. Ha. >=|
#8
since CCC and Nvida CP only force it in OpenGL apps.
Wait. What!?

~Back on topic~

Some games have an in-game setting to set triple buffering. It's best to enable it from there, when possible.
Also, note that triple buffering increases the input lag a little. When playing games that don't require extreme responsiveness (e.g.: MMOs, RPGs, among others), it's completely unnoticeable, thus having it on is usually a Good Thing™ there. On the other hand, when playing games that do require extreme responsiveness (competitive shooters, mostly), it is best to avoid it, as the input lag becomes noticeable and really annoying at times.
 
Joined
Aug 7, 2007
Messages
2,655 (0.70/day)
Likes
776
Processor Intel i5-2500k @ 3.8GHz
Motherboard ASRock Z68 Extreme4 Gen3
Cooling CM Hyper 212 EVO w/ AC MX-2
Memory 8GB DDR3 1866 Gskill Snipers 9-10-9-28
Video Card(s) MSI GTX 1060 Gaming X
Storage 240GB Corsair Force GT
Display(s) 23' Dell AW2310
Case Corsair 550D
Audio Device(s) Creative SB X-Fi Fatality Professional
Power Supply Seasonic SS-760XP2 Platinum
Software Windows 7 Pro 64-bit
#9
So a game like Counter-Strike 1.6 will be affected in a negative way with extra input lag by turning on triple buffering? If this is true, then its no wonder why I never made the pros :banghead: :laugh:
 

Kreij

Senior Monkey Moderator
Staff member
Joined
Feb 6, 2007
Messages
13,817 (3.48/day)
Likes
5,524
Location
Cheeseland (Wisconsin, USA)
Processor Intel Core 2 Quad QX9650 Extreme @ 3.0 GHz
Motherboard Asus Rampage Formula
Cooling ZeroTherm Nirvana NV120 Premium
Memory 8GB (4 x 2GB) Corsair Dominator PC2-8500
Video Card(s) 2 x Sapphire Radeon HD6970
Storage 2 x Seagate Barracuda 320GB in RAID 0
Display(s) Dell 3007WFP 30" LCD (2560 x 1600)
Case Thermaltake Armor w/ 250mm Side Fan
Audio Device(s) SupremeFX 8ch Audio
Power Supply Thermaltake Toughpower 750W Modular
Software Win8 Pro x64 / Cat 12.10
#10
Screen data always comes from a buffer. GCs render to a buffer, never directly to the screen.
That would be a disaster fron an efficiency standpoint.

The front buffer is what is sent to the screen when a refresh event occurs (the speed of this is dependant upon the refresh rate of your monitor).

The back buffers (2nd and 3rd) are independent of the refresh timing so the GC can fill them as fast as it possibly can. The buffers are then moved to the front for display when needed.
There is no theorectical limit as to how many back buffers a game (or whatever) can use, but more than 3 buffers is rarely used. This eliminates or reduces flicker, tearing and other artifacts.

Quad buffering in 3D is sometimes used (double buffering for each eyes image), but I've never seen a game that is not 3D use more than 3.

To say that an FPS game benefits from a single buffer is nonsense. Any modern GC can fill two buffers much faster than even the fastest monitors can display them, and the buffer transfers within the GC memory are in the sub millisecond range. If the game employs good algorithms for buffer fills, the GC could easily refresh the back buffer before it's needed if it had to do so.

As was stated, though, tripple buffering may not be of much benefit in some cases.
 
Joined
Aug 5, 2008
Messages
497 (0.15/day)
Likes
117
Location
Hampshire, UK
System Name If you name your systems, get a girlfriend...
Processor i7 4770k
Motherboard Asus Maximus VI Formula
Cooling Custom waterloop around Black Ice GTX 360
Memory 16GB DDR3
Video Card(s) R9 290
Storage Samsung 850 Pro 1TB
Case HAF 932
Audio Device(s) Onboard
Power Supply Corsair HX750
Software Windows 10 x64
#11
The basic issue with Vsync is that you FPS is tied to your display's refresh frequency. Most displays these days have 60Hz, hence your FPS will be 60 FPS.
The trouble starts when your GPU cannot sustain rendering 60fps. In this case FPS will be cut in half, and drop all the way to 30fps (60/2=30) (which is pretty bad).

Triple buffering allows to use hardware more efficiently. If your GPU could render, say: 50 fps, you'll see benefit of it (it won't drop immediately to 30fps).

That comes at a cost of increased input lag (which is quite noticeable, and prevents any competitive shooter gaming).


When you've got a good GPU, a very good idea is to get a "3D" monitor (or projector in my case).
These displays support 120Hz. That makes Vsync work at beautifully fluid 120fps, and when you GPU can't sustain it, it drops to 60fps, which is still great.
 
Joined
Sep 11, 2009
Messages
2,680 (0.89/day)
Likes
693
Location
Reaching your left retina.
#12
To say that an FPS game benefits from a single buffer is nonsense. Any modern GC can fill two buffers much faster than even the fastest monitors can display them, and the buffer transfers within the GC memory are in the sub millisecond range. If the game employs good algorithms for buffer fills, the GC could easily refresh the back buffer before it's needed if it had to do so.
It's a little more tricky than that. When fps are lower than refresh rate, sometimes you'll see frames that are 2 frames old, and at 60 Hz that lag suposes 33 ms, which is quite a lot for competitive play. For older games like CSS running at 300 fps on modern cards that's not a problem but for, say Battlefield 3, it can be very noticeable.
 

qubit

Overclocked quantum bit
Joined
Dec 6, 2007
Messages
14,551 (3.97/day)
Likes
8,059
Location
Quantum Well UK
System Name Quantumville™
Processor Intel Core i7-2700K at stock (hits 5 gees+ easily)
Motherboard Asus P8Z68-V PRO/GEN3
Cooling Noctua NH-D14
Memory 16GB (4 x 4GB Corsair Vengeance DDR3 PC3-12800 C9 1600MHz)
Video Card(s) Zotac GTX 1080 AMP! Extreme Edition
Storage Samsung 850 Pro 256GB | WD Green 4TB
Display(s) BenQ XL2720Z | Asus VG278HE (both 27", 144Hz, 3D Vision 2, 1080p)
Case Cooler Master HAF 922
Audio Device(s) Creative Sound Blaster X-Fi Fatal1ty PCIe
Power Supply Corsair HX 850W v1
Software Windows 10 Pro 64-bit
#13
There's a really good article on what triple buffering is all about on either Ars Technica or AnandTech, I can't remember now and I'm too busy to go look.

However, it basically gives you all the benefits of regular vsync while minimising the inpu lag, which is important in fast FPS games. In short, use it.
 

Kreij

Senior Monkey Moderator
Staff member
Joined
Feb 6, 2007
Messages
13,817 (3.48/day)
Likes
5,524
Location
Cheeseland (Wisconsin, USA)
Processor Intel Core 2 Quad QX9650 Extreme @ 3.0 GHz
Motherboard Asus Rampage Formula
Cooling ZeroTherm Nirvana NV120 Premium
Memory 8GB (4 x 2GB) Corsair Dominator PC2-8500
Video Card(s) 2 x Sapphire Radeon HD6970
Storage 2 x Seagate Barracuda 320GB in RAID 0
Display(s) Dell 3007WFP 30" LCD (2560 x 1600)
Case Thermaltake Armor w/ 250mm Side Fan
Audio Device(s) SupremeFX 8ch Audio
Power Supply Thermaltake Toughpower 750W Modular
Software Win8 Pro x64 / Cat 12.10
#14
It's a little more tricky than that. When fps are lower than refresh rate, sometimes you'll see frames that are 2 frames old, and at 60 Hz that lag suposes 33 ms, which is quite a lot for competitive play. For older games like CSS running at 300 fps on modern cards that's not a problem but for, say Battlefield 3, it can be very noticeable.
I understand that, but if your GC can't handle a single buffer at 60Hz, then you either need to drop the eye candy or get a better card.
I know that some of the games are GC killers, for whatever reason, and that everyone wants to run them at max, but that ain't reality in many cases.
 

Phusius

New Member
Joined
Mar 23, 2012
Messages
1,316 (0.63/day)
Likes
369
Processor i5-2500k @ 4.5
Motherboard Asus Z68 Deluxe
Cooling Noctua NH-D14
Memory 16GB DDR3 1600
Video Card(s) Sapphire 7950 @ 1200/1475 @ 1175v
Display(s) Dell 23" 2ms
Case Carbide 500r
Audio Device(s) Asus Xonar DG
#15
There's a really good article on what triple buffering is all about on either Ars Technica or AnandTech, I can't remember now and I'm too busy to go look.

However, it basically gives you all the benefits of regular vsync while minimising the inpu lag, which is important in fast FPS games. In short, use it.
Triple buffering allows to use hardware more efficiently. If your GPU could render, say: 50 fps, you'll see benefit of it (it won't drop immediately to 30fps).

That comes at a cost of increased input lag (which is quite noticeable, and prevents any competitive shooter gaming).


When you've got a good GPU, a very good idea is to get a "3D" monitor (or projector in my case).
These displays support 120Hz. That makes Vsync work at beautifully fluid 120fps, and when you GPU can't sustain it, it drops to 60fps, which is still great.


So confused, will Triple Buffering hinder me in competitive online FPS or not? :banghead: :roll:
 

qubit

Overclocked quantum bit
Joined
Dec 6, 2007
Messages
14,551 (3.97/day)
Likes
8,059
Location
Quantum Well UK
System Name Quantumville™
Processor Intel Core i7-2700K at stock (hits 5 gees+ easily)
Motherboard Asus P8Z68-V PRO/GEN3
Cooling Noctua NH-D14
Memory 16GB (4 x 4GB Corsair Vengeance DDR3 PC3-12800 C9 1600MHz)
Video Card(s) Zotac GTX 1080 AMP! Extreme Edition
Storage Samsung 850 Pro 256GB | WD Green 4TB
Display(s) BenQ XL2720Z | Asus VG278HE (both 27", 144Hz, 3D Vision 2, 1080p)
Case Cooler Master HAF 922
Audio Device(s) Creative Sound Blaster X-Fi Fatal1ty PCIe
Power Supply Corsair HX 850W v1
Software Windows 10 Pro 64-bit
#16
So confused, will Triple Buffering hinder me in competitive online FPS or not? :banghead: :roll:
No, not at all. It will actually help. Ultimately, just try it and see which setting you like best.
 

Phusius

New Member
Joined
Mar 23, 2012
Messages
1,316 (0.63/day)
Likes
369
Processor i5-2500k @ 4.5
Motherboard Asus Z68 Deluxe
Cooling Noctua NH-D14
Memory 16GB DDR3 1600
Video Card(s) Sapphire 7950 @ 1200/1475 @ 1175v
Display(s) Dell 23" 2ms
Case Carbide 500r
Audio Device(s) Asus Xonar DG
#17
I for one have seen no input lag in high twitch FPS games with Vsync on and Triple Buffering on, and yes this was an (Open GL game, which is required for triple buffering).

Not sure why people say input lag is very noticeable, I have noticed none at all, maybe it is irrelevant now for high end GPU's?
 
Joined
Jul 23, 2011
Messages
1,555 (0.67/day)
Likes
1,459
Location
Kaunas, Lithuania
System Name Eternal WIP ][ HP ProLiant server blade
Processor AMD FX-8320 @ 4.4/4.1 GHz ][ 2x Intel Xeon L5520 @ 2.27GHz
Motherboard Asus Crosshair V Formula-Z ][ -
Cooling Corsair H55 ][ Stock
Memory 2x4GB Kingston HyperX Genesis @ 1866MHz ][ 4x4 GiB Hynix @ 1333 MHz; ECC on
Video Card(s) 2x MSI GeForce GTX 770 DirectCU II OC ][ None
Storage 1TB WD Black + 1.5TB WD Green + 750GB Samsung + 64GB OCZ Agility 4 ][ 3x 1 TB Hitachi
Display(s) Asus VG278H + Asus VH226H ][ None
Case Antec Nine Hundred ][ it's a server blade, lol
Audio Device(s) Supreme FX II (Integrated); Using optical S/PDIF output ][ none
Power Supply Corsair AX1200i ][ [stock]
Software Gentoo Linux ][ Linux Mint 16
Benchmark Scores 65970 BogoMIPS. Ha. Ha. Ha. >=|
#18
Joined
Sep 1, 2010
Messages
5,900 (2.22/day)
Likes
6,568
#19
There aren't that many OpenGL games in the first place...
lolwut



Doom series, Unreal series, Medal of Honor series, Quake series, Serious Sam series, Wolfenstein (new and old), Max Payne, Prey, Spring, Soldier of Fortune, Rage, Red Faction, Half-Life ...

Should I go on? :rolleyes: