Le 10 juin 2002 � 08:39 -0300, St�phane MARTIN a �crit :
 
> Lesquelles ?

Voil� un extrait de mon XF86Config pour ma Geforce2 MX :

Section "Monitor"
    Identifier  "My Monitor"
    HorizSync   30-70 
    VertRefresh 50-160
    Option      "DPMS"
EndSection

Section "Monitor"
    Identifier  "My Tv"
    HorizSync   30-50
    VertRefresh 60
EndSection 

Section "Device"
    Identifier  "NVIDIA GeForce"
    Driver      "nvidia"
EndSection

Section "Device"
    Identifier  "NVIDIA GeForce TwinView"
    Driver      "nvidia"
    Option "TwinView" "on"
    Option "ConnectedMonitor" "CRT,TV"
    Option "UseEdidFreqs" "on"
    Option "MetaModes" "1024x768,NULL;1024x768,800x600;800x600,800x600"
    Option "TVStandard" "PAL-N"
    Option "TVOutFormat" "COMPOSITE"
EndSection

Section "Device"
    Identifier  "NVIDIA GeForce TV"
    Driver      "nvidia"
    Option "ConnectedMonitor" "TV"
    Option "TVStandard" "PAL-N"
    Option "TVOutFormat" "COMPOSITE"    
EndSection

Section "Screen"
    Identifier  "Screen NVIDIA GeForce"
    Device      "NVIDIA GeForce"
    Monitor     "My Monitor"
    DefaultDepth 24

   Subsection "Display"
        Depth 24
        Modes       "1024x768" "800x600" "640x480"
    EndSubsection                                 
EndSection

Section "Screen"
    Identifier  "Screen NVIDIA GeForce TwinView"
    Device      "NVIDIA GeForce TwinView"
    Monitor     "My Monitor"
    DefaultDepth 24 

   Subsection "Display"
        Depth 24 
        Modes       "1024X768" "800x600" "640x480"
    EndSubsection
EndSection

Section "Screen"
    Identifier  "Screen NVIDIA GeForce TV"
    Device      "NVIDIA GeForce TV"
    Monitor     "My Tv"
    DefaultDepth 24

   Subsection "Display"
        Depth 24
        Modes       "1024x768" "800x600" "640x480"
    EndSubsection                                 
EndSection

Section "ServerLayout"
   Identifier "ecran"
   Screen "Screen NVIDIA GeForce"
   InputDevice "Mouse0" "AlwaysCore"
   InputDevice "Mouse1" "CorePointer"
   InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "ServerLayout"
    Identifier  "twin"
    Screen "Screen NVIDIA GeForce TwinView"
    InputDevice "Mouse0" "AlwaysCore"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "ServerLayout"
   Identifier "tv"
   Screen "Screen NVIDIA GeForce TV"
   InputDevice "Mouse0" "AlwaysCore"
   InputDevice "Mouse1" "CorePointer"
   InputDevice "Keyboard1" "CoreKeyboard"
EndSection

$ startx lance par d�faut le moniteur (ou $ startx -- -layout ecran)
$ startx -- -layout twin lance le moniteur + la t�l�
$ startx -- -layout tv lance la t�l� seule (pour jouer � RTCW ;-))

Avec xfwm/xfce, compil� avec --enable-xinerama, le � mode � twin permet, par
exemple, de regarder un DVD sur la t�l� en plein �cran tout en utilisant le
moniteur (Ca ne marche pas en plein �cran si :
        - xfce n'est pas compil� avec --enable-xinerama, bien qu'au lancement
        de xfwm, j'ai ce message :
                xfwm message (type main):  Xinerama extension disabled.
        - j'utilise une valeur de � MetaModes � diff�rente pour l'�cran et le
        moniteur, et, ma t�l� ne supportant pas un mode sup�rieur � 800x600,
        dans ce cas, sup�rieure � "800x600,800x600".
        Sinon, la lecture du DVD en plein �cran se r�partit � la fois sur le
        moniteur et sur la t�l�.)

Pour la doc :
/usr/doc/NVIDIA_GLX-1.0/README
/usr/doc/NVIDIA_GLX-1.0/XF86Config.sample
chez moi.

Sinon, il existe un utilitaire du nom de nvtv, cens� faire la m�me chose sans
toucher au XF86Config, mais qui, chez moi, compar� au r�sultat obtenu avec
les modifs ci-dessus, est d'un effet plut�t pitoyable.
-- 
Alexandre

Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com";

Répondre à