With the fierce competition in the market for 3D graphics display chips, some old 3D display chip manufacturers such as S3, 3Dfx, Matrox, and Trident have gradually withdrawn from the market. NVIDIA, ATi, and Intel have a market share of more than 95%. Installing a 3D graphics driver in Linux is difficult. To upgrade the Linux driver, you need to make a series of decisions, including correctly identifying the processor configuration and identifying the Linux kernel in which the driver works. The Graphic Display System Used in Linux is
With the fierce competition in the market for 3D graphics display chips, some old 3D display chip manufacturers such as S3, 3Dfx, Matrox, and Trident have gradually withdrawn from the market. NVIDIA, ATi, and Intel have a market share of more than 95%. Installing a 3D graphics driver in Linux is difficult. To upgrade the Linux driver, you need to make a series of decisions, including correctly identifying the processor configuration and identifying the Linux kernel in which the driver works. The Graphic Display System Used in Linux is X-Window, but it is very different from the common MS Windows system, even if you are faced with a very small problem, you do not know how to solve it. For example, you cannot drive the video card, display parameter error, flat screen, or GUI cannot be started. Here we will first describe the overview of X-Window, how to install drivers for mainstream 3D graphics cards, related configuration files, and parameter adjustments. The application environment in this article is RedHat Linux 9.0.
I. Overview of X-Window and video card configuration files
XFree86 is an open-source implementation of the X Window System. It provides a Client-Server interface for the mouse, keyboard, video card, and window graphics environment. Therefore, the client program can run on different hosts, and a Server provides the X Window Server service. X Client sends the desired image to X Server, X Server displays the image on the monitor, and provides the mouse and keyboard input service for X Client. The Server and Client of X can be run on two computers respectively, and the Server and Client running on the same computer can be started with the startx command, after running startx, XFree86 is started first, which is the most common X Server on the Linux platform. Then, the Client program of X is run, such as startkde (KDE Startup Program) or gnome-session (the Startup Program of GNOME). They connect to the X Server of the local machine using the X protocol and display the image. The C/S structure of X-Window also has the network characteristics that Microsoft does not have. In this way, the Server and Client of X can be run on two computers respectively, and some software can even be installed, use Windows as X Server and Linux as Client to display desktop environments such as KDE and GNOME to Windows hosts. X-Window working principle.
The X Server program in Linux is XFree86, which is used to drive display cards, monitors, mice, keyboards, and other devices to provide display services and input services for X Client. The main XFree86 files are:
Main directory of/usr/X11R6 XFree86 File
Executable program file/usr/X11R6/bin XFree86
/Usr/X11R6/lib/modules/drivers directory of the driver that comes with XFree86
/Etc/X11 X configuration file and Startup Script directory
/Etc/X11/XF86Config or XF86Config-4 XFree86 startup Profile
XFree86 comes with drivers for some devices, which are located in/usr/X11R6/lib/modules/drivers. If your display card is too new to use X-Window, you can consider upgrading XFree86.