How Graphics Cards Work
Introduction to How Graphics Cards Work
Computer Hardware Image Gallery

graphics card
Graphics cards take data from the CPU and turn it into pictures. See more computer hardware pictures.

The images you see on your monitor are made of tiny dots called pixels. At most common resolution settings, a screen displays over a million pixels, and the computer has to decide what to do with every one in order to create an image. To do this, it needs a translator -- something to take binary data from the CPU and turn it into a picture you can see. Unless a computer has graphics capability built into the motherboard, that translation takes place on the graphics card.
A graphics card's job is complex, but its principles and components are easy to understand. In this article, we will look at the basic parts of a video card and what they do. We'll also examine the factors that work together to make a fast, efficient graphics card.

­ Think of a computer as a company with its own art department. When people in the company want a piece of artwork, they send a request to the art department. The art department decides how to create the image and then puts it on paper. The end result is that someone's idea becomes an actual, viewable picture.
A graphics card works along the same principles. The CPU, working in conjunction with software applications, sends information about the image to the graphics card. The graphics card decides how to use the pixels on the screen to create the image. It then sends that information to the monitor through a cable. ­
Creating an image out of binary data is a demanding process. To make a 3-D image, the graphics card first creates a wire frame out of straight lines. Then, it rasterizes the image (fills in the remaining pixels). It also adds lighting, texture and color. For fast-paced games, the computer has to go through this process about sixty times per second. Without a graphics card to perform the necessary calculations, the workload would be too much for the computer to handle.
The graphics card accomplishes this task using four main components:
  • A motherboard connection for data and power
  • A processor to decide what to do with each pixel on the screen
  • Memory to hold information about each pixel and to temporarily store completed pictures
  • A monitor connection so you can see the final result
Next, we'll look at the processor and memory in more detail.
The GPU
graphics card components
Graphics cards take data from the CPU and turn it into pictures. Find out the parts of a graphics card and read expert reviews of graphics cards.
Like a motherboard, a graphics card is a printed circuit board that houses a processor and RAM. It also has an input/output system (BIOS) chip, which stores the card's settings and performs diagnostics on the memory, input and output at startup. A graphics card's processor, called a graphics processing unit (GPU), is similar to a computer's CPU. A GPU, however, is designed specifically for performing the complex mathematical and geometric calculations that are necessary for graphics rendering. Some of the fastest GPUs have more transistors than the average CPU. A GPU produces a lot of heat, so it is usually located under a heat sink or a fan.
In addition to its processing power, a GPU uses special programming to help it analyze and use data. ATI and nVidia produce the vast majority of GPUs on the market, and both companies have developed their own enhancements for GPU performance. To improve image quality, the processors use:
  • Full scene anti aliasing (FSAA), which smoothes the edges of 3-D objects
  • Anisotropic filtering (AF), which makes images look crisper
­ Each company has also developed specific techniques to help the GPU apply colors, shading, textures and patterns.

­ As the GPU creates images, it needs somewhere to hold information and completed pictures. It uses the card's RAM for this purpose, storing data about each pixel, its color and its location on the screen. Part of the RAM can also act as a frame buffer, meaning that it holds completed images until it is time to display them. Typically, video RAM operates at very high speeds and is dual ported, meaning that the system can read from it and write to it at the same time.
­ The RAM connects directly to the digital-to-analog converter, called the DAC. This converter, also called the RAMDAC, translates the image into an analog signal that the monitor can use. Some cards have multiple RAMDACs, which can improve performance and support more than one monitor. You can learn more about this process in How Analog and Digital Recording Works.
The RAMDAC sends the final picture to the monitor through a cable. We'll look at this connection and other interfaces in the next section.



PCI Connection
graphic card ports
This Radeon X800XL graphics card has DVI, VGA and ViVo connections.
­Graphics cards connect to the computer through the motherboard. The motherboard supplies power to the card and lets it communicate with the CPU. Newer graphics cards often require more power than the motherboard can provide, so they also have a direct connection to the computer's power supply.
Connections to the motherboard are usually through one of three interfaces:
  • Peripheral component interconnect (PCI)
  • Advanced graphics port (AGP)
  • PCI Express (PCIe)
