====== Dual screen sous Debian ====== Utilisation de deux écrans sous GNU/Linux avec l'option Twinview des cartes Nvidia. Les carte graphique Nvidia NV18GL (Quadro4 NVS AGP 8x) donnent accès au **Twinview**, le mode double écran maison. Il suffit de configurer le serveur X pour en tirer parti. J'ai réalisé le montage avec : * Ordinateur Dell precision 360 * Moniteur Dell E172FP (écran plat) * Moniteur Compaq 7500 (écran CRT) * Debian Sarge J'ai obtenu une configuration simple : * au login seul l'écran plat affiche le login graphique * l'écran CRT se comporte comme une extension à droite du bureau du 1er moniteur * les bureaux virtuels du Window Manager sont liés entre les deux écrans Les lignes à ajouter dans le fichier **/etc/X11/xorg.conf** dans la section **"Device"** sont : Indique qu'on va utiliser l'option double écran : Option "TwinView" Fréquence de synchronisation horizontale du 2ème moniteur : Option "SecondMonitorHorizSync" "30-70" Fréquence de synchronisation verticale du 2ème moniteur. Option "SecondMonitorVertRefresh" "50-140" Les modes d'affichage qui seront utilisés, sous la forme : '', ; , ''. Je me suis limité à deux modes. Il faut bien faire attention aux virgules et aux points virgules. Option "MetaModes" "1280x1024, 1280x1024; 1280x1024, 1024x768" Indique la position du second écran par rapport au premier. Les valeurs possibles sont : "RightOf", "LeftOf", "Above", "Below", "Clone". Option "TwinViewOrientation" "RightOf" ===== Documentation ===== Chez nvidia j'ai trouvé les options exhaustives dans leur FAQ (Support -> FAQ). Pour information voila mon fichier XF86Config-4 : Section "Files" FontPath "unix/:7100" # local font server # if the local font server has problems, we can fall back on these FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/cyrillic" FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/CID" FontPath "/usr/lib/X11/fonts/Speedo" FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/75dpi" EndSection Section "Module" # Load "GLcore" Load "bitmap" Load "dbe" Load "ddc" # Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "record" Load "speedo" Load "type1" Load "vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xfree86" Option "XkbModel" "pc105" Option "XkbLayout" "fr,dvorak_fr" Option "XkbVariant" "basic,basic" Option "XKbOptions" "grp:sclk_toggle" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection Section "Device" Identifier "NVIDIA Corporation NV18GL [Quadro4 NVS AGP 8x]" Driver "nvidia" Option "TwinView" Option "SecondMonitorHorizSync" "30-70" Option "SecondMonitorVertRefresh" "50-140" Option "MetaModes" "1280x1024, 1280x1024; 1280x1024, 1024x768" Option "TwinViewOrientation" "RightOf" EndSection Section "Monitor" Identifier "Écran générique" HorizSync 30-65 VertRefresh 50-75 Option "DPMS" EndSection Section "Screen" Identifier "Default Screen" Device "NVIDIA Corporation NV18GL [Quadro4 NVS AGP 8x]" Monitor "Écran générique" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" EndSection Section "DRI" Mode 0666 EndSection