我注意到,使用 ATI/AMD Radeon 9800 系列显卡并启用 Xinerama 双显示器时,视频 3D 加速不再起作用。因此我禁用了 Xinerama,3D 加速又恢复了。但是,第二台显示器(X 显示管理器(或其他程序))似乎可以检测到它 - 它处于打开状态,我可以将鼠标移到它上面,然后右键单击,但上面没有桌面 GUI。
如何在第二台显示器上启用另一个窗口管理器或桌面 GUI,或者相反,如何启用具有 3D 加速功能的 Xinerama?
这是我当前的 xorg.cong 文件
Section "ServerLayout"
Identifier "amdcccle Layout"
Screen 0 "amdcccle-Screen[1]-0" 0 0
Screen "amdcccle-Screen[1]-1" RightOf "amdcccle-Screen[1]-0"
EndSection
Section "Module"
Load "glx"
#Load "fglrx"
EndSection
Section "ServerFlags"
Option "Xinerama" "off"
EndSection
Section "Monitor"
Identifier "0-DFP3"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Option "PreferredMode" "1680x1050"
Option "TargetRefresh" "60"
Option "Position" "0 0"
Option "Rotate" "normal"
Option "Disable" "false"
EndSection
Section "Monitor"
Identifier "0-DFP4"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Option "PreferredMode" "1920x1200"
Option "TargetRefresh" "60"
Option "Position" "0 0"
Option "Rotate" "normal"
Option "Disable" "false"
EndSection
Section "Device"
Identifier "amdcccle-Device[1]-0"
Driver "fglrx"
Option "Monitor-DFP4" "0-DFP4"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "amdcccle-Device[1]-1"
Driver "fglrx"
Option "Monitor-DFP3" "0-DFP3"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Default Screen"
DefaultDepth 24
SubSection "Display"
EndSubSection
EndSection
Section "Screen"
Identifier "amdcccle-Screen[1]-0"
Device "amdcccle-Device[1]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "amdcccle-Screen[1]-1"
Device "amdcccle-Device[1]-1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
答案1
Xinerama 目前无法与 3D 加速配合使用,但将来可能会支持。对于第二台显示器,窗口管理器处于活动状态,但我假设您使用的是 Unity,Unity 无法强制在两个屏幕上运行,据我所知,gnome shell 也无法强制在两个屏幕上运行。目前还只是新事物,将来情况会有所不同。您可以切换到不同的桌面环境,KDE 或 gnome 2 或 XFCE,甚至是像 open box 这样的窗口管理器。从那里在这些环境中,您可以将面板添加到第二个 x 会话。
我知道你的痛苦,我也一直在寻找让 xinerama 能够完全与 3d 配合使用的方法,但现在还没有。