• # RTFM

    Posté par . En réponse au message 2 cartes videos, 4 écrans, xinerama : comment ?. Évalué à 3.

    Dans la doc fournie avec le driver nvidia, il y a un fichier de configuration X, qui donne l'exemple de 3 moniteurs (2 en TwinView sur une carte, et un sur une autre carte), tu peux facilement l'adapter pour avoir 4 moniteurs...

    Un truc du genre (à adapter en fonction de ta config) devrait marcher:

    Section "Device"
    Identifier "geforce1"
    VendorName "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Option "TwinView"
    # be sure to replace the HorizSync and VertRefresh with correct values
    # for your monitor!
    Option "SecondMonitorHorizSync" "31-82"
    Option "SecondMonitorVertRefresh" "55-120"
    Option "TwinViewOrientation" "RightOf"
    Option "MetaModes" "1280x1024,1280x1024; 1024x768,1024x768"
    Option "ConnectedMonitor" "crt,crt"
    EndSection

    Section "Device"
    Identifier "geforce2"
    VendorName "nvidia"
    Driver "nvidia"
    BusID "PCI:2:0:0"
    Option "TwinView"
    # be sure to replace the HorizSync and VertRefresh with correct values
    # for your monitor!
    Option "SecondMonitorHorizSync" "31-82"
    Option "SecondMonitorVertRefresh" "55-120"
    Option "TwinViewOrientation" "RightOf"
    Option "MetaModes" "1280x1024,1280x1024; 1024x768,1024x768"
    Option "ConnectedMonitor" "crt,crt"
    EndSection

    Section "Monitor"
    Identifier "Ecran1"
    VendorName "Mitsubisi"
    ModelName "Diamond Plus 120u"

    # be sure to replace these values with values appropriate for your
    # monitor!
    HorizSync 31-82
    VertRefresh 55-120
    EndSection

    Section "Monitor"
    Identifier "Ecran3"
    VendorName "Mitsubisi"
    ModelName "Diamond Plus 120u"

    # be sure to replace these values with values appropriate for your
    # monitor!
    HorizSync 31-82
    VertRefresh 55-120
    EndSection

    Section "Screen"
    Identifier "Screen1"
    Device "geforce1"
    Monitor "Ecran1"
    DefaultColorDepth 24
    Subsection "Display"
    Depth 8
    Modes "1280x1024" "1024x768" "800x600" "640x400"
    EndSubsection
    Subsection "Display"
    Depth 16
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 24
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    EndSection

    Section "Screen"
    Identifier "Screen2"
    Device "geforce2"
    Monitor "Ecran3"
    DefaultColorDepth 24
    Subsection "Display"
    Depth 8
    Modes "1280x1024" "1024x768" "800x600" "640x400"
    EndSubsection
    Subsection "Display"
    Depth 16
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 24
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    EndSection

    Section "ServerLayout"
    Identifier "BothTwinView"
    Screen "Screen1"
    Screen "Screen2" LeftOf "Screen1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    EndSection



    Bien sûr, les LeftOf/RightOf dépendent de l'emplacement des écrans, je te laisse les changer au cas où tes affichages seraient inversés.

    Voilivoilou