PC Architecture. A book by Michael B. Karbo

Copyright Michael Karbo and ELI Aps., Denmark, Europe.


  • Next chapter.
  • Previous chapter.


    Chapter 37. Data for the monitor

    I have several times mentioned the AGP port, which is directly connected to the CPU and RAM. It is a high-speed port used for the video card, which has it’s own RAM access.

    Figure 151. AGP is a high-speed bus for the video card, developed by Intel.

    About screens and video cards

    As users, we communicate with PC programs via the screen. The screen shows us a graphical representation of the software which is loaded and active in the PC. But the screen has to be fed data in order to show a picture. This data comes from the video card, which is a controller.

    Screens can be analogue (the traditional, big and heavy CRT monitors) or digital devices, like the modern, flat TFT screens. Whatever the case, the screen has to be controlled by the PC (and ultimately by the CPU). This screen control takes place using a video card.

    A video card can be built in two ways:

  • As a plug-in card (an adapter).

  • Integrated in chips on the motherboard.

    Finally, the video card can be connected either to the PCI bus, the AGP bus or the PCI Express x16 bus.

    Big bandwidth

    Traditionally, the video card (also called the graphics card) was connected as an I/O device. This meant that data for the video card was transferred using the same I/O bus which looks after data transfer to and from the hard disks, network card, etc.

    In the late 1990’s, the demands placed on the graphics system increased dramatically. This was especially due to the spread of the many 3D games (like Quake, etc.). These games require enormous amounts of data, and that places demands on the bus connection. At that time, the video card was connected to the PCI bus, which has a limited bandwidth of 133 MB/sec. The same bus, as just mentioned, also looks after the hard disk and other I/O devices, which all need bandwidth. The PCI bus therefore became a bottleneck, and the solution to the problem was to release the video card from the I/O bus.

    Figure 152. The data path to the video card before the AGP standard.

    AGP

    AGP (Accelerated Graphics Port) is a special I/O port which is designed exclusively for video cards. AGP was developed by Intel. The AGP port is located close to the chipset’s north bridge.

    Figure 153. The AGP slot can be seen on this motherboard, left of the three PCI slots.

    The video card port was moved from the south to the north bridge. The new architecture gives optimal access to RAM and hence to the bandwidth which the 3D games require.

    At the same time, the PCI system is spared from the large amount of graphic data traffic to and from the video card. It can now focus on the other intensive transfer tasks, such as transfer to and from the network adapter and disk drive.

    Figure 154. AGP Video card from ATI.

    Technical details

    AGP consists of a number of different technical elements, of which I will highlight two:

  • A bus structure built around a double-clocked PCI bus.

  • The ability to use the motherboard RAM as a texture cache.

    The texture cache is used by games, and by giving access to the motherboard RAM, less RAM is needed on the cards.

    The AGP bus is actually a 64-bit variant of the PCI bus. You can also see that on the surface, the motherboard AGP slot looks a fair bit like a PCI slot. But it is placed in a different position on the motherboard, to avoid confusion (see Fig. 156). The slot also has a different colour.

    The first version of AGP was 1X, with a bandwidth of 254 MB/sec. But AGP was quickly released in a new mode, called 2X, with 508 MB/sec.

    Later came 4X and 8X, which are the standards today. This involves a clock doubling, just as we have seen, for example, with DDR RAM. Two or four data packets are sent for each clock pulse. In this way, a bandwidth of 2,032 MB/sec has been reached.

    Texture cache and RAMDAC

    Textures are things like backgrounds in games. They can be uploaded directly from RAM to the video card. The system is called DIME (Direct Memory Execute). This allows the video card memory to be extended using standard RAM on the motherboard. In Fig. 155 you can see the system shown graphically.

    In this figure you can also see the RAMDAC device. This is a chip on the video card which looks after the “translation” of digital data into analogue signals, when the card is connected to an analogue screen. The RAMDAC is a complete little processor in itself; the higher it’s clock frequency, the higher the refresh rate with which the card can supply the screen image.

    Figure 155. The AGP bus provides direct access to RAM.

    Video card on PCI Express

    With the new PCI Express bus, we get a new system for the video card. Replacing the AGP, the PCI Express X16-bus offers a transfer of 8 GB/sec, which leaves plenty of room for even the most graphical-intensive pc games.

    Figure 156. The black PCI Express X16-slot to the left is for the video card.


  • Next chapter.
  • Previous chapter.