Jump to content

Graphics processing unit

From VR & AR Wiki

A graphics processing unit (GPU) is a specialized electronic processor designed to accelerate the creation of images and to perform large numbers of mathematical operations in parallel. It was developed to take over the calculations needed to draw three-dimensional graphics, work that early personal computers handled on the central processing unit (CPU) until the demands of graphics-intensive software outstripped what a general-purpose CPU could deliver.[1][2]

A GPU contains many small cores that each handle part of a task at the same time, in contrast to a CPU, which has a smaller number of cores optimized for sequential work. This parallel design suits graphics, where the colour of every pixel can be computed largely independently, and it also makes GPUs effective for other highly parallel workloads such as machine learning and scientific computing.[1][2]

GPUs are central to virtual reality (VR) and augmented reality (AR) because a headset must draw two separate views, one per eye, at a high refresh rate and with low latency. The hardware that performs this work falls into two broad classes: powerful discrete GPUs from companies such as Nvidia and AMD that drive PC VR systems, and lower-power mobile GPUs integrated into system-on-chip processors that run standalone VR headsets.[3]

History

The term "GPU" predates its modern meaning. Sony used it in 1994 for the 32-bit graphics processor, designed by Toshiba, in the original PlayStation games console.[4] The term entered wide use in 1999, when NVIDIA launched the GeForce 256 and marketed it as "the world's first GPU".[5]

Announced on 31 August 1999 and released on 11 October 1999, the GeForce 256 was built around Nvidia's NV10 chip. It moved transform and lighting calculations, previously run on the CPU, onto the graphics hardware itself.[5] Nvidia defined a GPU as a single-chip processor with integrated transform, lighting, triangle setup and clipping, and rendering engines capable of processing a minimum of 10 million polygons per second, a threshold the GeForce 256 was built to meet.[6] Integrating transform-and-lighting hardware into a consumer card brought capability that had been confined to expensive professional systems into mainstream price ranges.[4]

Programmability followed. In October 2002 ATI introduced the Radeon 9700 (codenamed R300), the first Direct3D 9.0 accelerator with flexible pixel and vertex shaders that supported looping and floating-point math.[4] Programmable shaders let developers write small programs that ran on the GPU to control how surfaces were lit and coloured, and they also opened the door to using the GPU for work unrelated to graphics. Nvidia's GeForce 8 series, released in the mid-2000s, turned the GPU into a more general computing device, and in 2007 Nvidia released CUDA (Compute Unified Device Architecture), described as the earliest widely adopted programming model for GPU computing.[4] This use of graphics hardware for non-graphics computation is known as general-purpose computing on graphics processing units (GPGPU).

How a GPU works

A GPU achieves its speed through parallelism. Where a CPU has a few cores tuned for fast sequential execution, a GPU has hundreds or thousands of simpler cores that execute the same operation across many data elements at once.[1][2] Rendering a frame involves computing the colour of each pixel, and because those computations are largely independent, the work can be split across many cores simultaneously. The same architecture that suits pixels also suits the large matrix and vector operations used in machine learning, which is why GPUs became common in that field.[2]

GPUs are commonly divided into integrated and discrete types. An integrated GPU is built into the same package as the CPU and has no memory of its own; it shares the computer's system RAM. A discrete GPU is a separate card with its own dedicated video memory (VRAM), typically high-speed GDDR or HBM modules placed close to the GPU cores, connected to the rest of the system through an expansion slot.[7][8] Discrete GPUs supply far more rendering power and are what high-end PC VR depends on; integrated and mobile GPUs trade raw performance for low power draw and small size, the constraints that matter inside a battery-powered headset.[7]

Role in VR and AR rendering

Rendering for a head-mounted display is more demanding than rendering for a flat monitor. The system must produce two images at once, one for each eye, from slightly offset viewpoints, which is what gives the stereoscopic sense of depth.[9] Both images must be drawn at a high and steady frame rate, generally at least 90 frames per second, and at the lowest possible latency, because dropped frames and lag between head movement and the displayed image are a leading cause of motion sickness.[3] Each eye view is also rendered at high resolution to reduce the visible pixel grid, which multiplies the pixel count the GPU must shade. Because of these combined demands, a GPU intended for VR generally needs a high-performance graphics core and a substantial amount of video memory; guidance cited by Database Mart recommends at least 6 GB of VRAM, with 8 GB or more for complex scenes.[3]

