Introduction to fedora Display Device Configuration Tool

Source: Internet
Author: User
When we use the Linux desktop environment, sometimes the screen offset or resolution is too low. There are two solutions in total. One is to install the display card with the driver, another approach is to adjust through the GTF tool provided by the xorg-x11 software 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

<Code>
[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), GeneralProgramTime, which defines the time required to generate the screen, including the screen refresh rate). 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 85Hz in X mode;

[Beinan @ localhost ~] #/Usr/x11r6/bin/GTF 1024 768 85-x
#1024x768 @ 85.00Hz (GTF) hsync: 68.60 kHz; pclk: 94.39 MHz
Modeline "1024x768_85.00" 94.39 1024 1088 1200 1376 768 769-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-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 define multiple display screens in Xorg. conf, such
1024x768; X; the sequence of the logo symbols defined by the display screen starts from 0, and so on; in fact, it is enough to define one; the default is normal; if we adjust it ourselves
Similarly, 1024x768 is added to the modes line of the color depth 24 in the screen; then, 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;

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.