PCI Express is the newest of the three and provides the fastest transfer rates between the graphics card and the motherboard. PCIe also supports the use of two graphics cards in the same computer.­Most graphics cards have two monitor connections. Often, one is a DVI connector, which supports LCD screens, and the other is a VGA connector, which supports CRT(cathode ray tube) screens. Some graphics cards have two DVI connectors instead. But that doesn't rule out using a CRT screen; CRT screens can connect to DVI ports through an adapter. At one time, Apple made monitors that used the proprietary Apple Display Connector (ADC). Although these monitors are still in use, new Apple monitors use a DVI connection.
Most people use only one of their two monitor connections. People who need to use two monitors can purchase a graphics card with dual head capability, which splits the display between the two screens. A computer with two dual head, PCIe-enabled video cards could theoretically support four monitors.
In addition to connections for the motherboard and monitor, some graphics cards have connections for:
  • TV display: TV-out or S-video
  • Analog video cameras: ViVo or video in/video out
  • Digital cameras: FireWire or USB
Some cards also incorporate TV tuners. Next, we'll look at how to choose a good graphics card.


Choosing a Good Graphics Card
A top-of-the-line graphics card is easy to spot. It has lots of memory and a fast processor. Often, it's also more visually appealing than anything else that's intended to go inside a computer's case. Lots of high-performance video cards are illustrated or have decorative fans or heat sinks.
But a high-end card provides more power than most people really need. People who use their computers primarily for e-mail, word processing or Web surfing can find all the necessary graphics support on a motherboard with integrated graphics. A mid-range card is sufficient for most casual gamers. People who need the power of a high-end card include gaming enthusiasts and people who do lots of 3-D graphic work.

the ATI all-in-wonder graphics card
Some cards, like the ATI All-in-Wonder, include connections for televisions and video as well as a TV tuner.


A good overall measurement of a card's performance is its frame rate, measured in frames per second (FPS). The frame rate describes how many complete images the card can display per second. The human eye can process about 25 frames every second, but fast-action games require a frame rate of at least 60 FPS to provide smooth animation and scrolling. Components of the frame rate are:
  • Triangles or vertices per second: 3-D images are made of triangles, or polygons. This measurement describes how quickly the GPU can calculate the whole polygon or the vertices that define it. In general, it describes how quickly the card builds a wire frame image.
  • Pixel fill rate: This measurement describes how many pixels the GPU can process in a second, which translates to how quickly it can rasterize the image.
The graphics card's hardware directly affects its speed. These are the hardware specifications that most affect the card's speed and the units in which they are measured:
  • GPU clock speed (MHz)
  • Size of the memory bus (bits)
  • Amount of available memory (MB)
  • Memory clock rate (MHz)
  • Memory bandwidth (GB/s)
  • RAMDAC speed (MHz)
­ The computer's CPU and motherboard also play a part, since a very fast graphics card can't compensate for a motherboard's inability to deliver data quickly. Similarly, the card's connection to the motherboard and the speed at which it can get instructions from the CPU affect its performance.

Integrated Graphics
Many motherboards have integrated graphics capabilities and function without a separate graphics card. These motherboards handle 2-D images easily, so they are ideal for productivity and Internet applications. Plugging a separate graphics card into one of these motherboards overrides the onboard graphics functions.
Keyboard shortcuts for Windows
Windows system key combinations
 * F1: Help
* CTRL+ESC: Open Start menu
* ALT+TAB: Switch between open programs
* ALT+F4: Quit program
* SHIFT+DELETE: Delete item permanently
* Windows Logo+L: Lock the computer (without using CTRL+ALT+DELETE)

Windows program key combinations
 * CTRL+C: Copy
* CTRL+X: Cut
* CTRL+V: Paste
* CTRL+Z: Undo
* CTRL+B: Bold
* CTRL+U: Underline
* CTRL+I: Italic

Mouse click/keyboard modifier combinations for shell objects
* SHIFT+right click: Displays a shortcut menu containing alternative commands
* SHIFT+double click: Runs the alternate default command (the second item on the menu)
* ALT+double click: Displays properties
* SHIFT+DELETE: Deletes an item immediately without placing it in the RecycleBin