When a GPU cannot sustain the target frame rate, headset runtimes fall back on reprojection, which generates an intermediate frame from already rendered frames and the latest head-tracking data so the view still responds to motion. Oculus's Asynchronous Spacewarp (ASW) activates when an application is consistently dropping frames: it forces the application to run at half the headset's refresh rate, for example 36 frames per second on a 72 Hz headset or 45 on a 90 Hz one, and synthesizes every second frame by extrapolating the motion between previous frames. Because it works from colour information without scene depth, it can introduce visible artefacts, particularly if rendering performance falls further.[10] A related technique, Stereo Shading Reprojection, reuses shaded pixels from one eye to help fill the other eye's image and then closes the gaps with an extra pass; Meta reported it saving more than 20% of GPU cost per frame in pixel-shader-heavy scenes.[11]

Foveated rendering is another way to spend GPU resources more efficiently. When a headset can track the user's gaze, it renders the small region the eye is looking at in full detail and the periphery at lower detail, where the eye's acuity is low. PlayStation VR2 uses eye-tracked foveated rendering on the PlayStation 5, which Sony said can run scenes substantially faster by leveraging the console's RDNA 2 geometry engine.[12][13]

GPU makers have built VR-specific rendering features directly into their hardware and software. Nvidia's VRWorks software development kit, expanded in 2016 with the Pascal architecture, added Single Pass Stereo, which lets the GPU run one geometry pass for both eyes rather than two, and Lens Matched Shading, which renders closer to the distorted shape the headset lens requires so the GPU shades fewer pixels that would later be discarded. Nvidia said Single Pass Stereo could roughly double geometry throughput and Lens Matched Shading could raise pixel-shading throughput by up to 50%.[14][15]

Desktop and console GPUs for VR

PC VR headsets rely on discrete GPUs installed in a host computer. When the Oculus Rift CV1 shipped in 2016, Oculus set recommended graphics requirements of an Nvidia GeForce GTX 970 or an AMD Radeon R9 290 or better, alongside an Intel Core i5-4590 CPU and 8 GB of RAM.[16] To help buyers identify capable machines, both GPU vendors ran certification programs in 2016: Nvidia's "GeForce GTX VR Ready" badge required at least a GTX 970 in desktops, while AMD offered "Radeon VR Ready Premium" and "Radeon VR Ready Creator" tiers, paralleling Oculus's own "Oculus Ready" PC program.[17]

Game consoles use fixed GPU hardware. PlayStation VR2, released on 22 February 2023, runs on the PlayStation 5 and its custom AMD RDNA 2 GPU, and pairs eye tracking with foveated rendering so the console can drive the headset's per-eye OLED panels at 90 Hz and 120 Hz.[12][18]

Mobile GPUs for standalone VR and AR

Standalone headsets carry the GPU inside the device, so they use the lower-power mobile GPUs found in system-on-chip processors. Most dedicated VR and AR headsets in this class use Qualcomm Snapdragon XR chips, whose graphics is handled by Qualcomm's Adreno GPU line. The Qualcomm Snapdragon XR2 Gen 2, built on a 4 nm process and first used in the Meta Quest 3 in 2023, includes an Adreno GPU that Qualcomm rated at up to 2.5 times the peak performance and double the performance per watt of the first-generation XR2.[19] The chip supports per-eye displays up to 3K by 3K, according to Qualcomm,[20] and provides hardware acceleration for tasks specific to headsets, including positional tracking, camera passthrough, SpaceWarp motion extrapolation, and super-resolution sharpening.[19]

Some headsets use general-purpose mobile or desktop-class silicon rather than a dedicated XR chip. The Apple Vision Pro, released in 2024, runs on Apple's M2 processor, which has a 10-core GPU, supported by a second Apple-designed R1 chip that handles sensor input with a 12-millisecond photon-to-photon latency. The Vision Pro uses eye-tracked foveated rendering to limit full-resolution rendering to the region the user is looking at.[21][22]

GPU classes used in VR and AR

Class Where it runs Example GPU / chip Used by
Discrete desktop GPU Host PC, separate card with own VRAM Nvidia GeForce GTX 970, AMD Radeon R9 290 Oculus Rift and other PC VR headsets
Console GPU Fixed hardware in a games console AMD RDNA 2 (PlayStation 5) PlayStation VR2
Mobile GPU in an XR chip Inside the headset, system-on-chip Adreno (Qualcomm Snapdragon XR2 Gen 2) Meta Quest 3 and most standalone VR headsets
General-purpose mobile GPU Inside the headset, system-on-chip Apple M2 10-core GPU Apple Vision Pro

