我遇到了一些 NVidia 驱动程序问题。当我安装 Ubuntu 14.04 时,屏幕分辨率无法检测到 1280x1024 模式。我使用 xrandr 创建了 1280 x 1024 模式。安装 NVidia 驱动程序后,我无法将分辨率设置为 1280x1024。检测到了错误的分辨率。
如果我运行 xrandr:
Screen 0: minimum 8 x 8, current 1152 x 864, maximum 8192 x 8192
DVI-I-0 connected primary 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 60.0 59.8
640x480 59.9
512x384 60.0
400x300 72.2
320x240 60.1
DVI-I-1 disconnected (normal left inverted right x axis y axis)
TV-0 disconnected (normal left inverted right x axis y axis)
DVI-I-2 disconnected (normal left inverted right x axis y axis)
DVI-I-3 disconnected (normal left inverted right x axis y axis)
1280x1024_60 (0x26f) 108.0MHz
h: width 1280 start 1344 end 1456 total 1688 skew 0 clock 64.0KHz
v: height 1024 start 1025 end 1028 total 1066 clock 60.0Hz
1280x1024_60.00 (0x27a) 108.9MHz
h: width 1280 start 1360 end 1496 total 1712 skew 0 clock 63.6KHz
v: height 1024 start 1025 end 1028 total 1060 clock 60.0Hz
1280x1024_75.00 (0x27d) 138.5MHz
h: width 1280 start 1368 end 1504 total 1728 skew 0 clock 80.2KHz
v: height 1024 start 1025 end 1028 total 1069 clock 75.0Hz
1280x1024_59.00 (0x27f) 107.0MHz
h: width 1280 start 1360 end 1496 total 1712 skew 0 clock 62.5KHz
v: height 1024 start 1025 end 1028 total 1059
当我尝试添加新模式时:
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: 31
Current serial number in output stream: 32
由于我使用了 D-sub 适配器,因此我的连接不是 DVI。
答案1
你可以尝试一下,打开这个文件
sudo gedit /etc/X11/xorg.conf
并将此行添加到设备部分
Option"ModeValidation" "NoMaxPClkCheck"
然后重启