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,

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值