References

  1. 1.0 1.1 1.2 "What Is a GPU? Graphics Processing Units Defined". https://www.intel.com/content/www/us/en/products/docs/processors/what-is-a-gpu.html.
  2. 2.0 2.1 2.2 2.3 "What is a GPU (graphics processing unit)?". https://www.ibm.com/think/topics/gpu.
  3. 3.0 3.1 3.2 "What Are VR Ready, DirectX 12, OpenCL, and Vulkan GPUs". https://www.databasemart.com/blog/vr-ready-directx-opencl-vulkan-gpu.
  4. 4.0 4.1 4.2 4.3 "Graphics processing unit (GPU)". https://www.britannica.com/technology/graphics-processing-unit.
  5. 5.0 5.1 "NVIDIA GeForce 256 aka 'world's first GPU' is now 25 years old: released on October 11, 1999". 2024-10-11. https://www.tweaktown.com/news/100271/nvidia-geforce-256-aka-worlds-first-gpu-is-now-25-years-old-released-on-october-11-1999/index.html.
  6. "GeForce 256". https://en.wikipedia.org/wiki/GeForce_256.
  7. 7.0 7.1 "What Is the Difference Between Integrated Graphics and Discrete Graphics?". https://www.intel.com/content/www/us/en/support/articles/000057824/graphics.html.
  8. "Shared GPU Memory Vs Dedicated GPU Memory meaning explained". https://www.thewindowsclub.com/shared-gpu-memory-vs-dedicated-gpu-memory-meaning-explained.
  9. . "Efficient VR rendering: Survey on foveated, stereo, cloud, and low-power rendering techniques".{Template:Journal. https://www.sciencedirect.com/science/article/pii/S2096579625000580. Retrieved 2026-06-16.
  10. "VR Timewarp, Spacewarp, Reprojection, And Motion Smoothing Explained". https://www.uploadvr.com/reprojection-explained/.
  11. "Introducing Stereo Shading Reprojection for Unity". https://developers.meta.com/horizon/blog/introducing-stereo-shading-reprojection-for-unity/.
  12. 12.0 12.1 "What is foveated rendering on PSVR2?". https://www.dexerto.com/tech/what-is-foveated-rendering-on-psvr2-2069522/.
  13. "PSVR 2 Specs Run 3.6x Faster Using Eye-Tracking Technology". 2022-03-28. https://www.playstationlifestyle.net/2022/03/28/psvr-2-specs-eye-tracking-foveated-rendering/.
  14. "NVIDIA Explains Pascal's 'Lens Matched Shading' for VR". https://www.roadtovr.com/nvidia-explains-pascal-simultaneous-multi-projection-lens-matched-shading-for-vr/.
  15. "Pascal and VRWorks Infuse VR with New Level of Presence". 2016-05-06. https://blogs.nvidia.com/blog/2016/05/06/pascal-vrworks/.
  16. "Oculus Reveals Recommended Specs For Oculus Rift, Includes Core i5-4590 And GTX 970, R9 290". https://www.tomshardware.com/news/oculus-reveals-system-requirements-rift,29111.html.
  17. "Nvidia Launches Qualification Program To Help Identify VR Ready PCs". https://www.tomshardware.com/news/nvidia-vr-ready-qualification-program,30880.html.
  18. "Playstation VR 2: Release, resolution, controller - all you need to know". https://mixed-news.com/en/playstation-vr-2-infos/.
  19. 19.0 19.1 "XR2 Gen 2: Quest 3's New GPU More Than Twice As Powerful". https://www.uploadvr.com/snapdragon-xr2-gen-2/.
  20. "Snapdragon XR2 Gen 2 Platform". https://www.qualcomm.com/xr-vr-ar/products/vr-mr-series/snapdragon-xr2-gen-2-platform.
  21. "Apple Shares Vision Pro Specs: Up to 1TB Storage, M2 Chip With 8-Core CPU, 16GB RAM, and More". 2024-01-19. https://www.macrumors.com/2024/01/19/apple-vision-pro-tech-specs/.
  22. "Apple Vision Pro Full Specs, Features and Details". https://www.uploadvr.com/apple-vision-pro-specs/.