this post was submitted on 09 Dec 2023
189 points (98.0% liked)
Linux
52670 readers
558 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Once upon a time computer graphics would tear all the time. "V-Sync" was invented to fix the issue and it did a fine job of it. Unfortunately, because V-Sync marries your framerate to the monitor's refresh rate, it clamps the rendering pipeline by 1/2 increments whenever the GPU can't keep pace with the display's full refresh rate. In other words: if you couldn't hit 60 FPS you dropped to 30 FPS, if you couldn't hit 30 FPS you dropped to 15.
Some GPU eggheads realized that they could alleviate this issue by introducing an extra step into the frame pipeline between the monitor (i.e.: the display buffer) and the GPU (i.e.: the video buffer) -- a third buffer, if you will. The presence of this extra buffer gives the GPU a longer leash -- it can immediately start drawing another frame while waiting for the display to refresh and bank this extra frame for later if the GPU needs to buy extra time (without halving the framerate!).
This novel technique came to be known as "Triple Buffered V-Sync", since it was just like V-Sync... but with a third buffer. Okay I lied -- it's actually simpler than that because "V-Sync" is a gamerism -- in the graphics world "V-Sync" was always better known as "Double Buffering", so it was only natural to call the revised technique "Triple Buffering".