Unit 12 Video Adapters and Accelerators
Unit 12 Video Adapters and Accelerators
Unit 12 Video Adapters and Accelerators
12.1 Introduction
In this unit we shall discuss about video adapters and accelerators. A user
gives raw information to the system through the input device and gets the
processed information through the output device, usually a visual display
unit, also called as monitor. This output display is made possible by a
special hardware called video adapter. This video adapter card may be a
standalone device or may be integrated into the motherboard. Display
adapter, graphics accelerator or graphics card are other names of the video
adapter. Modern video cards have most advanced features such as 2D / 3D
graphics rendering, video capturing, multiple monitor outputs and MPEG
decoding.
Manipal University Jaipur B1416 Page No.: 235
Understanding PC and Troubleshooting Unit 12
12.2.3 DirectX
DirectX is a technology from Microsoft, which is a collection of Application
Programming Interfaces (APIs) for handling tasks related to multimedia,
especially game programming and video, on Microsoft platforms. Originally,
the names of these APIs all began with the word Direct, such as Direct3D,
DirectDraw, DirectMusic, DirectPlay, DirectSound, and so forth. But later on
the name DirectX was coined to refer to all of these APIs (the X standing in
for the particular API names) and this continued to be the name of the
collection. When Microsoft developed a gaming console called ‘Xbox’, to
indicate that the console was based on DirectX technology. The initial X has
been used in the naming of APIs designed for the Xbox such as XInput and
the Cross-platform Audio Creation Tool (XACT), while the DirectX pattern
has been continued for Windows APIs such as Direct2D and DirectWrite.
For the development of video games for Microsoft Windows, Microsoft Xbox,
and Microsoft Xbox 360, 3D graphics API within DirectX (Direct3D) is being
widely used. Other software applications for visualization and graphics tasks
such as Computer Aided Design / Computer Aided Manufacturing
engineering use Direct 3D You would have observed that the terms
‘Direct3D’ and ‘DirectX’ have been used interchangeably.
The DirectX Software Development Kit (SDK) consists of runtime libraries in
redistributable binary form, along with accompanying documentation and
headers for use in coding. Originally, the runtimes were only installed by
games or explicitly by the user. Windows 95 was not launched with DirectX
but it was included with Windows 95 OEM (Original Equipment
Manufacturer) Service Release 2 Windows 98 and Windows NT 4.0 both
contained DirectX which SDK can be downloaded for free.
The new versions of DirectX such as Direct3D 9Ex, Direct3D 10 and
Direct3D 11, available only for Windows Vista and Windows 7 were built to
depend upon the new Windows Display Driver Model.
Direct3D 9Ex: this allows full access to the new capabilities of drivers while
maintaining compatibility for existing Direct3D applications. The new
Vista/Windows Display Driver Modelgraphics architecture includes a new
video memory manager that supports virtualizing graphics hardware to
multiple applications and services such as the Desktop Window Manager.
Direct3D 10: It is designed around the new driver model in Windows Vista
and featuring a number of improvements to rendering capabilities and
flexibility.
Direct3D 11: It has the major features of multithreading support to assist
video game developers in developing games that better utilize multi-core
processors.
12.2.4 Replacing / Updating an Adapter
It is important to know which type of video adapter can be used in your
system as there are three main types of video adapter upgrades available.
Add-on Video Card
Add-on video card can be physically inserted into and taken out of the
computer as an individual hardware component. It can be plugged in PCI or
AGP slots. In order to upgrade an add-on video card, you haveto remove
the old card and drivers and install the new video card and drivers.
Motherboard Video-only Chipset
This type has an integrated video along with an open AGP expansion slot.
Either you can use the motherboard’s integrated video or plug-in your own
video card in the AGP slot. Modern PCs are equipped with this setup. You
should disable the on-board video and add an AGP video card and install
drivers for the new card to upgrade to this type.
Motherboard with Integrated Video
There is only on-board video in this type.You will not find an extra AGP slot
that you can use to install a new video card. You may be able to install a
slower PCI video card or if you really want an AGP video card you can opt
for a motherboard upgrade (to one that offers an AGP slot).
Self Assessment Questions
1. The AGP technology was introduced by _______________.
2. DirectX technology is from _______________.
3. BIOS stands for _______________.
Graphics
Processor
Earlier graphics accelerators faced the hurdle of the queue being too small
(typically 16 entries) to give the host and the graphics accelerator sufficient
opportunity for parallelism. So, the host driver would commonly be stalled
waiting for the queue to free up enough space for the next operation. But in
modern graphics accelerators, you will not face this problem as the queue
has been significantly expanded usually to sizes usually above 512 entries.
While a register window retained a small queue, a portion of the graphics
memory would be used as an extension queue to the register window
queue.
Some accelerators, in order to improve queue access performance use the
ploy of memory mapping the queue to contiguous sequential addresses, to
use the PCI bursting capabilities of the host chipset.
Features and Host Feature Emulation
There are various factors which influence the marketability of graphics like:
price, how well they support games, and how well they conform to
standards. Earlier, starting in 1989, PC based graphics acceleration was
limited to 2D but with the advent of DirectDraw and Direct3D and availability
of 3D accelerated games, 3D is being preferred. 3D is not as simple as 2D
for graphic companies to deal with.
Monitor Refresh
Monitor refresh is the last factor in determining the video speed which takes
a certain amount of memory bandwidth away just to update the monitor. But
3D applications perform double buffering in order to prevent tearing or
flickering. By double buffering we mean that the trace is sent back and forth
between two frame buffers and the monitor is alternately refreshed by the
buffer. In order to repoint the monitor to refresh from a different section of
graphics RAM to avoid tearing, you have to wait until the current refresh (if
one is pending) is complete. Typically this is done by "waiting for vertical
retrace". This "wait period", however is dictated by the specifications of your
monitor, not by the performance of your CPU or graphics accelerator.
Self Assessment Questions
7. The term GPU was coined and popularized by _______________.
8. The term VPU was first introduced by _______________.
9. GPU stands for _______________.
12.6 Troubleshooting
Some typical problems encountered with video cards are discussed in this
section. Most of the problems addressed are related to specific setup issues
with the video subsystem. You should always make sure that you are using
the correct drivers for your video card. If you have any problems related to
the video subsystem, or even general instability with the system that shows
up when you are running Windows, thenbe sure that it is caused due to the
use of faulty or incorrect drivers. The video cards are generally shipped with
their drivers in a floppy-disk or CD-ROM from their manufacturers. However
the up-to-date drives can be found in their company’s website. These will
often fix many of the strange problems sometimes seen when installing a
new video card.
12.6.1 Avoiding the Basic Problem
Problems Associated with Graphics/Video Cards and Devices
Video cards, graphics cards, and other 2D/3D graphic accelerator cards are
bunched with the corresponding device drivers that are essential for the
proper function and performance of the graphics device. Sometimes these
old device drivers may not work properly if you upgrade your motherboard,
processor or operating system. Under these circumstances you need to
uninstall the old drivers, download the latest drivers suitable for the
upgraded motherboard, processor or operating system and then reinstall it.
Resolving Installation Problems with Driver Detective
The device driver update tool called Driver Detective can be used to update
Graphics and video device drivers quickly and accurately. The Driver
Detective tool can identify individual graphics and video cards with driver
problems. They can also automatically download the most up-to-date
drivers suitable for a particular motherboard, processor and/or operating
system.
If you encounter difficulties like crashing, hanging, freezing, etc. Then it
means that the display adapter has some problem. In case your video card
displays some things incorrectly then you may be able to identify the
problem by comparing your screen errors with examples screenshots. This
section contains some screenshots of video cards which show different
kinds of visual problems. But if your video card crashes or hangsthen it
isoften difficult to find the cause because there could be various other
reasons displaying the same signs. You could carry out some standard
procedures to set right the problem. As a last resort you could seek the help
of support forumsBut before trying these proceduresit is advisable to create
a system restore point as described below. A restore point allows you to
undo software changes you make while trying to solve your video card
problem.
1. Install the latest motherboard chipset drivers
2. Uninstall your old display drivers and then install the latest display
drivers
3. Disable your sound system
4. Disable your AGP port
5. Do physical checks
6. Test your CPU and RAM
7. Check your power supply
12.6.2 Missing Display Options
Missing display is a common problem in which the operating system, such
as Windows XP, does notappear on the screen. In other words, the
computer starts up but nothing appears on the monitor. Assuming that your
monitor is in good condition, your next step should be to take a look at the
video card.
This particular problem can be caused from several different things such as
a video card that is not properly seated or a loose connection from the video
card to the monitor. Troubleshooting this problem will require you to locate
the video card inside your computer and verify the following:
Assuming that the video card adapter is separate from the motherboard,
you should check that the card is properly seated. Sometimes one end
of the card may creep out of the slot when it is initially screwed in
resulting in no display appearing on the monitor.
Verify the correct jumper settings for video cards that are mounted to the
motherboard by checking the documentation that camewith the
hardware.
The cable running from the monitor to the video port may also be broken
or there may be a loose contact. Examine the monitor cable to ensure
that there are no broken or bent pins. A bent pin can usually be
straightened using a pair of sharp-nosed pliers. Also check that the
cable running from the monitor to the VGA port is secure.
Select the Properties button under Adapter Type to locate specific driver
information including the driver version. You can find the version information
beside the Driver Version field. Compare this version with the latest version
on the manufacturer's Web site. If the driver needs to be updated complete
steps four through seven listed under the section entitled “Updating Video
Drivers”. If the latest driver is installed, you may need to adjust the
resolution and refresh rate (this is the rate at which the video card redraws
the screen) for the video adapter card. Incorrect display settings can cause
problems with your display.
Screen Resolution
In order to configure display settings, right click the Windows XP desktop
and click Properties to open the Display Properties dialog box. Then select
the Settings tab as shown in Figure 12.3 to change the resolution settings.
Use the slider under Screen resolution to adjust the settings. Normally, a 17
inch monitor will have a default resolution of 800x600.
Once again, select the Settings tab and click the Advanced button. Select
the Monitor tab as shown in Figure 12.4. Use the drop down arrow to adjust
the refresh rate to about 70 MHZ. Remember that a higher refresh rate will
reduce the amount of flickering. As with the screen resolution, if you are
unable to select the desired refresh rate, go back to the video driver to make
sure the latest one is installed. Use the Monitor tab to adjust the refresh
rate.
It is important to verify that the monitor supports the screen resolution and
refresh rate configured in the Display Properties dialog box. You should
refer to the documentation or manual that came with your monitor in order to
identify the values that are supported.
Problems Displaying Videos or Animations
You will encounter problems with videos and animations, if the display
adapter driver does not support DirectDraw. If videos and animations are
not correctly displayed on the monitor, you should first determine if the video
card adapter driver supports DirectDraw which can be accomplished using
the DirectX Diagnostic Tool. Then from the Run command type DxDiag.exe
and click OK. From the Display tab, click the Test DirectDraw button.
Windows XP will perform a series of tests. If your display does not pass
each of the tests, you will need to update the video adapter.
If updating the video adapter driver does not solve the problem, verify that
your video card is indeed supported by the operating system installed on
your computer. If you are running Windows, you can check the Hardware
Compatibility List (HCL) to determine if the video card adapter is supported.
Updating Video Drivers
Faulty or incorrect video drivers can result in such things as operating
system instability, video subsystem problems, and so on.Most video cards
come with drivers on a floppy disk or a CD-ROM. You can use the drivers
that came with the hardware or visit the manufacturer's Web site to obtain a
more recent one. The drivers should come with a text file outlining the
installation process.
The first step in updating the driver is to identify the make and model of your
video card. In Windows XP, you can see a list of all the hardware
components within Device Manager. The video card should be listed under
Display Adapters as shown in Figure 12.5. However, if it is has not been
recognized by Windows XP, it may be listed under Unknown Devices.
Double click on the video adapter listed to identify the make and model. This
information can be used to retrieve the latest driver from the manufacturer's
Web site. Device Manager will list the Display Adapter installed in the
computer.
If you are running Windows XP, you can update a device driver using the
steps listed below:
1. Right click My Computer and click Properties.
2. From the Hardware tab, click Device Manager.
3. Within Device Manager, double-click the video adapter listed under
Display Adapters.
4. Click Update Driver as shown in Figure 12.6 to open the Hardware
Update Wizard.
5. Accept the default option, Install the Software Automatically.
Choose the Install from a List or Specific Location option if you
have the updated driver so you can indicate the file location. Click
Next.
6. Windows searches for an updated driver and instructs you if an
updated driver has been found.
7. Click Finish once the updated driver has been installed.
12.7 Summary
Let’s recapitulate important concepts discussed in this unit:
Video adapter is a board that plugs into a personal computer to give it
display capabilities. Those capabilities of a computer, however, depend
on both the logical circuitry (provided in the video adapter) and the
display monitor.
DirectX is the technology from Microsoft, which is a collection of
Application Programming Interfaces (APIs) for handling tasks related to
multimedia, especially game programming and video, on Microsoft
platforms.
The video display hardware can be broadly classified into non-
accelerated and accelerated cards.
A Graphics Processing Unit or GPU (also occasionally called visual
processing unit or VPU) is a specialized microprocessor that offloads
and accelerates graphics rendering from the central processor. It is used
in embedded systems, mobile phones, personal computers,
workstations, and game consoles.
Video cards, graphics cards, and other 2D/3D graphic accelerator cards
are bundled with the corresponding device drivers that are essential for
the proper function and performance of the graphics device.
12.8 Glossary
Term Description
GPU GPU (Graphics Processing Unit) islike CPU (Central Processing
Unit).It is a dedicated processor designed for accelerating video
and 3D graphics rendering.
Video BIOS This is the firmware that contains the basic program that
controls the basic operations of the video card, including
interaction with the computer and the software applications.
Video Memory It provides the memory needs of the GPU and the display
unit.Generally video memory ranges from 128MB to 4GB.
However new and emerging graphics cards contain more
memory.
RAMDAC RAMDAC (Random Access Memory Digital-to-Analog
Converter) converts digital signals to analog signals. These
analog signals were used in old CRT displays. However new
LCD displays do not require the RAMDAC.
DirectX DirectX is the technology from Microsoft, which is a collection of
Application Programming Interfaces (APIs) for handling tasks
related to multimedia, especially game programming and video
on Microsoft platforms.
VRAM VRAM (Video RAM) isa kind of RAM technology that could allow
multiple accesses per cycle (one for video refresh, and one for
accelerator output).
RAMBUS RAMBUS is a technology, wherein the RAM is partitioned over
multiple buses.
12.10 Answers
Self Assessment questions
1. Intel
2. Microsoft
3. Basic Input Output System
4. Accelerated, Non-accelerated
5. Dynamic Random Access Memory
6. Video Random Access Memory
7. NVIDIA
8. ATI Technologies
9. Graphics Processing Unit
10. Katmai New Instructions
11. Multi Media Extension
12. DxDiag.exe
Terminal Questions
1. Refer section 12.2: Conventional Video Adapters
2. Refer section 12.3: Classification of Video Display Hardware
3. Refer section 12.4.1: Issues in Video Performance
4. Refer section 12.6.1: Avoiding the Basic Problem
References:
Troubleshooting, Maintaining and Repairing PC’s by Stephen J.
Bigelow, TMH
The Indispensable PC Hardware Book by Messmer (Addison Wesley-
Third Edition)
E-References:
http://www.wisegeek.com/what-is-a-graphics-adapter.htm