CentOS7設定解析度

CentOS7設定解析度

Step1:先開啟Terminal

Step2:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[root@localhost ~]# xrandr

Screen 0: minimum 320 x 200, current 1920 x 1600, maximum 16384 x 16384
DVI-I-1 connected primary 1920x1600+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
1920x1080 60.00 +
1600x1200 60.00
1680x1050 59.88
1280x1024 75.02 60.02
1440x900 59.90
1280x960 60.00
1280x800 74.93 59.91
1152x864 75.00
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 59.94
720x400 70.08
1900x1200 60.00
1920x1600 60.00*
HDMI-1 disconnected (normal left inverted right x axis y axis)
VGA-1 disconnected (normal left inverted right x axis y axis)

PS:看是DVI-I-1 或 HDMI-1 或 VGA-1 哪一種介面 connected

Step3:

1
2
3
4
[root@localhost ~]# gtf 1920 1600 60 -x

# 1920x1600 @ 60.00 Hz (GTF) hsync: 99.36 kHz; pclk: 260.72 MHz
Modeline "1920x1600_60.00" 260.72 1920 2064 2272 2624 1600 1601 1604 1656 -HSync +Vsync

Step4:

1
2
3
[root@localhost ~]# xrandr --newmode "1920x1600" 260.72 1920 2064 2272 2624 1600 1601 1604 1656 -HSync +Vsync

PS:newmode 後面必須要接 Modeline 後面的參數

Step5:

1
[root@localhost ~]# xrandr --addmode DVI-I-1 1920x1600

Step6:

1
[root@localhost ~]# xrandr --output DVI-I-1 --mode 1920x1600