今天安装一台新机,用ATI双头显卡接两台19寸的LCD,最佳分辨率为 1440×900
双屏显示是没有,但主屏的分辨率只有1024×768,非常不爽,放狗一下,其实解决方法真的很简单。
按以下命令执行一下就好了:
1) 先查看Mode的参数:
#cvt 1440 900
输出结果
#Modeline “1440x900_60.00” 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync
输出的参数下面会用到
2)向系统添加一个新mode,执行
#xrandr –newmode “1440x900_60.00” 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync
3)查看一下新mode是否已经加入
#xrandr
Screen 0: minimum 320 x 200, current 2880 x 900, maximum 8192 x 8192
DIN disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1440×900+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024×768 60.0
800×600 60.3 56.2
848×480 60.0
640×480 59.9
1440x900_60.00 59.9*
DVI-1 connected 1440×900+1440+0 (normal left inverted right x axis y axis) 408mm x 255mm
1440×900 59.9*+ 75.0
1280×1024 75.0 60.0
1280×800 59.8
1152×864 75.0
1024×768 75.1 70.1 60.0
832×624 74.6
800×600 72.2 75.0 60.3 56.2
640×480 72.8 75.0 66.7 60.0
720×400 70.1
4)让新mode生效
#xrandr –addmode DVI-0 “1440x900_60.00”
留意 DVI-0对应上面的,自己也可以按自己的实际情况来定义,因为本人的是两个DVI口,最佳分辨率也按实际情况定义吧!