linux 显示器刷新率,Linux下显示器分辨率及刷新率设置(Linux lower monitor resolution and refresh rate Settings).doc...

Linux下显示器分辨率及刷新率设置(Linux lower monitor resolution and refresh rate Settings)

Linux下显示器分辨率及刷新率设置(Linux lower monitor resolution and refresh rate Settings)

1. View the graphics card information

Glxinfo | grep-i rend

Direct rendering: Yes

Run this command, and if the display is not "Yes", then you need to install the driver yourself (the graphics card).

1. Execute on Linux terminal:

[root @localhost ~] # glxinfo | grep-i rend

If you want to find out why, try setting LIBGL_DEBUG = verbose.

OpenGL renderer string: Mesa GLX Indirect

2. In TXT mode:

[root @localhost ~] # glxinfo | grep-i rend

Error: unable to open the display

The result is different for the reason: the X terminal is separated from the text mode (console), and under the console, the graphics driver is not enabled, so the information is not available.

Ii. Display resolution and refresh rate setting

1. The display resolution and refresh rate setting of the X terminal

The refresh rate and resolution can be set in /etc/x11/xorg.conf

(1) setting of display line (horizontal resolution) and field frequency (vertical resolution)

There is a similar section in xorg.conf:

Section "Monitor"

Identifier "Monitor0"

VendorName Monitor "Vendor"

ModelName "206 studio"

HorizSync 30.0 to 70.0

VertRefresh 50.0 to 160.0

EndSection

In the case of sync sync, VertRefresh is the set of display line (horizontal resolution) and field frequency (vertical resolution)

Depending on the performance of the display, their values determine the range of possible values for display resolution and refresh frequency.

(2) the setting of first and optional resolutions

There is a similar section in xorg.conf:

Section "Screen"

Identifier "Screen0"

Device "Videocard0"

The Monitor "Monitor0"

DefaultDepth 24

SubSection "Display"

The Depth of 24

"Modes" : "1024x768" "800x600" "640x480" "1280x1024"

EndSubSection

EndSection

Line:

"800 x600" Modes "1024 x768" "640 x480"

Three optional resolutions are set, and the top one is the preferred resolution, which is generally effective. When X starts, if the preferred resolution is invalid,