General keyboard-only commands
* F1: Starts Windows Help
* F10: Activates menu bar options
* SHIFT+F10:Opens a shortcut menu for the selected item (this is the same as right-clicking an object)
* CTRL+ESC: Opens the Start menu (use the ARROW keys to select an item)
* CTRL+SHIFT+ESC: Opens Windows Task Manager
* ALT+DOWN ARROW: Opens a drop-down list box
* ALT+TAB: Switch to another running program (hold down the ALT key and then press the
   TAB key to view the task-switching window)
* SHIFT: Press and hold down the SHIFT key while you insert a CD-ROM to bypass the
   automatic-run feature
* ALT+SPACE: Displays the main window's System menu (from the System menu, you can
   restore, move,resize, minimize, maximize, or close the window)
* ALT+- (ALT+hyphen): Displays the Multiple Document Interface (MDI) child window's
   System menu(from the MDI child window's System menu, you can restore, move, resize,
   minimize, maximize, or close the child window)
* CTRL+TAB: Switch to the next child window of a Multiple Document Interface(MDI) program
* ALT+underlined letter in menu: Opens the menu
* ALT+F4: Closes the current window
* CTRL+F4: Closes the current Multiple Document Interface (MDI) window
* ALT+F6: Switch between multiple windows in the same program (for example,when the
   Notepad Find dialog box is displayed, ALT+F6 switches between the Find dialog box
   and the main Notepad window)

Shell objects and general folder/Windows Explorer shortcuts
 For a selected object:

* F2: Rename object
* F3: Find all files
* CTRL+X: Cut
* CTRL+C: Copy
* CTRL+V: Paste
* SHIFT+DELETE: Delete selection immediately, without moving the item to the
   Recycle Bin
* ALT+ENTER: Open the properties for the selected object

To copy a file
Press and hold down the CTRL key while you drag the file to another folder.

General folder/shortcut control
* F4: Selects the Go To A Different Folder box and moves down the entries in
   the box (if the toolbar is active in Windows Explorer)
* F5: Refreshes the current window.
* F6: Moves among panes in Windows Explorer
* CTRL+G: Opens the Go To Folder tool (in Windows 95 Windows Explorer only)
* CTRL+Z: Undo the last command
* CTRL+A: Select all the items in the current window
* BACKSPACE: Switch to the parent folder
* SHIFT+click+Close button: For folders, close the current folder plus all
   parent folders

Windows Explorer tree control
* Numeric Keypad *: Expands everything under the current selection
* Numeric Keypad +: Expands the current selection
* Numeric Keypad -: Collapses the current selection.
* RIGHT ARROW: Expands the current selection if it is not expanded, otherwise
   goes to the first child
* LEFT ARROW: Collapses the current selection if it is expanded, otherwise goes
   to the parent

Properties control
* CTRL+TAB/CTRL+SHIFT+TAB: Move through the property tabs

Accessibility shortcuts
* Press SHIFT five times: Toggles StickyKeys on and off
* Press down and hold the right SHIFT key for eight seconds: Toggles FilterKeys
   on and off
* Press down and hold the NUM LOCK key for five seconds: Toggles ToggleKeys on
   and off
* Left ALT+left SHIFT+NUM LOCK: Toggles MouseKeys on and off
* Left ALT+left SHIFT+PRINT SCREEN: Toggles high contrast on and off


Microsoft Natural Keyboard keys
* Windows Logo: Start menu
* Windows Logo+R: Run dialog box
* Windows Logo+M: Minimize all
* SHIFT+Windows Logo+M: Undo minimize all
* Windows Logo+F1: Help
* Windows Logo+E: Windows Explorer
* Windows Logo+F: Find files or folders
* Windows Logo+D: Minimizes all open windows and displays the desktop
* CTRL+Windows Logo+F: Find computer
* CTRL+Windows Logo+TAB: Moves focus from Start, to the Quick Launch toolbar,
   to the system tray (use RIGHT ARROW or LEFT ARROW to move focus to items on
   the Quick Launch toolbar and the system tray)
* Windows Logo+TAB: Cycle through taskbar buttons
* Windows Logo+Break: System Properties dialog box

