• [^] # Re: bjr

    Posté par . En réponse au message un linux, une carte gfx, 2 sorties, délire-je ?. Évalué à 1.

    C'est tout a fait possible avec une carte comprenant une sortie TV, j'ai fait ça avec ma Nvidia FX 5200 (1 sortie VGA et 1 sortie S-VIDEO)

    Voila mon fichier xorg.conf (mandrake 10.1 Official) :

    -----------------------------------------------------------------------------------------------
    Section "Monitor"
    Identifier "moniteur0"
    VendorName "Iiyama"
    ModelName "Iiyama S700JT1"
    HorizSync 30.0-70.0
    VertRefresh 50.0-160.0

    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

    # Dell D800 and few Inspiron (16/10) 1280x800
    ModeLine "1280x800" 147.89 1280 1376 1512 1744 800 801 804 848

    # Dell D800 and few Inspiron (16/10) 1680x1050
    ModeLine "1680x1050" 214.51 1680 1800 1984 2288 1050 1051 1054 1103

    # Dell D800 and few Inspiron (16/10) 1920x1200
    ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync

    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
    EndSection

    Section "Monitor"
    Identifier "moniteur1"
    VendorName "Daewoo"
    ModelName "50cm"
    HorizSync 30.0 - 50.0
    VertRefresh 60
    EndSection

    Section "Device"
    Identifier "device0"
    VendorName "nVidia"
    BoardName "NVIDIA GeForce FX (generic)"
    Driver "nvidia"
    BusID "2:0:0"
    Screen 0
    Option "ConnectedMonitor" "CRT"
    EndSection

    Section "Device"
    Identifier "device1"
    VendorName "nVidia"
    BoardName "NVIDIA GeForce FX (generic)"
    Driver "nvidia"
    BusID "2:0:0"
    Screen 1
    Option "ConnectedMonitor" "TV"
    Option "TVStandard" "PAL-N"
    Option "TVOutFormat" "SVIDEO"
    EndSection

    Section "Screen"
    Identifier "screen0"
    Device "device0"
    Monitor "moniteur0"
    DefaultColorDepth 24

    Subsection "Display"
    Depth 8
    Virtual 1280 1024
    EndSubsection

    Subsection "Display"
    Depth 15
    Virtual 1280 1024
    EndSubsection

    Subsection "Display"
    Depth 16
    Virtual 1280 1024
    EndSubsection

    Subsection "Display"
    Depth 24
    Virtual 1280 1024
    EndSubsection
    EndSection

    Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "moniteur1"
    DefaultColorDepth 24
    Subsection "Display"
    Depth 24
    Virtual 1024 768
    EndSubsection
    EndSection

    Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen0"
    Screen "Screen1" RightOf "screen0"
    #Screen "screen1"
    EndSection

    -----------------------------------------------------------------------------------------------
    Pour ensuite lancer un programme sur l'un ou l'autre des écrans :
    pour le moniteur PC :
    export DISPLAY=:0.0
    xine

    Pour la TV :
    export DISPLAY=:0.1
    xine

    C'est pas plus bete que ça :-)