Dernière mise à jour : 05/03/2008
Nombreux sont ceux qui m'ont déjà posés la question concernant la configuration de plusieurs écrans avec les pilotes vidéo propriétaires Nvidia. Je poste ici pour référence deux fichiers de configurations (tous deux pour X.org 7.x). Le premier est pour la configuration d'un écran LCD en écran 0 et une TV CRT en écran 1. Le second pour un LCD 22' en écran 0 et TV HD Sony 32' (Sony 32KDL3000) en écran 1. Je paramètre toujours la sortie TV en écran de droite. Notez que les deux premiers fichiers sont pour 2 bureaux. La troisième configuration est un bureau étendu toujours pour un LCD en écran 0 et TV en écran 1.
Pour référence, le premier fichier de configuration vient d'une Ubuntu et le second d'une Gentoo. Notez bien le type de système utilisé, PAL-N pour la France et PAL-I pour l'irlande. Je documenterais un peu plus quand j'aurais le temps.
Configuration avec LCD et TV CRT
Section "Files" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "fr" Option "XkbVariant" "oss" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "true" EndSection Section "InputDevice" Driver "wacom" Identifier "stylus" Option "Device" "/dev/input/wacom" Option "Type" "stylus" Option "ForceDevice" "ISDV4"# Tablet PC ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "eraser" Option "Device" "/dev/input/wacom" Option "Type" "eraser" Option "ForceDevice" "ISDV4"# Tablet PC ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "cursor" Option "Device" "/dev/input/wacom" Option "Type" "cursor" Option "ForceDevice" "ISDV4"# Tablet PC ONLY EndSection Section "Device" Identifier "nVidia Corporation NV43 [GeForce 6600 GT]" Driver "nvidia" Screen 0 Busid "PCI:1:0:0" Option "AddARGBVisuals" "True" Option "AddARGBGLXVisuals" "True" Option "NoLogo" "True" EndSection Section "Device" Identifier "Device1" Driver "nvidia" Screen 1 Busid "PCI:1:0:0" EndSection Section "Monitor" Identifier "�cran générique" Option "DPMS" Horizsync 30-70 Vertrefresh 50-160 EndSection Section "Monitor" Identifier "Television" #TV HorizSync 30-50 VertRefresh 60 EndSection Section "Screen" Identifier "Default Screen" Device "nVidia Corporation NV43 [GeForce 6600 GT]" Monitor "�cran générique" Defaultdepth 24 EndSection Section "Screen" Identifier "Screen1" Device "Device1" Monitor "Television" DefaultDepth 24 Option "TVOutFormat" "SVIDEO" Option "TVStandard" "PAL-N" Option "ConnectedMonitor" "TV" SubSection "Display" Depth 24 Modes "800x600" "640x480" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" screen "Default Screen" Screen 0 "Default Screen" 0 0 Screen 1 "Screen1" RightOf "Default Screen" Inputdevice "Generic Keyboard" Inputdevice "Configured Mouse" # Uncomment if you have a wacom tablet # InputDevice "stylus" "SendCoreEvents" # InputDevice "cursor" "SendCoreEvents" # InputDevice "eraser" "SendCoreEvents" EndSection Section "Module" Load "glx" EndSection
Configuration avec LCD et TV HD Sony
Section "ServerLayout" Identifier "X.org Configured" #Screen 0 "Screen0" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" RightOf "Screen0" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" RgbPath "/usr/share/X11/rgb" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/misc/" FontPath "/usr/share/fonts/Speedo/" FontPath "/usr/share/fonts/TTF/" FontPath "/usr/share/fonts/OTF" FontPath "/usr/share/fonts/Type1/" FontPath "/usr/share/fonts/100dpi/" FontPath "/usr/share/fonts/CID/" FontPath "/usr/share/fonts/75dpi/" FontPath "/usr/share/fonts/corefonts" EndSection Section "Module" Load "extmod" Load "dbe" Load "record" Load "GLcore" Load "xtrap" Load "dri" Load "glx" Load "wfb" Load "freetype" Load "type1" Load "speedo" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "fr" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "ImPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" HorizSync 30-81 VertRefresh 56-75 EndSection Section "Monitor" Identifier "Monitor1" DisplaySize 160 90 Option "DPI" "100 x 100" Option "IgnoreEDID" VertRefresh 30-90 HorizSync 20-150 ModeLine "720p" 73.825 1280 1320 1368 1640 720 722 724 751 +hsync +vsync ModeLine "1080i" 74.52 1920 1952 2016 2208 1080 1084 1096 1126 -hsync -vsync interlace ModeLine "1360x768" 85.500 1360 1424 1536 1792 768 771 777 795 +Hsync +Vsync EndSection Section "Device" Identifier "Card0" Driver "nvidia" VendorName "nVidia Corporation" BoardName "Unknown Board" BusID "PCI:3:0:0" Screen 0 EndSection Section "Device" Driver "nvidia" Identifier "Device1" Screen 1 BusID "PCI:3:0:0" #adjust using 'lspci' or cat /proc/pci Option "RenderAccel" "true" Option "AllowGLXWithComposite" "true" Option "ConnectedMonitor" "DFP" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection Section "Screen" Device "Device1" Identifier "Screen1" Monitor "Monitor1" DefaultDepth 24 DefaultFbBpp 32 SubSection "Display" Depth 24 FbBpp 32 Modes "1360x768" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection
Configuration avec LCD et TV CRT en bureau étendu
Section "Files" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "fr" Option "XkbVariant" "oss" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "true" EndSection Section "InputDevice" Driver "wacom" Identifier "stylus" Option "Device" "/dev/input/wacom" Option "Type" "stylus" Option "ForceDevice" "ISDV4"# Tablet PC ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "eraser" Option "Device" "/dev/input/wacom" Option "Type" "eraser" Option "ForceDevice" "ISDV4"# Tablet PC ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "cursor" Option "Device" "/dev/input/wacom" Option "Type" "cursor" Option "ForceDevice" "ISDV4"# Tablet PC ONLY EndSection Section "Device" Identifier "nVidia Corporation NV43 [GeForce 6600 GT]" Driver "nvidia" Busid "PCI:1:0:0" Option "AddARGBVisuals" "True" Option "AddARGBGLXVisuals" "True" Option "NoLogo" "True" Option "Coolbits" "1" Option "ConnectedMonitor" "dfp, dfp" Option "NoPowerConnectorCheck" Option "TwinView" "1" Option "Metamodes" "1280x1024,800x600; 1280x1024,640x840; 1280x1024,NULL; 1024x768,NULL" Option "SecondMonitorHorizSync" "30-50" Option "SecondMonitorVertRefresh" "60" Option "AllowGLXWithComposite" "true" EndSection Section "Monitor" Identifier "�cran générique" Option "DPMS" Horizsync 30-70 Vertrefresh 50-160 EndSection Section "Screen" Identifier "Default Screen" Device "nVidia Corporation NV43 [GeForce 6600 GT]" Monitor "�cran générique" Defaultdepth 24 EndSection Section "ServerLayout" Identifier "Default Layout" screen "Default Screen" Inputdevice "Generic Keyboard" Inputdevice "Configured Mouse" # Uncomment if you have a wacom tablet # InputDevice "stylus" "SendCoreEvents" # InputDevice "cursor" "SendCoreEvents" # InputDevice "eraser" "SendCoreEvents" EndSection Section "Module" Load "glx" EndSection
Configuration avec dual LCD 24' (1920x1200)
Section "Device" Identifier "NVIDIA" Driver "nvidia" Option "NvAGP" "2" Option "NoLogo" "1" Option "AddARGBGLXVisuals" "true" Option "RenderAccel" "0" Option "CursorShadow" "1" Option "Coolbits" "1" Option "ConnectedMonitor" "dfp, dfp" Option "NoPowerConnectorCheck" Option "TwinView" "1" Option "Metamodes" "1920x1200,1920x1200; 1280x1024,1280x1024; 1280x960,1280x960; 1152x864,1152x864; 800x600,800x600; 1024x768,1024x768; 1280x1024,NULL; 1024x768,NULL" Option "SecondMonitorHorizSync" "31-102" Option "SecondMonitorVertRefresh" "56-96" Option "AllowGLXWithComposite" "true" # Option "NoTwinViewXineramaInfo" EndSection Section "Monitor" Identifier "Generic Monitor" Option "DPMS" HorizSync 28-94 VertRefresh 43-120 EndSection Section "Screen" Identifier "Default Screen" Device "NVIDIA" Monitor "Generic Monitor" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1920x1200" "1920x1200" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1920x1200" "1920x1200" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1920x1200" "1920x1200" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1920x1200" "1920x1200" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1920x1200" "1920x1200" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1920x1200" "1920x1200" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection
J'espère que cela pourra servir à quelqu'un, vous pouvez aussi jeter un oeil sur cet article pour plus d'infos.