微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何修复 xrandr 两个外接显示器桌面重叠

如何解决如何修复 xrandr 两个外接显示器桌面重叠

我的笔记本电脑上基本上有两个显示端口,一个 VGA 另一个 DP(但我使用的是 DP->HDMI 适配器。)

我插入了两台外接显示器,但由于某种原因,我似乎无法正确显示两个屏幕。其中一个总是将桌面部分切断,或者以某种方式一小部分实际上会在顶部显示一个屏幕的桌面。我已经研究了一段时间了。

这是 xrandr 的输出

Screen 0: minimum 8 x 8,current 3840 x 1080,maximum 32767 x 32767
LVDS1 connected (normal left inverted right x axis y axis)
   1366x768      60.00 +  40.00  
   1280x720      59.86    60.00    59.74  
   1024x768      60.00  
   1024x576      60.00    59.90    59.82  
   960x540       60.00    59.63    59.82  
   800x600       60.32    56.25  
   864x486       60.00    59.92    59.57  
   640x480       59.94  
   720x405       59.51    60.00    58.99  
   680x384       60.00  
   640x360       59.84    59.32    60.00  
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 510mm x 290mm
   1920x1080     60.00*+  50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x960      60.00  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1440x576      50.00  
   1024x768      75.03    70.07    60.00  
   1440x480      60.00    59.94  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
VGA1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 290mm
   1920x1080     60.00*+
   1680x1050     59.95  
   1280x1024     75.02    60.02  
   1440x900      59.89  
   1280x960      60.00  
   1152x864      75.00  
   1280x720      60.00  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    59.94  
   720x400       70.08  
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

如您所见,我已关闭笔记本电脑的显示屏 (xrandr --output LVDS1 --off),并尝试将 VGA 屏幕和 HDMI(表面上的)屏幕并排设置为 1920x1080 的分辨率。

这与我正在尝试的内容一致。

xrandr --output LVDS1 --off --output VGA1 [--primary] --mode 1920x1080 [--pos 0x0] --output HDMI3 --mode 1920x1080 [--pos 1920x0 | --right-of VGA1]

方括号表示我尝试过的变体。

我也尝试使用 --fb--panning--scale--transform 的组合。

我发誓我曾经让它工作过,但我一直无法重新创建它。

这是屏幕截图。

一个是我设置为主要的 VGA,并且显示正确。第二个是HDMI,你可以看到,实际上在第一个显示器中有一部分桌面切断了右手边。屏幕的这一部分不会更新,并且会剪辑在该显示器上打开的任何窗口。

我已经在这里待了几个小时了。如果有人能想到发生了什么,我真的很感激。

VGA Display Primary (pos 0x0)

HDMI Display (pos 1920x0)

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。