Graphics card in 3D

A standing board with a flowchart showing how a GPU turns CPU data into an image: PCIe slot, shaders, rasterisation, VRAM and display.Drag to turn

A graphics card is an expansion board built around a graphics processing unit (GPU), a chip with thousands of small cores that run many simple calculations at once. It mainly produces the images sent to a display.

What sits on a graphics card

A graphics card plugs into a motherboard slot, usually PCI Express. The main chip is the GPU. Around it sit video memory chips, called VRAM, and voltage regulators that convert supply power into the levels the chip needs.

Some computers use an integrated GPU instead, built into the CPU package and sharing system RAM. A discrete card has its own memory and is usually faster. Ports on its bracket, such as HDMI and DisplayPort, send the image to a monitor.

How the GPU builds each frame

A program sends the GPU a scene made of triangles, textures and instructions. The GPU places each triangle in screen position and finds which pixels it covers, a step called rasterisation. Small programs called shaders then calculate the colour of each pixel. The finished frame is stored in VRAM and then sent to the display.

A CPU has a few powerful cores built for varied tasks. A GPU has thousands of simpler cores that run the same instructions on different data. This suits pixels, which can mostly be calculated independently.

Worked example: pixels per second at 1080p

A 1920 by 1080 screen has 1920 × 1080 = 2,073,600 pixels. At 60 frames per second, that is 2,073,600 × 60 = 124,416,000 pixel colours every second. Each may need many shader calculations.

Spread over 4,000 cores, one frame gives 2,073,600 ÷ 4,000 = 518.4, so about 518 pixels per core. Real cards schedule work in groups, so this split only illustrates the idea.

Cooling, power and throttling

Parallel work produces heat. A heatsink spreads heat from the chip, and some cards use heat pipes to carry it to the fins. Fans move air across the fins. Power arrives through the slot and usually through extra cables from the power supply.

If cooling is poor, the GPU lowers its clock speed to stay within a safe temperature. This is called thermal throttling.

Common misconceptions and where GPUs are used

More VRAM does not by itself make a card faster. VRAM sets how much data fits, while core count and clock speed also affect speed. GPUs are also not limited to games.

They run video editing, 3D design, scientific simulation and machine learning, because these repeat the same maths on large sets of numbers.

Key terms

GPU
A graphics processing unit, a chip with many small cores designed for parallel calculations.
VRAM
Video memory on a graphics card that holds textures, frames and other data the GPU needs.
Shader
A small program that runs on the GPU to calculate colour or position for pixels or triangles.
Rasterisation
The step that converts triangles into the pixels they cover on screen.
PCI Express
The motherboard slot standard that usually connects a discrete graphics card to the rest of the computer.
Thermal throttling
An automatic reduction in clock speed when a chip gets too hot.

Common questions

Is a discrete graphics card necessary?

Not for office work, browsing or video playback, which an integrated GPU usually handles. A discrete card helps with demanding games, 3D work and some machine learning.

Why do the fans on some cards stop spinning?

Many cards switch fans off below a set temperature, because the heatsink can cool the chip at light load.

Why are GPUs used for machine learning?

Training uses large matrix multiplications, which are many independent multiply-and-add operations that can run in parallel.

Learn this with a tutor

Sidechair's AI tutor will teach this topic in 3D. Join the waitlist for early access.

We'll only email you about Sidechair. Read our privacy policy.