Introduction to Fedora Display Device Configuration Tool

Source: Internet
Author: User
Article Title: Fedora Display Device Configuration tool introduction. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic categories. When we use a Linux desktop environment, sometimes screen offset or resolution is too low, there are two solutions in total: one is to install the display card as a driver, and the other is to adjust it through the gtf tool provided by the xorg-x11 package;

1. display the set management tools;

In Fedora, the configuration tool for the display and display card is system-config-display, which exists in the software package system-config-display, if you do not have this command or cannot find this tool on the menu, you can install it on your own;

[beinan@localhost ~]# rpm -q system-config-display
system-config-display-1.0.29-1

Without the above prompt, you can install the software by using the software package management tool system-config-packages; or find the installation package from the disc image;

[beinan@localhost ~]# rpm -ivh system-config-display*

Call Method


[Beinan @ localhost ~] # System-config-display
Or
[Beinan @ localhost ~] #/Usr/bin/system-config-display

This tool is relatively simple and can be configured based on the configurations of your machine;It is worth noting that if you use an LCD, you must choose an LCD;

2. Display Card Driver;

The driver of the display card can provide stronger functions, such as supporting 3D functions. In addition, the screen resolution and other problems are related to whether the display card has a driver. in the case of default installation of the system, the driver of the display card does not support 3D. The driver of the display card must be available for the system to support 3D;

Unfortunately, not all display cards have officially released Unix-like drivers. Currently, NVidia display cards are strongly supported. ATI display cards can be officially supported, according to the official instructions of AIT, the official driver is available only when the display card version is higher than 8500;

If you are using Fedora Core 4.0, you should upgrade the display card driver online. For more information, see linux.chinaitlab.com/driver/39966.html ">" apt + synaptic is Fedora core 4.0, where Nvida chip display card and Ati card display driver are installed."

We can use the graphic adjustment tool provided by the official display card to adjust the display properties. It is extremely simple. Click the mouse to complete, similar to Windows. After the ATI and NVIDIA drivers are installed, you can find a graphical Configuration tool on the menu;

If you use Intel 855 Integrated Display Card, refer to linux.chinaitlab.com/driver/39949.html "> Intel set resolution adjustment tool 855 resolution


3. handling non-NVidia and ATI display cards or desktop display problems not supported by ATI manufacturers;

If you use system-config-display, you cannot solve your display problems, such as screen offset and resolution failure. You can use the gtf tool to try it;

1. Which package does the gtf tool come from;

Gtf is from the software package xorg-x11, generally, if you have installed the desktop environment, there is this tool; most of the systems are installed by default;

2. What is gtf;

Gtf-calculate vesa gtf mode lines indicates the GTF mode command line Tool Driven by VESA;

What is gtf? Gtf (generalized timing formula), the general program time, defines the time required to generate the screen, including, for example, the screen update rate), and gtf is also an industrial standard for display devices; GTF can be used to automatically adjust the screen size;

We use the gtf tool to calculate the screen size and resolution of the display, and then insert the calculated value to xorg. in the conf configuration file, you can automatically adjust the display size, position, and resolution of the screen;


3. gtf usage;


 gtf h-resolution v-resolution refresh [-v|--verbose] [-f|--fbmode] [-x|--xorgmode]

For example, my monitor supports 1024x768 and can reach 85 HZ in X mode;

[beinan@localhost ~]# /usr/X11R6/bin/gtf 1024 768 85 -x
  # 1024x768 @ 85.00 Hz (GTF) hsync: 68.60 kHz; pclk: 94.39 MHz
  Modeline "1024x768_85.00" 94.39 1024 1088 1200 1376 768 769 772 807 -HSync +Vsync

Insert a line of Modeline from the above output information to the display (Monitor) configuration section in the/etc/X11/xorg. conf configuration file. After adding it, It is similar;
Section "Monitor"
        Identifier "Monitor0"
        VendorName "Monitor Vendor"
        ModelName "LCD Panel 1280x1024"
        HorizSync 31.5 - 67.0
        VertRefresh 50.0 - 75.0
        Option "dpms"
Modeline "1024x768_85.00" 94.39 1024 1088 1200 1376 768 769 772 807 -HSync +Vsync
EndSection

After the modification, restart X and switch to the desktop mode again;

4. xdpyinfo tool;

We adjusted the properties of the display using the gtf tool. We can see if it is feasible by observing it. For example, the screen is not flashing too much, and the display area is in the center of the display; however, we also have a test tool xdpyinfo to test our adjustment;

Xdpyinfo-display information utility for X (used for testing the display information of X );

[beinan@localhost ~]$ /usr/X11R6/bin/xdpyinfo

Through this output, we can see a lot of information, the most important of which is the following section;
default screen number: 0
number of screens: 1
screen #0:
  dimensions: 1024x768 pixels (302x232 millimeters)
  resolution: 86x84 dots per inch
  depths (7): 24, 1, 4, 8, 15, 16, 32
  root window id: 0x3f
  depth of root window: 24 planes

We can go to xorg. conf defines multiple display screens, such as 1024x768; x; the sequence of Logo symbols defined on the display starts from 0, and so on; in fact, it is enough to define one screen; the default value is generally enough. If we adjust it ourselves, add the 1024x768 similar to the Modes line with 24 colors in the screen, and set the default color depth to 24;
Section "Screen"
        Identifier "Screen0"
        Device "Videocard0"
        Monitor "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport 0 0
                Depth 16
                Modes "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport 0 0
                Depth 24
                Modes "1280x1024" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

In fact, we can delete the section with a color depth of 16 or add the # sign in front of each line below; because we use 24;

SubSection "Display"
                Viewport 0 0
                Depth 16
                Modes "800x600" "640x480"
EndSubSection

If we change the value of 24 in defadedepth 24 to 16, this section takes effect;

Postscript:Revise and supplement the document on property configuration;

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.