我正在尝试设置该监视器:
http://commercial.asus.com/product/detail/vs247h-p-lcd-monitor
我可以连接显示器并在各种屏幕配置中使用它,但还无法将其设置为正确的 1:1 分辨率。
此显示器的分辨率为1920 x 1080
。当我插入 VGA 电缆时,此选项不会出现在“显示”GUI 中。因此,我尝试按照此处的说明添加分辨率:
https://wiki.ubuntu.com/X/Config/Resolution
我的尝试:
$ cvt 1920 1080
\# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
$ xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
$ xrandr --addmode CRT1 1920x1080_60.00X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 156 (RANDR)
Minor opcode of failed request: 18 (RRAddOutputMode)
Serial number of failed request: 29
Current serial number in output stream: 30
两台不同的笔记本电脑也发生了同样的事情。
如果有帮助的话,这就是输出的样子xrandr
(对于其中一台笔记本电脑):
$ xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 1600 x 1600
LVDS connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
1366x768 60.0*+
1360x768 60.0
1280x768 60.0
1280x720 60.0
1024x768 60.0
1024x600 60.0
800x600 60.0
800x480 60.0
640x480 60.0
DFP1 disconnected (normal left inverted right x axis y axis)
CRT1 connected 1360x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1600x1200 60.0 +
1400x1050 60.0
1600x900 60.0
1280x1024 60.0
1440x900 59.9
1280x960 60.0
1360x768 60.0*
1280x800 59.8
1152x864 60.0
1280x768 59.9
1280x720 60.0
1024x768 60.0
1024x600 60.0
800x600 60.3
800x480 60.0
720x480 60.0
640x480 59.9
1920x1080_60.00 (0xef) 173.0MHz
h: width 1920 start 2048 end 2248 total 2576 skew 0 clock 67.2KHz
v: height 1080 start 1083 end 1088 total 1120 clock 60.0Hz
当我尝试设置双显示器配置以创建大于的虚拟屏幕时,“显示”GUI 出现以下错误1600x1600
:
The selected configuration for displays could not be applied:
requested position/size for CRTC 148 is outside the allowed limit: position=(1366, 0), size=(1360, 768), maximum=(1600, 1600)
最大值1600x1600
将排除正确的解决方案,所以这可能与问题有关。
欢迎提出任何建议!
答案1
我通过创建 xorg.conf 并向其中添加行解决了该问题,而不管内容是否通过 xrandr 运行。
这或多或少还是在指南的范围内https://wiki.ubuntu.com/X/Config/Resolution建議;
这次我只是遵循了第 6 部分的建议,而不是第 5 部分。
我的 xorg.conf 如下:
Section "Monitor"
Identifier "External VGA"
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088
1120 -hsync +vsync
Option "Rotate" "normal"
Option "PreferredMode" "1920x1080_60.00"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
SubSection "Display"
Virtual 1920 1080
EndSubSection
EndSection
Section "Device"
Identifier "Configured Video Device"
EndSection