当xrandr方法不起作用时,如何将显示器设置为其原始分辨率?

我正在尝试在ubuntu 12.04中设置我的三星syncmaster B2030显示器。 它的原始分辨率是1600×900,我没有进入ubuntu,我想要得到它。

我尝试使用这些url中提供的xrandr方法:1) http://www.ubuntugeek.com/how-change-display-resolution-settings-using-xrandr.html 2) 如何将监视器设置为其原始分辨率,即没有列在决议清单中?

S1)我用过

cvt 1600 900 60 

获得模式。 产量是:

 # 1600x900 59.95 Hz (CVT 1.44M9) hsync: 55.99 kHz; pclk: 118.25 MHz Modeline "1600x900_60.00" 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync 

S2)然后我用了

 xrandr 

和输出是:

 Screen 0: minimum 8 x 8, current 1152 x 864, maximum 8192 x 8192 DVI-I-0 disconnected (normal left inverted right x axis y axis) VGA-0 connected 1152x864+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1024x768 60.0 + 1360x768 60.0 59.8 1152x864 60.0* 800x600 72.2 60.3 56.2 680x384 119.9 119.6 640x480 59.9 512x384 120.0 400x300 144.4 320x240 120.1 DVI-I-1 disconnected (normal left inverted right x axis y axis) HDMI-0 disconnected (normal left inverted right x axis y axis) 

这给了我“VGA-0”。

S3)然后我用了

 xrandr --newmode "1600x900_60.00" 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync 

但不是添加模式,它只是抛出一个错误:

 X Error of failed request: BadName (named color or font does not exist) Major opcode of failed request: 153 (RANDR) Minor opcode of failed request: 16 (RRCreateMode) Serial number of failed request: 29 Current serial number in output stream: 29 

我的系统详情:

1)ubuntu 12.04 LTS

2)显卡:GeForce 9400 GT / PCIe / SSE2(驱动程序安装成功。我在系统设置>详细信息中检查它。它显示安装了驱动程序及其“GeForce 9400 GT / PCIe / SSE2”)

3)显示器:三星syncmaster B2030

4)我得到的决议:

 800x600 1024x768 1152x864 (I am currently using this one) 1360x768 (this one isn't working properly) 

有谁知道我能做什么?

提前致谢。

更新(1):

今天我再试一次。 并添加一个模式行(使用–newmode)工作。 但是当我使用–addmode时:

 xrandr --addmode VGA-0 1600x900_60.00 

它给出了这个错误:

 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 153 (RANDR) Minor opcode of failed request: 18 (RRAddOutputMode) Serial number of failed request: 29 Current serial number in output stream: 30 

BadName表示它将.00解释为特殊字符。 只需更改新模式的名称,删除小数点后面的所有内容,但附加单个字母或尝试VGA。 请注意,newmode名称周围有双引号,但在将其添加到特定输出或设置监视器模式时不会。

 $ cp off your xorg.conf file just in case. $ xrandr --newmode "1600x900_60VGA" 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync $ xrandr --verbose --addmode VGA-0 1600x900_60VGA $ xrandr --verbose --output VGA-0 --mode 1600x900_60VGA