我有一个4k外部主监视器,我正在尝试连接一个1680x1050外部监视器到它的左边。
我试过用:
xrandr --output HDMI-0 --scale 2x2 --pos 0x0 --fb 7200x2160 --output DP-4 --pos 3360x0这似乎是可行的,当我看到电脑在nvidia上所做的事情时,它正确地显示了一个3200x2160显示器在我的4k显示器的左边。
然而,在我的外部显示器上,只显示黑色,顶部有一条闪烁的线条。
唯一能纠正这种情况的方法是将缩放复位到1x1,此时图像返回(同时保持X服务器的大小。这意味着只有一个死胡同,我必须滚动通过在我的显示器之间)。
所以我认为这个问题是与2x2比例有关的。我不知道该怎么办?
这台计算机正在运行14.04,其中有一个nvidia GTX960和推荐的驱动程序(352.63)。
这是我的xrandr输出:
Screen 0: minimum 8 x 8, current 7200 x 2160, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 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)
HDMI-0 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 474mm x 296mm
1680x1050 59.9*+ 60.0
1280x1024 75.0 60.0
1280x960 60.0
1152x864 75.0
1024x768 75.0 70.1 60.0
800x600 75.0 72.2 60.3 56.2
640x480 75.0 72.8 59.9
DP-4 connected primary 3840x2160+3360+0 (normal left inverted right x axis y axis) 527mm x 296mm
3840x2160 60.0*+ 30.0
2560x1440 60.0
2048x1280 60.0
1920x1200 59.9
1920x1080 60.0 60.0 59.9 50.0 24.0 60.0 50.0
1600x1200 60.0
1600x900 60.0
1280x1024 75.0 60.0
1280x720 60.0 59.9 50.0
1152x864 75.0
1024x768 75.0 60.0
800x600 75.0 60.3
720x576 50.0 50.1
720x480 59.9 60.1
640x480 75.0 59.9 59.9 发布于 2017-01-01 20:10:10
我也有同样的问题。我用--scale 2x2.001解决了这个问题。奇怪的是,--scale 2x1.999或2x2.0001没有工作,所以一定要在2左右尝试几个数字。
发布于 2017-11-26 22:19:48
感谢您的出色解决方案,米洛斯,这对我很好!
我还有一小部分。除了使用命令行之外,您还可以在Nvidia-Settings UI中轻松地设置ForceFullCompositionPipeline。为此,您必须转到"X服务器显示配置“,点击”高级“,只需激活选项”强制完整组合管道“。关于一个例子,请参见https://imgur.com/a/3jE78。
PS:我使用的是三头设置,有两个外部监视器(1920x1080;1680x1050)和一个内部3k监视器(3840x2160)。为了使其工作,我应用了以下xrandr config:
xrandr --output eDP-1-1 --auto --output HDMI-0 --auto --scale 2x2 --above eDP-1-1 --output DP-1 --auto --scale 2x2 --rotate left --right-of eDP-1-1https://askubuntu.com/questions/704503
复制相似问题