Microsoft Natural Keyboard with IntelliType software installed
* Windows Logo+L: Log off Windows
* Windows Logo+P: Starts Print Manager
* Windows Logo+C: Opens Control Panel
* Windows Logo+V: Starts Clipboard
* Windows Logo+K: Opens Keyboard Properties dialog box
* Windows Logo+I: Opens Mouse Properties dialog box
* Windows Logo+A: Starts Accessibility Options (if installed)
* Windows Logo+SPACEBAR: Displays the list of Microsoft IntelliType shortcut
    keys
* Windows Logo+S: Toggles CAPS LOCK on and off

Dialog box keyboard commands
* TAB: Move to the next control in the dialog box
* SHIFT+TAB: Move to the previous control in the dialog box
* SPACEBAR: If the current control is a button, this clicks the button. If the
   current control is a check box, this toggles the check box. If the current
   control is an option, this selects the option.
* ENTER: Equivalent to clicking the selected button (the button with the
   outline)
* ESC: Equivalent to clicking the Cancel button
* ALT+underlined letter in dialog box item: Move to the corresponding item
Windows Boot-up Process

BOOTING UP

It is useful to understand what happens behind the scenes when you switch on your computer from a cold idle machine to an operable and functional system. There are essentially two forms of booting - the soft boot and the hard boot.
The cold boot or hard boot involves powering the computer up from an initial zero power supply.
A warm boot on the other hand takes place when a software application or operating system triggers the computer to perform a reboot.
A successful boot is dependent on 3 conditions - the hardware, BIOS and operating system files to function without errors. When an error occurs, you will be notified by error messages, beeping sounds or in the worst scenario, a blank screen.

BOOTUP PROCESS

The bootup process is a list of detailed procedures that the system undergoes to perform all system checks and load all necessary files to bring the computer to an operable state.

The Windows XP bootup process comprises of the following procedures:

A.THE POWER-ON SELF TEST PHASE

As soon as you power up your computer, a self-test is performed by the power supply to ensure that the volume and current levels are correct before the Power Good signal is sent to the processor. When this first stage is cleared, the microprocessor will then trigger the BIOS to perform a series of operations.
 

B. BIOS ROM PHASE

The BIOS, also known as the Basic Input Output System is a firmware or set of instructions that resides on a ROM chip as contained in the motherboard.
It first carries out the P.O.S.T that performs and verifies all initial hardware checks, such as checking if the system is initialized by a warm or cold start, detecting the presence of peripheral devices and the amount of memory present.
It then accesses the information stored in the CMOS chip, DIP switches, jumpers and assigns the necessary system resources. After this, the hardware' firmware will individually carry out its own diagnostic test such as S.M.A.R.T.
The system will now attempt to determine the sequence of devices to load based on the settings stored in the BIOS to start the operating system. It will start by reading from the first bootup device. If it points to the floppy drive, it then searches for a floppy disk. If it does not detect a bootable diskette in the floppy drive, the system displays an error message.
If the floppy drive does not contain a diskette, it bypasses the first bootup device and detects the second device, which is usually the hard disk. It'll then start by reading the boot code instructions located in the master boot record and copies all execution into the memory when the instructions are validated and no errors are found.


C. BOOT LOADER PHASE

Control is then passed on to the partition loader code which accesses the partition table to identify the primary partition, extended partitions and active partition which is needed to determine the file system and locate the operating system loader file - NTLDR. NTLDR will then switch the processor from real-mode to 32 bit protected mode which memory paging is enabled.
NTLDR will call upon the boot.ini file which is located at the root directory to determine the location and entries of the operating system boot partition. At this point in time, the bootup menu is displayed on the screen to allow you to select an operating system to start from if you have more than 2 operating systems installed in your computer.
NTLDR will pass all information from the Windows registry and Boot.ini file into Ntoskrnl.exe.


D. OPERATING SYSTEM CONFIGURATION PHASE

Ntoskrnl will begin to load the XP kernel, hardware abstraction layer and registry information. After this is completed, the control is passed over to the DOS based Ntdetect.com program which collects and configures all installed hardware devices such as the video adapters and communication ports.
Ntdetect.com then searches for hardware profiles information and load the essential software drivers to control the hardware devices.


E. SECURITY & LOGON PHASE

Lastly, Ntoskrnl.exe will start up Winlogon.exe which triggers the Lsass.exe or Local Security Administration which is the logon dialog interface that prompts you to select your user profile and verifies your necessary credentials before you are transferred to the Windows desktop.