воскресенье, 17 июля 2011 г.

xorg.conf для двух мониторов

Потому что надоело...

Linux: Ubuntu 11.04 (2.6.38-10-generic-pae)
XOrg: 11.0 (1.10.1)
Монитор 1: iiYama HF703U (Vision Master 407 Pro)
Монитор 2: Samsung SyncMaster 710N

nVidia GeForce FX 5200 256 Mb

Vendor: Zotac
Driver: 173.14.30
Interface: AGP


# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder75)  Thu Apr 14 09:23:47 PDT 2011


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Iiyama HF703U"
    HorizSync       30.0 - 96.0
    VertRefresh     50.0 - 160.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce FX 5200"
EndSection

Section "Screen"

# Removed Option "metamodes" "CRT-0: 1280x1024 +0+0, CRT-1: nvidia-auto-select +1054+0"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "CRT-0: 1024x768_85 +0+0, CRT-1: 1280x960 +1024+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


ATI Radeon 9600 XT 256 Mb

Vendor: Sapphire
Driver: тупо radeon из репозитария
Interface: AGP


Section "ServerFlags"
    Option "Xinerama" "On"
    Option "IgnoreABI" "On"
EndSection

Section "Module"
    Load "int10"
    Load "i2c"
    Load "bitmap"
    Load "ddc"
    Load "vbe"
    Load "dbe" # Double-Buffering Extension
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx"
    Load "dri"
EndSection

# VGA
Section "Device"
    Identifier "device0"
    VendorName "ATI Technologies Inc."
    BoardName "ATI Radeon 9600XT"
#    Driver "fglrx"
    Driver "radeon"
    BusID "PCI:1:0:0"
    Screen 0
     Option "BusType" "AGP"
     Option "AGPMode" "8"
     Option "AGPFastWrite" "on"
#    Option "VideoOverlay" "on"   # fglrx
#    Option "OpenGLOverlay" "off" # fglrx
#    Option "TexturedVideo" "off" # fglrx
#    Option "backingstore"
EndSection

# DVI
Section "Device"
    Identifier "device1"
    VendorName "ATI Technologies Inc."
    BoardName "ATI Radeon 9600XT"
    Driver "ati"
    BusID "PCI:1:0:0"
    Screen 1
#    Option "backingstore"
EndSection

Section "Monitor"
    Identifier "monitor0"
    Option "DPMS" "true"
EndSection

Section "Monitor"
    Identifier "monitor1"
    Option "DPMS" "true"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "device0"
    Monitor "monitor0"
    DefaultDepth 24
    Subsection "Display"
        Depth 24
        Virtual 2560 1024
        Modes    "1280x1024"
    EndSubsection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultDepth 24
    Subsection "Display"
        Depth 24
        Modes    "1024x768"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "Multihead layout"
EndSection 

Section "DRI"
    Mode 0666
EndSection

Комментариев нет:

Отправить комментарий