Xinerama 创建平移视口

Xinerama 创建平移视口

编辑:我已创建错误报告: https://bugs.freedesktop.org/show_bug.cgi?id=48458

我的设置

我有 4 台显示器,分辨率为 1920x1080,采用纵向模式(向左旋转)。它们连接到两块 Radeon 显卡。

一张图片胜过千言万语。

末日控制台

问题

当 Xinerama 被禁用时,一切都正常。但是当我启用 Xinerama 时,事情变得奇怪了。当我将鼠标移到屏幕上并返回时,屏幕内容开始随鼠标移动,但仅限于此显示器。似乎虚拟显示尺寸与实际屏幕尺寸不匹配,从而激活了平移视口。有什么办法可以阻止这种情况吗?

视频

我制作了一个视频来演示这个问题:http://www.youtube.com/watch?v=zq_XHji1P24

xorg配置文件

这是我的xorg.conf

Section "ServerLayout"
 ##################[ Evilness begins here ]#############
 Option "Xinerama" "on"       # <--- Makes it go b0rked!
 ##################[    End of all evil   ]#############

 Identifier     "BOFH Console of Doom"
 Screen         0 "Screen-0" 0 0
 Screen         1 "Screen-1" RightOf "Screen-0"
 Screen         2 "Screen-2" RightOf "Screen-1"
 Screen         3 "Screen-3" RightOf "Screen-2"
EndSection

Section "ServerFlags"
  Option "RandR" "false"
EndSection


Section "Module"
  Load  "dbe"
  Load  "dri"
  Load  "extmod"
  Load  "dri2"
  Load  "record"
  Load  "glx"
EndSection

Section "Monitor"
 Identifier   "Monitor-0"
 Option      "Rotate" "left"
EndSection

Section "Monitor"
 Identifier   "Monitor-1"
 Option      "Rotate" "left"
EndSection

Section "Monitor"
 Identifier   "Monitor-2"
 Option      "Rotate" "left"
EndSection

Section "Monitor"
 Identifier   "Monitor-3"
 Option      "Rotate" "left"
EndSection

Section "Device"
 Identifier  "Radeon-0-0"
 Driver      "radeon"
 BusID       "PCI:9:0:0"
 Option      "ZaphodHeads" "DVI-0"
 Screen      0
EndSection

Section "Device"
 Identifier  "Radeon-0-1"
 Driver      "radeon"
 BusID       "PCI:9:0:0"
 Option      "ZaphodHeads" "DVI-1"
 Screen      1
EndSection

Section "Device"
 Identifier  "Radeon-1-0"
 Driver      "radeon"
 BusID       "PCI:4:0:0"
 Option      "ZaphodHeads" "DVI-2"
 Screen      0
EndSection

Section "Device"
 Identifier  "Radeon-1-1"
 Driver      "radeon"
 BusID       "PCI:4:0:0"
 Option      "ZaphodHeads" "DVI-3"
 Screen      1
EndSection

Section "Screen"
 Identifier "Screen-0"
 Device     "Radeon-0-0"
 Monitor    "Monitor-0"
 DefaultDepth     24
 SubSection "Display"
  Viewport   0 0
  Depth     24
 EndSubSection
EndSection

Section "Screen"
 Identifier "Screen-1"
 Device     "Radeon-0-1"
 Monitor    "Monitor-1"
 DefaultDepth     24
 SubSection "Display"
  Viewport   0 0
  Depth     24
 EndSubSection
EndSection

Section "Screen"
 Identifier "Screen-2"
 Device     "Radeon-1-0"
 Monitor    "Monitor-2"
 DefaultDepth     24
 SubSection "Display"
  Viewport   0 0
  Depth     24
 EndSubSection
EndSection

Section "Screen"
 Identifier "Screen-3"
 Device     "Radeon-1-1"
 Monitor    "Monitor-3"
 DefaultDepth     24
 SubSection "Display"
  Viewport   0 0
  Depth     24
 EndSubSection
EndSection

相关内容