Ubuntu 12.10. 无法添加自定义分辨率

Ubuntu 12.10. 无法添加自定义分辨率

系统:Ubuntu 12.10、nVidia Geforce GT240(nvidia-current privative 驱动程序)、LG 显示器连接到 VGA-0

没有列出 1920x1080 分辨率,我已在 Windows 中添加了它,但在执行相同的 Ubuntu 时遇到了问题。

步骤 1)获取 modeline

$ cvt 1920 1080

步骤 2)创建自定义模式

$ xrandr --newmode "1080p"  172.80  1920 2040 2248 2576  1080 1081 1084 1118  -HSync +Vsync

步骤 3)添加自定义模式

$ xrandr --addmode VGA-0 "1080p"

然后我收到这个错误:

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

xrandr 输出是

Screen 0: minimum 8 x 8, current 1152 x 864, maximum 8192 x 8192
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-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
  1080p (0x2f7)  172.8MHz
        h: width  1920 start 2040 end 2248 total 2576 skew    0 clock   67.1KHz
        v: height 1080 start 1081 end 1084 total 1118           clock   60.0Hz

难道我做错了什么?

答案1

好的,这对我有用。

1)编辑/etc/X11/xorg.conf

2)在部分“监视器”, 改变水平同步垂直刷新设置为正确的值(请参阅用户手册中的显示器规格)。这很重要,否则您的显示器可能会出现“信号超出范围/同步”错误(如果您犯了这个错误,请按 ctr+alt+f1 并编辑xorg配置文件从控制台)。

Section "Monitor"

    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "CRT-0"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

3)在部分“屏幕”添加此行。

Option "ModeValidation" "AllowNonEdidModes, NoVirtualSizeCheck, NoMaxPClkCheck, NoWidthAlignmentCheck, NoExtendedGpuCapabilitiesCheck"

4)重新启动系统。

5)xrandr——添加模式仍然无法使用,但您将有更多分辨率可用。查看我的新兰德输出:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 8192 x 8192
VGA-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       75.0 +   70.1     60.0  
   1920x1200      60.0  
   1920x1080      60.0*    59.9  
   1792x1344      60.0  
   1680x1050      74.9     69.9     60.0     59.9  
   1600x1200      65.0     60.0  
   1440x900       59.9  
   1400x1050      74.8     70.0     60.0  
   1360x768       60.0     59.8  
   1280x1024      75.0     60.0  
   1280x960       60.0  
   1152x864       75.0     75.0     70.0     60.0  
   960x600       120.0  
   960x540       120.0  
   840x525       149.9    139.8    120.0    119.8  
   832x624        74.6  
   800x600        75.0     72.2     60.3     56.2  
   720x450       119.8  
   700x525       149.5    120.0  
   680x384       119.9    119.6  
   640x480        75.0     72.8     59.9  
   512x384       140.1    120.0  
   400x300       144.4  
   320x240       145.6    120.1  
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)

相关内容