X.org:一台“设备”上有两个“屏幕”

X.org:一台“设备”上有两个“屏幕”

Gentoo、linux 3.7.10
X.Org X Server 1.13.4
GDM 2.20.11
GNOME 2.32.1
Radeon HD 6850 卡、radeon xorg 驱动程序

我有 Radeon HD 6850 卡,上面有两个 DVI 显示器。X -configure命令已生成xorg.conf文件,我可以通过该文件在两台显示器上看到镜像桌面。如果我去系统->首选项->监视器并重置所有显示器上显示相同的图像标记,然后桌面就会在两个显示器上扩展。

这几乎就是我想要的,但是还有一个问题。如果我最大化一个窗口,它就会展开两个都监视器并且看起来很丑。我该如何改变它?

我的想法是,如果我稍微更改 xorg 设置并使其具有两个“屏幕”部分(每个显示器),那么 GDM 会认为有两个不同的屏幕,并将创建两个不同的桌面。但是xorg似乎忽略了我的设置(尽管日志文件显示没有错误并且我的配置被接受)。 Xrandr 还表示只有一个屏幕。

**xorg.conf**

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" LeftOf "Screen0"
    Screen      2  "Screen2" RightOf "Screen0"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib64/xorg/modules"
    FontPath     "/usr/share/fonts/misc/"
    FontPath     "/usr/share/fonts/TTF/"
    FontPath     "/usr/share/fonts/OTF/"
    FontPath     "/usr/share/fonts/Type1/"
    FontPath     "/usr/share/fonts/100dpi/"
    FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
    Load  "glx"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option      "Device" "/dev/input/mice"
    Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "nec_ea191m"
    VendorName   "NEC"
    ModelName    "EA191M"
EndSection

Section "Monitor"
    Identifier   "syncmaster_940n"
    VendorName   "Samsung"
    ModelName    "Syncmaster 940N"
EndSection

Section "Monitor"
    Identifier   "acer_v233h"
    VendorName   "Acer"
    ModelName    "V233H"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "NoAccel"               # [<bool>]
        #Option     "SWcursor"              # [<bool>]
        #Option     "EnablePageFlip"        # [<bool>]
        #Option     "AccelDFS"              # [<bool>]
        #Option     "IgnoreEDID"            # [<bool>]
        #Option     "ColorTiling"           # [<bool>]
        #Option     "ColorTiling2D"         # [<bool>]
        #Option     "RenderAccel"           # [<bool>]
        #Option     "SubPixelOrder"         # [<str>]
        #Option     "AccelMethod"           # <str>
        #Option     "DRI"                   # [<bool>]
        #Option     "TVStandard"            # <str>
        #Option     "EXAVSync"              # [<bool>]
        #Option     "EXAPixmaps"            # [<bool>]
        #Option     "ZaphodHeads"           # <str>
        #Option     "EnablePageFlip"        # [<bool>]
        #Option     "SwapbuffersWait"       # [<bool>]
    Identifier  "ati_hd6850"
    Driver      "radeon"
    BusID       "PCI:1:0:0"
    Option      "Monitor-DVI-0" "acer_233h"
    Option      "Monitor-DVI-1"     "nec_ea191m"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "NoAccel"               # [<bool>]
        #Option     "AccelMethod"           # <str>
        #Option     "Backlight"             # <str>
        #Option     "DRI"                   # <str>
        #Option     "ColorKey"              # <i>
        #Option     "VideoKey"              # <i>
        #Option     "Tiling"                # [<bool>]
        #Option     "LinearFramebuffer"     # [<bool>]
        #Option     "SwapbuffersWait"       # [<bool>]
        #Option     "XvPreferOverlay"       # [<bool>]
        #Option     "HotPlug"               # [<bool>]
        #Option     "RelaxedFencing"        # [<bool>]
        #Option     "Throttle"              # [<bool>]
        #Option     "ZaphodHeads"           # <str>
        #Option     "DelayedFlush"          # [<bool>]
        #Option     "TearFree"              # [<bool>]
        #Option     "PerCrtcPixmaps"        # [<bool>]
    Identifier  "intel_hd2000"
    Driver      "intel"
    BusID       "PCI:0:2:0"
    Option      "Monitor-VGA1"  "syncmaster_940n"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "ati_hd6850"
    #Monitor    "nec_ea191m"
    Monitor    "acer_v233h"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "intel_hd2000"
    Monitor    "syncmaster_940n"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen2"
    Device     "ati_hd6850"
    Monitor    "nec_ea191m"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

一段 Xorg.0.log

[   191.201] (==) Log file: "/var/log/Xorg.0.log", Time: Thu May  2 17:38:33 2013
[   191.201] (==) Using config file: "/etc/X11/xorg.conf"
[   191.201] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   191.202] (==) ServerLayout "X.org Configured"
[   191.202] (**) |-->Screen "Screen0" (0)
[   191.202] (**) |   |-->Monitor "acer_v233h"
[   191.202] (**) |   |-->Device "ati_hd6850"
[   191.202] (**) |-->Screen "Screen1" (1)
[   191.202] (**) |   |-->Monitor "syncmaster_940n"
[   191.202] (**) |   |-->Device "intel_hd2000"
[   191.202] (**) |-->Screen "Screen2" (2)
[   191.202] (**) |   |-->Monitor "nec_ea191m"
[   191.202] (**) |   |-->Device "ati_hd6850"
[   191.202] (**) |-->Input Device "Mouse0"
[   191.202] (**) |-->Input Device "Keyboard0"
[   191.202] (==) Automatically adding devices
[   191.202] (==) Automatically enabling devices
[   191.202] (==) Automatically adding GPU devices

顺便说一句,事实上我有两个显卡和三个显示器。但问题仅涉及 Radeon 适配器。

相关内容