ArticleslgStudy

computer science

GPU switching

GPU switching is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand GPU switching rather than just read about it. In short: GPU switching is a mechanism used on computers with multiple graphic controllers. This mechanism allows the user to either maximize the graphic performance or prolong battery life by switching between the graphic cards.

GPU switching — main illustration
GPU switching — illustration

Key takeaways

  • GPU switching belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect GPU switching to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of GPU switching from memory before moving on to harder problems.

Reference excerpt

GPU switching is a mechanism used on computers with multiple graphic controllers. This mechanism allows the user to either maximize the graphic performance or prolong battery life by switching between the graphic cards. It is mostly used on gaming laptops which usually have an integrated graphic device and a discrete video card.

Basic components Most computers using this feature contain integrated graphics processors and dedicated graphics cards that applies to the following categories.

Integrated graphics Also known as: Integrated graphics, shared graphics solutions, integrated graphics processors (IGP) or unified memory architecture (UMA). This kind of graphics processors usually have much fewer processing units and share the same memory with the CPU. Sometimes the graphics processors are integrated onto a motherboard. It is commonly known as: on-board graphics. A motherboard with on-board graphics processors doesn't require a discrete graphics card or a CPU with graphics processors to operate.

Dedicated graphics cards Also known as: discrete graphics cards. Unlike integrated graphics, dedicated graphics cards have much more processing units and have its own RAM with much higher memory bandwidth. In some cases, a dedicated graphics chip can be integrated onto the motherboards, B150-GP104 for example. Regardless of the fact that the graphics chip is integrated, it is still counted as a dedicated graphics cards system because the graphics chip is integrated with its own memory.

Theory Most Personal Computers have a motherboard that uses a Southbridge and Northbridge structure.

Northbridge control The Northbridge is one of the core logic chipset that handles communications between the CPU, GPU, RAM and the Southbridge. The discrete graphics card is usually installed onto the graphics card slot such as PCI-Express and the integrated graphics is integrated onto the CPU itself or occasionally onto the Northbridge. The Northbridge is the most responsible for switching between GPUs. The way how it works usually has the following process (refer to the Figure 1. on the right):

The Northbridge receives input from Southbridge through the internal bus. The Northbridge signals to CPU through the Front-side bus. The CPU runs the task assignment application (usually the graphics card driver) to determine which GPU core to use. The CPU passes down the command to the Northbridge. The Northbridge passes down the command to the according GPU core. The GPU core processes the command and returns the rendered data back to the Northbridge. The Northbridge sends the rendered data back to Southbridge.

Southbridge control The Southbridge is a set of integrated circuits such Intel's I/O Controller Hub (ICH). It handles all of a computer's I/O functions, such as receiving the keyboard input and outputting the data onto the screen. The way how it usually works usually has two steps:

Take in the user input and pass it down to the Northbridge. (Optional) Receive the rendered data from the Northbridge and output it. The reason why the second step can be optional is that sometimes the rendered the data is outputted directly from the discrete graphics card which is located on the graphics card slot so there is no need to output the data through the Southbridge.

Main purpose GPU switching is mostly used for saving energy by switching between graphic cards. The dedicated graphics cards consume much more power than integrated graphics but also provides higher 3D performances, which is needed for a better gaming and CAD experience. Following is a list of the TDPs of the most popular CPU with integrated graphics and dedicated graphics cards.

The dedicated graphics cards exhibit much higher power consumption than the integrated graphics on both platforms. Disabling them when no heavy graphics processing is needed can significantly lower the power consumption.

Technologies

Nvidia Optimus Nvidia Optimus™ is a computer GPU switching technology created by Nvidia that can dynamically and seamlessly switch between two graphic cards based on running programs.

AMD Enduro AMD Enduro™ is a collective brand developed by AMD that features many new technologies that can significantly save power. It was previously named as: PowerXpress and Dynamic Switchable Graphics (DSG). This technology implements a sophisticated system to predict the potential usage need for graphics cards and switch between graphics cards based on predicted need. This technology also introduces a new power control plan that allows the discrete graphics cards consume no energy when idling.

Manufacturers

Integrated graphics In personal computers, the IGP (integrated graphics processors) are mostly manufactured by Intel and AMD and are integrated onto their CPUs. They are commonly known as:

Intel HD and Iris Graphics - also called HD series and Iris series AMD Accelerated Processing Unit (APU) - also formerly known as: fusion

Dedicated graphics cards The most popular dedicated graphics cards are manufactured by AMD and Nvidia. They are commonly known as:

AMD Radeon Nvidia GeForce

Drivers and OS support Most common operating systems have built-in support for this feature. However, the users may download the updated drivers from Nvidia or AMD for better experience.

Windows support Windows 7 has built-in support for this feature. The system automatically switches between GPUs depending on the program that's running. However, the user may switch the GPUs manually through device manager or power manager.

Linux support

In the Linux systems, a patch named vga_switcheroo has been added to the Linux kernel since version 2.6.34 in order to deal with multiple GPUs. Here, the switch requires a restart of the X Window System to be taken into account. Ubuntu Control Center allows the user to access vga_switcheroo functionality through a GUI.

Mac OS support Mac OS has built-in support for this feature since v10.5 Leopard. Since OS X Mountain Lion, Apple has integrated the GPU monitor into the Activity Monitor.

Existing troubles System incompatibility or unstable power supply may cause Blue Screen of Death or other bugs Unable to switch if the system wrongly estimated the required computing resource Switching may cause unstable voltage which can lead to flashy screen Inconsistent drivers across vendors for smooth switching

See also Graphics processing unit (GPU) Nvidia Optimus ATI Hybrid Graphics

References

Illustrations

GPU switching: A classic motherboard with on-board integrated graphics processors, a discrete graphics card can be installed at a PCI slot
A classic motherboard with on-board integrated graphics processors, a discrete graphics card can be installed at a PCI slot
GPU switching: Intel Core i5 processor with integrated HD Graphics 2000
Intel Core i5 processor with integrated HD Graphics 2000
GPU switching: Figure 1. Motherboard diagram outlining a structure of modern PC computer architecture (typically x86-64-based). Southbridge, Northbridge and busses are visible.
Figure 1. Motherboard diagram outlining a structure of modern PC computer architecture (typically x86-64-based). Southbridge, Northbridge and busses are visible.
GPU switching: A classic graphic rendering process with multiple GPU cores
A classic graphic rendering process with multiple GPU cores

Worked examples

Example 1 — a first encounter with GPU switching

Start with the simplest possible case. Write down what GPU switching claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to GPU switching before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about GPU switching ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of GPU switching

In research
GPU switching appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses GPU switching in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
GPU switching is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer hardware, so understanding it makes those chapters shorter.
In everyday life
Look for GPU switching outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “GPU switching” →

How to study GPU switching in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what GPU switching means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain GPU switching out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is GPU switching in simple terms?

GPU switching is a mechanism used on computers with multiple graphic controllers. This mechanism allows the user to either maximize the graphic performance or prolong battery life by switching between the graphic cards.

Why does GPU switching matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study GPU switching?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on GPU switching.

Tags

  • Computer hardware

Keep exploring