X.org: duas 'telas' em um 'dispositivo'

3

Gentoo, linux 3.7.10
X.Org X Server 1.13.4
GDM 2.20.11
GNOME 2.32.1
Placa Radeon HD 6850, driver radeon xorg

Tenho placa Radeon HD 6850 com dois monitores DVI. O comando X -configure gerou o arquivo xorg.conf com o qual vejo o desktop espelhado em ambos os monitores. Se eu for para System- > Preferences- > Monitors e reinicializá-lo Mesma imagem em todos os monitores , a área de trabalho será estendida nos dois monitores.

Isso é quase o que eu quero, mas ainda há um problema. Se eu maximizar uma janela, ela se espalha nos dois monitores e fica feia. Como posso alterá-lo?

Eu tinha ideia de que, se eu alterasse um pouco as configurações do xorg e fizesse com que houvesse duas seções 'Screen' (por monitor), o GDM pensaria que havia duas telas diferentes e criaria dois desktops diferentes. Mas o xorg parece ignorar minhas configurações (embora o arquivo de log mostre que não há erro e minha configuração é aceita). Xrandr também diz que há apenas uma tela.

**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

Um pedaço de 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

BTW, na verdade eu tenho duas placas de vídeo e três monitores. Mas o problema diz respeito apenas ao adaptador Radeon.

    
por krokoziabla 02.05.2013 / 20:20

0 respostas

Tags