Module 13 · Pixels and Light

How does a frame get from the GPU to the glass?

Lesson 13.4 · Getting It to the Screen

Sarah · Rob

No signal. On either screen.

Sarah plugs Grandma Ruth’s laptop into her monitor with an HDMI cable, hoping the laptop screen is the problem.

The monitor says “No signal.”

Rob draws the path a picture takes, from the program to the GPU to a special piece of memory to the cable to the screen.

Somewhere at the very start of that path, Grandma Ruth’s laptop is stuck.

The short answer

The app says what to show, the GPU paints it into the frame buffer, and the finished frame goes down a cable to the screen. But on Grandma Ruth’s laptop, nothing appears on either screen, not even the maker’s logo. It isn’t the screen or the cable. It’s stuck before any of that starts.

Try it yourself

Tap each stop to follow one frame from the program to your eyes.

The appThe GPUFrame bufferCable orconnectorScreen

Tap a stop to see where it goes next.

What you just did has a name

The frame buffer

The frame buffer is a piece of memory that holds one complete screen’s worth of pixels: the color of every dot, ready to send.

The GPU draws the next frame into it, then the finished frame is sent down the cable to the screen.

Most systems use two buffers, drawing into one while showing the other, so you never see a half-drawn picture.

A few more things

It’s big

A 1080p frame is about 2 million pixels at 3 or 4 bytes each, so roughly 6 to 8 MB per frame, sent 60 times a second.

Cables carry a lot

HDMI and DisplayPort cables move billions of bits a second. Cheap or damaged cables can cause flicker or “no signal.”

Tearing

If the screen shows a frame while it’s only half updated, you see a visible tear line across moving images. Games offer settings to sync the GPU with the screen to prevent it.

Go deeper

The longer version, if you want it.

Who draws before Windows does?

Before the operating system starts, there’s no app and no fancy GPU driver. The computer’s built-in firmware shows its own simple screen, often the maker’s logo, using basic graphics every display understands.

If even that logo never appears, the problem is usually earlier than the screen or the cable. The computer isn’t making it through its first few seconds. That’s exactly where Module 15 goes.

Quick check

What’s in the frame buffer?

Let’s take it slower

Think of a sign painter with two boards. They paint the next sign on one board in the back, while the other board hangs out front for everyone to see. When the new one’s done, they swap. The boards are frame buffers. The painter is the GPU. Nobody ever sees a half-painted sign.

More examples

1

Plugging into a TV

When you mirror a laptop to a TV, the frame buffer’s contents go down an HDMI cable instead of the laptop’s internal ribbon.

2

A screenshot

Taking a screenshot copies the frame buffer into a file. You’re saving exactly what was about to go to the glass.

Back to the question

So how does a frame get to the glass?

Show the answer

The app says what to show, the GPU paints it into the frame buffer, and the finished frame goes down a cable to the screen. But on Grandma Ruth’s laptop, nothing appears on either screen, not even the maker’s logo. It isn’t the screen or the cable. It’s stuck before any of that starts.

One last question

Mark says the laptop’s screen must be broken. Who has the better read?

Talk Card

Talk Card · 13.4

A frame goes from app to GPU to the frame buffer, then down a cable to the screen. If even the startup logo doesn’t appear, the problem is earlier than the screen.

How Computers Work · pettigrewlab.com/learn

Next lesson