web-dev-qa-db-fra.com

Comment installer des moniteurs double écran dans xorg.conf avec Nvidia TwinView?

J'ai le fichier xorg.conf suivant, mais TwinView ne fonctionne pas pour moi lorsque j'utilise 2 moniteurs. S'il vous plaît, aidez-moi à régler les choses.

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 295.33  (buildd@allspice)  Fri Mar 30 15:25:24 UTC 2012


Section "ServerLayout"

# Removed Option "Xinerama" "1"
# Removed Option "Xinerama" "0"
# Removed Option "Xinerama" "1"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
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     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Ancor Communications Inc VE247"
    HorizSync       30.0 - 83.0
    VertRefresh     50.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Ancor Communications Inc VE247"
    HorizSync       30.0 - 83.0
    VertRefresh     50.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro FX 1500"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro FX 1500"
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "DFP-1: 1280x1024 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"

# Removed Option "TwinView" "0"
# Removed Option "metamodes" "DFP-0: 1280x1024 +0+0"
# Removed Option "TwinView" "1"
# Removed Option "metamodes" "DFP-0: 1280x1024 +0+0, DFP-1: 1280x1024 +1280+0"
# Removed Option "TwinView" "0"
# Removed Option "metamodes" "DFP-0: 1280x1024 +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP-0: 1280x1024 +0+0, DFP-1: 1280x1024 +1280+0; DFP-1: 1280x1024_60 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Disable"
EndSection

Voici les spécifications de mon ordinateur:

Computer:
Processor           : 2x Intel(R) Pentium(R) 4 CPU 3.00GHz
Memory              : 3339MB (2889MB used)
Operating System    : Ubuntu 12.04.1 LTS
User Name           : chikaru (Mrmagu)
Date/Time           : Sat 22 Sep 2012 12:18:13 PM EDT

Display:
Resolution          : 2560x1024 pixels
OpenGL Renderer     : Quadro FX 1500/PCIe/SSE2
X11 Vendor          : The X.Org Foundation

Multimedia:
Audio Adapter       : SB-XFi - Creative X-Fi
Audio Adapter       : HDA-Intel - HDA Intel
Audio Adapter       : USB-Audio - Producer USB

Input Devices:
Sleep Button
Power Button
Razer Razer Lycosa
Razer Razer Lycosa
Saitek Cyborg R.A.T.7 Mouse
HDA Intel Front Headphone
HDA Intel Rear Mic
HDA Intel Line
HDA Intel Line-Out Front

Printers:
No printers found

SCSI Disks:
Optiarc DVD RW AD-5200A
BENQ DVD LS DW1655
ATA ST380817AS
ATA MDT MD1600JS-00S
ATA Hitachi HDS72303
ATA ST3320820AS
5
MrMontyq

La configuration suivante a fonctionné pour moi avec deux Dell U2312HM, à l'époque où j'utilisais Nvidia TwinView, mais ne vous contentez pas de copier/coller.

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@yellow)  Fri Apr  9 11:51:21 UTC 2010

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

Section "Files"
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      "Dell"
        ModelName       "Dell U2312HM"
        HorizSync       30.0 - 83.0
        VertRefresh     56.0 - 76.0
        Option          "DPMS"
EndSection

Section "Device"
        Identifier      "Device0"
        Driver          "nvidia"
        VendorName      "NVIDIA Corporation"
        BoardName       "GeForce 210"
EndSection

Section "Screen"
        Identifier      "Screen0"
        Device          "Device0"
        Monitor         "Monitor0"
        DefaultDepth    24
        Option          "TwinView" "1"
        Option          "TwinViewXineramaInfoOrder" "DFP-0"
        Option          "metamodes" "DFP-0: 1920x1080_60 +0+0, DFP-1: 1920x1080_60 +1920+0"
        SubSection      "Display"
                Depth       24
        EndSubSection
EndSection
3
LiveWireBT