我运行LinuxMint19.2肉桂(4.15.0-70通用内核)与NVIDIA公司GM206 GeForce GTX 960。我面临一个奇怪的问题,双显示器的设置,包括两个戴尔P2212H显示器,都与DVI和VGA端口。当我使用以下配置时,一切正常:
inxi -Gx
Graphics:
Device-1: NVIDIA GM206 [GeForce GTX 960] vendor: Micro-Star MSI
driver: nvidia v: 435.21 bus ID: 01:00.0
Display: x11 server: X.Org 1.19.6 driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa
resolution: 1920x1080~60Hz, 1920x1080~60Hz
OpenGL: renderer: GeForce GTX 960/PCIe/SSE2 v: 4.6.0 NVIDIA 435.21
direct render: Yes xrandr
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 531mm x 299mm
1920x1080 60.00*+
1280x1024 75.02 60.02
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
640x480 75.00 59.94
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
1920x1080 60.00*+ 59.94
1280x1024 75.02 60.02
1280x720 59.94
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
640x480 75.00 59.94 59.93
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)双监视器设置工作良好,但由于显示质量有明显的差异,我购买了HDMI <-> DVI-D电缆。为什么如果我改变我的个人电脑和第二显示器之间的电缆,我不能使双监视器设置工作?看起来,随着波纹管的设置,我的PC不再能够检测到第二个监视器。
xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
1920x1080 60.00*+
1280x1024 75.02 60.02
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
640x480 75.00 59.94
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)我可以确认HDMI <-> DVI-D电缆在运行Windows 10的另一台PC上测试过,有什么建议吗?
谢谢,克里斯
发布于 2019-11-23 12:31:12
我可以使用薄荷论坛的@roblm建议来解决这个问题。
sudo touch /etc/X11/xorg.conf打开文件进行编辑:xed admin:///etc/X11/xorg.conf
增加以下几行:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
EndSection
Section "Monitor"
Identifier "Monitor0"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "ConnectedMonitor" "DFP, DFP"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
EndSection发布于 2020-05-07 14:56:07
我也有过类似的问题。监视器1,由HDMI @ 1920x1080和Monitor 2 VGA连接,但不会从1600x900增加到1920x1080。
我遵循了本文https://www.wikihow.com/Configure-X11-in-Linux (我作为桌面对Linux非常陌生),它展示了如何创建xorg.conf文件。它创建时出现了一些错误,但我在/home/ as xorg.conf.new中找到了一个副本,我不得不将它复制到/etc/X11作为xorg.conf。
在用所有的分辨率重新启动它之后,我需要更改我的VGA-0条目,以便在我的第二个监视器上有一个更好的分辨率(1920x1080)。
然后,我使用Nvidia X服务器设置应用程序(它合并到xorg.conf文件)应用程序和显示小程序,以改变分辨率/方向等。而且起作用了。
我读了很多书,很多人在19.x上都有双显示器的问题。在以前基于Ubuntu16.04的发行版中,xorg.conf文件已经创建,因此可以在第一个实例中编辑。我不是说这是最好的方法,但对我来说,它是有效的,而且足够好,尽管如果有人有更好的建议,我愿意学习:-)
https://unix.stackexchange.com/questions/553686
复制相似问题