如何使用 fglrx 在 12.04 中实现双显示器?

如何使用 fglrx 在 12.04 中实现双显示器?

刚刚安装了 ubuntu 12.04,想让我的双显示器设置正常工作。使用 jockey 安装 fglrx-updates 不起作用,所以我在终端中安装了它。

然后我在 amdcccle(多桌面)中设置了我的屏幕。这样它在 11.10 中就可以完美运行。现在我唯一得到的是白色的左屏幕,而右屏幕上没有 Unity 启动器。如果我的鼠标进入左屏幕,光标会变成“X”。

如果我在 amdcccl 中激活 Xinerama,两个屏幕都可以工作,但两个屏幕上都有一个顶部面板。

我可以恢复 11.10 行为吗?

Xorg.conf:

Section "ServerLayout"
        Identifier     "amdcccle Layout"
        Screen      0  "amdcccle-Screen[1]-0" 1920 0
        Screen         "amdcccle-Screen[1]-1" 0 0
EndSection

Section "Module"
            Load  "glx"
EndSection

Section "ServerFlags"
        Option      "Xinerama" "off"
EndSection

Section "Monitor"
        Identifier   "0-DFP6"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
        Option      "PreferredMode" "1920x1080"
        Option      "TargetRefresh" "60"
        Option      "Position" "0 0"
        Option      "Rotate" "normal"
        Option      "Disable" "false"
EndSection

Section "Monitor"
        Identifier   "0-DFP7"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
        Option      "PreferredMode" "1920x1080"
        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-DFP7" "0-DFP7"
        BusID       "PCI:1:0:0"
EndSection

Section "Device"
        Identifier  "amdcccle-Device[1]-1"
        Driver      "fglrx"
        Option      "Monitor-DFP6" "0-DFP6"
        BusID       "PCI:1:0:0"
        Screen      1
EndSection

Section "Screen"
        Identifier "Default Screen"
        DefaultDepth     24
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,则无法启动 Unity 3D。Unity2d 会自动启动。

顺便说一句:我正在使用 AMD 6850。

答案1

我有同样的显卡(Radeon 6850),但我能够仅使用通过 Jockey 安装的 amdcccle 进行配置。这是我生成的 Xorg,也许会有所帮助。

此外,如果您自上次安装驱动程序以来更新了内核,则可以考虑从 AMD 网站更新到最新的可用驱动程序。希望对您有所帮助。

Section "ServerLayout"
    Identifier     "amdcccle Layout"
    Screen      0  "amdcccle-Screen[1]-0" 0 0
EndSection

Section "Module"
    Load  "glx"
EndSection

Section "Monitor"
    Identifier   "0-DFP11"
    Option      "VendorName" "ATI Proprietary Driver"
    Option      "ModelName" "Generic Autodetecting Monitor"
    Option      "DPMS" "true"
    Option      "PreferredMode" "1920x1080"
    Option      "TargetRefresh" "60"
    Option      "Position" "1920 0"
    Option      "Rotate" "normal"
    Option      "Disable" "false"
EndSection

Section "Monitor"
    Identifier   "0-DFP10"
    Option      "VendorName" "ATI Proprietary Driver"
    Option      "ModelName" "Generic Autodetecting Monitor"
    Option      "DPMS" "true"
    Option      "PreferredMode" "1920x1080"
    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-DFP11" "0-DFP11"
    Option      "Monitor-DFP10" "0-DFP10"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Default Screen"
    DefaultDepth     24
EndSection

Section "Screen"
    Identifier "amdcccle-Screen[1]-0"
    Device     "amdcccle-Device[1]-0"
    DefaultDepth     24
    SubSection "Display"
            Viewport   0 0
            Virtual   3840 1920
            Depth     24
    EndSubSection
EndSection

答案2

我可以通过运行以下命令来让它工作:

sudo amdcccle

然后选择显示管理器 > 多显示器 > 带显示器的多显示器(2)

然后我必须重新启动并打开“系统设置”>“显示”,然后取消选中“镜像显示”。我正在运行 HD Radeon 6000 系列,双显示器在我的两个可爱的 26 英寸显示器上工作正常 :-)

答案3

如果你想尝试另一种选择,尝试分散

sudo apt-get install disper
disper -l # this will show all recognized monitors/beamers
disper -e # this will expand your dekstop to two monitors
disper -s # will return to single monitor
disper -c # will clone your monitor

非常帅气,节省了我很多时间来设置我的系统(例如,使用 disper 关闭我的笔记本电脑显示器,同时参考通过扩展坞连接的两个外接显示器)

更多详细信息请见此处: http://ubuntuforums.org/showpost.php?p=11685035&postcount=3

相关内容