• # analogie avec dual head

    Posté par . En réponse au message X radeon et vesa. Évalué à 3.

    Je ne sais pas exactement si l'on peut considérer une sortie TV comme une sortie écran pour X ... Toujours est il qu'il est possible de faire des montages astucieux avec une seule carte et plusieurs écrans comme le montre cet extrait de /etc/X11/XF86Config-4
    # Devices : 2x1
    Section "Device"
     Identifier "ATI"
     Driver "radeon"
     BusID "PCI:1:0:0"
     Screen 0
    EndSection
    Section "Device"
     Identifier "ATI2"
     Driver "vesa"
     BusID "PCI:1:0:0"
     Screen 1
    EndSection
    # Monitors : Laptop and External
    Section "Monitor"
     Identifier "Laptop"
    EndSection
    Section "Monitor"
     Identifier "External"
     HorizSync 30-83
     VertRefresh 56-75
    EndSection
    # Screens 
    Section "Screen"
     Identifier "Normal"
     Device "ATI"
     Monitor "Laptop"
     DefaultDepth 24 
     SubSection "Display"
     Depth 24
     Modes "1024x768" 
     EndSubSection
    EndSection
    Section "Screen"
     Identifier "External"
     Device "ATI2"
     Monitor "External"
     DefaultDepth 24
     SubSection "Display"
     Depth 24
     Modes "1280x1024" 
     EndSubSection
    EndSection
    # Layout
    Section "ServerLayout"
     Identifier "monleilloute"
     Screen "Normal" 
     Screen "External" RightOf "Normal"
     InputDevice "Generic Keyboard"
     InputDevice "Configured Mouse"
    EndSection 
    
    Tu peux te bidouiller des layouts différents (utilisant des Screens, monitors, devices différents) et tu les appelles ensuite ainsi :
    startx -- -layout monleilloute
    À toi de testoyer.