无法设置 crtc 64 (15.04) 的配置

Mar*_*tra 14 display multiple-monitors monitor

有时当我连接第二个 LCD 显示器时 (iiyama ProLite E2407HDSV)

眼镜:

Native resolution   Full HD 1080p, 1920 x 1080 ( 2.1 megapixel)
Horizontal sync 30-81 KHz
Vertical sync 56-75 Hz
Run Code Online (Sandbox Code Playgroud)

到我的华硕 N56J 笔记本电脑

显示规格:

15.6" IPS 1920 x 1080 ( Full HD ) 
Run Code Online (Sandbox Code Playgroud)

我尝试用 LCD 扩展我的笔记本电脑显示器,但出现错误:

could not set the configuration for crtc 64
Run Code Online (Sandbox Code Playgroud)

经过几次尝试,它确实起作用了,错误消失了。此外,当我进入我的显示设置时,我会得到一个透明窗口,如下所示:

在此处输入图片说明

还安装了以下附加驱动程序:

在此处输入图片说明

myuser@my-laptop:~$ xrandr

Screen 0: minimum 8 x 8, current 3520 x 1200, maximum 16384 x 16384
eDP1 connected primary 1920x1080+0+0 344mm x 194mm
   1920x1080      60.1*+   59.9  
   1680x1050      60.0     59.9  
   1600x1024      60.2  
   1400x1050      60.0  
   1280x1024      60.0  
   1440x900       59.9  
   1280x960       60.0  
   1360x768       59.8     60.0  
   1152x864       60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
HDMI1 disconnected
VGA1 connected 1600x1200+1920+0 521mm x 293mm
   1600x1200      60.0* 
   1680x1050      60.0  
   1280x1024      75.0     60.0  
   1440x900       75.0     59.9  
   1152x864       75.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     60.0  
   720x400        70.1  
VIRTUAL1 disconnected
Run Code Online (Sandbox Code Playgroud)

myuser@my-laptop:~$ sudo lshw -c video

[sudo] password for myuser: 
  *-display               
       description: 3D controller
       product: GM108M [GeForce 840M]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:42 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f7000000-f707ffff
  *-display
       description: VGA compatible controller
       product: 4th Gen Core Processor Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:39 memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64)
Run Code Online (Sandbox Code Playgroud)

myuser@my-laptop:~$ lspci | grep VGA

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06
Run Code Online (Sandbox Code Playgroud)

myuser@my-laptop:~$ uname -r

3.19.0-30-generic
Run Code Online (Sandbox Code Playgroud)

myuser@my-laptop:~$ X -version

X.Org X Server 1.17.1
Release Date: 2015-02-10
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.19.0-28-generic x86_64 Ubuntu
Current Operating System: Linux mva-laptop 3.19.0-30-generic #33-Ubuntu SMP Mon Sep 21 20:58:04 UTC 2015 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.19.0-30-generic root=UUID=a1d7434a-6c0f-4117-8d2f-1e32f902475f ro quiet splash
Build Date: 11 September 2015  10:30:58AM
xorg-server 2:1.17.1-0ubuntu3.1 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.32.6
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Run Code Online (Sandbox Code Playgroud)

Eld*_*eek 3

根据外部屏幕的规格,我建议您更改设置以匹配其原始分辨率。根据您的 xrandr 输出,您已将其配置为 1600x1200 @ 60 Hz在联系 iiyama 信息热线之前,制造商建议做的一件事(在手册中)是检查“是否通过‘显示’选择了正确的原始分辨率特性”。

要进行设置以使用制造商推荐的分辨率,您将生成一个模型行cvt。由于这是 TFT 显示器,我找不到任何相反的指示,因此我使用 60 的刷新率来生成模型行。

因此,您可以使用以下命令生成模型行:

cvt 1920 1080 60 其结果类似于这样的输出:

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
Run Code Online (Sandbox Code Playgroud)

然后您可以将模型行与 xrandr 一起应用:

xrandr --newmode 来自 cvt 输出的 Modeline 之后的 所有内容,包括引号,然后

xrandr --addmode VGA1 1920x1080_60.00

其中 VGA1 是显示器连接的端口,该行的其余部分是 cvt 输出的引号之间的所有内容

资料来源:

https://www.manualslib.com/manual/673627/Iiyama-Prolite-E2407hds.html#manual

http://www.kmart.com/asus-n56j-15.6inch-notebook-with-intel-core-i7/p-020V007360940000P

http://www.manualmonitor.com/manuals/iiyama/Iiyama_ProLite_E2407HDS-1.pdf

https://help.ubuntu.com/community/NvidiaResolutionXorgConf

如何设置自定义分辨率?