########################################################## # XF86Config-4 : Fichier de configuration de XFree 4.x # # # # Ce fichier est adapté à la configuration d'une carte # # graphique Geforce 4 Go 420 avec 32 Mo. # # # # Il permet de gérer l'affichage en 1024x768 sur : # # - l'écran du portable seul (startx). A noter qu'il # # faut ABSOLUMENT qu'il n'y est AUCUN écran branché # # sur la prise VGA # # - l'écran du portable + télévision (même affichage) # # (startx -- -layout "TwinTV") # # - l'écran du portable + écran CRT (même affichage) # # (startx -- -layout "TwinView") # # # # On peut également utiliser un bureau qui s'étale sur # # l'écran du portable (LCD) et un écran supplémentaire # # branché sur la prise VGA (CRT). Dans ce cas l'écran # # principal est OBLIGATOIREMENT l'écran CRT, ce qui a # # des conséquences. Par exemple, sous Gnome, les barres # # de menu, des taches, sont obligatoirement placées sur # # l'écran CRT supplémentaire. # # - LCD à droite du CRT # # (startx -- -layout "MultiHeadR) # # - LCD à gauche du CRT # # (startx -- -layout "MultiHeadL) # # # # D'autre part, pour que la souris USB fonctionne, elle # # doit être branchée au démarage du serveur X. C'est # # pourquoi il est à mon avis plus pratique de lancer le # # XFree manuellement sur un portable. # ########################################################## ########################################################## # Section Files : # # - répertoires des polices de caractères # ########################################################## Section "Files" FontPath "unix/:7100" # local font server # if the local font server has problems, we can fall back on these #FontPath "/usr/local/share/fonts/ttffonts" #FontPath "/usr/local/share/fonts/ooffice/truetype" #FontPath "/usr/local/share/fonts/joined" FontPath "/usr/lib/X11/fonts/misc" #FontPath "/usr/lib/X11/fonts/cyrillic" FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/Speedo" FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/75dpi" FontPath "/usr/lib/X11/fonts/TTF" EndSection ########################################################## # Section Modules : # # - les modules à charger # ########################################################## 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: # # - le clavier # # - le touchpad # # - la souris USB # ########################################################## ## Le clavier Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" # Option "XkbDisable" Option "XkbModel" "pc105" Option "XkbLayout" "fr" Option "CoreKeyboard" #Option "XkbOptions" "" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/mouse" Option "ZAxisMapping" "6 7" EndSection Section "InputDevice" Identifier "Mouse2" Driver "mouse" Option "Protocol" "ImPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" EndSection ########################################################## # Section Device: les différentes configuration pour # # la carte graphique # # - normal # # - avec sortie TV # # - TwinView # # - MultiHead # ########################################################## ## la Geforce, pour l'affichage normal Section "Device" Identifier "Geforce 4 420 Go - Normal" Driver "nvidia" BusID "AGP:01:00:0" Option "CursorShadowYOffset" "2" # Some Pointer Eyecandy Option "CursorShadow" "1" Option "OverridePolarity" "1" #Option "NoLogo" "On" # Override DDC Option "NoDDC" "1" # Switch AGP Option "NvAGP" "1" Option "CursorShadowXOffset" "4" # Important when using TFT Option "GenerateRTList" "0" Option "CursorShadowAlpha" "63" Option "IgnoreEDID" "1" # Picture Improvement Option "DigitalVibrance" "0" EndSection ## la Geforce, pour l'affichage avec sortie TV et écran Section "Device" Identifier "Nvidia Geforce 4 420 TV-out" Driver "nvidia" BusID "AGP:01:00:0" Option "CursorShadowYOffset" "2" # Some Pointer Eyecandy Option "CursorShadow" "1" Option "OverridePolarity" "1" Option "ConnectedMonitor" "DFP,TV" # Override DDC Option "NoDDC" "1" Option "CursorShadowXOffset" "4" # TV Twinview Option "TwinView" "1" Option "SecondMonitorHorizSync" "30-50" # Picture Improvement Option "DigitalVibrance" "0" Option "MetaModes" "1024x768 @1024x768,1024x768 @1024x768; 800x600 @800x600,800x600 @800x600; 640x480 @640x480,640x480 @640x480" Option "TVStandard" "PAL-B" Option "SecondMonitorVertRefresh" "60" Option "TwinViewOrientation" "Clone" # Switch AGP Option "NvAGP" "1" # Important when using TFT Option "GenerateRTList" "0" Option "IgnoreEDID" "1" Option "CursorShadowAlpha" "63" Option "TVOutFormat" "COMPOSITE" EndSection ## la Geforce, pour l'affichage UNIQUEMENT sur la TV ## A MODIFIER !! Section "Device" Identifier "Nvidia Geforce 4 420 TV-out ONLY" Driver "nvidia" BusID "AGP:01:00:0" Option "CursorShadowYOffset" "2" # Some Pointer Eyecandy Option "CursorShadow" "1" Option "OverridePolarity" "1" Option "ConnectedMonitor" "TV" # Override DDC Option "NoDDC" "1" Option "CursorShadowXOffset" "4" # Picture Improvement Option "DigitalVibrance" "0" Option "MetaModes" "1024x768 @1024x768,1024x768 @1024x768; 800x600 @800x600,800x600 @800x600; 640x480 @640x480,640x480 @640x480" Option "TVStandard" "PAL-B" # Switch AGP Option "NvAGP" "1" # Important when using TFT Option "GenerateRTList" "0" Option "CursorShadowAlpha" "63" Option "IgnoreEDID" "1" # TV Option "TVOutFormat" "COMPOSITE" EndSection ## la Geforce, pour l'affichage en TwinView Section "Device" Identifier "Geforce CRT-LCD Clone" Driver "nvidia" BusID "AGP:01:00:0" Option "CursorShadowYOffset" "2" # Some Pointer Eyecandy Option "CursorShadow" "1" Option "OverridePolarity" "1" Option "ConnectedMonitor" "CRT, DFP" # Override DDC Option "NoDDC" "1" Option "CursorShadowXOffset" "4" # TV Twinview Option "TwinView" "1" Option "SecondMonitorHorizSync" "28-60" # Picture Improvement Option "DigitalVibrance" "0" # Option "Xinerama" "on" Option "MetaModes" "1024x768 @1024x768,1024x768 @1024x768; 800x600 @800x600,800x600 @800x600; 640x480 @640x480,640x480 @640x480" Option "SecondMonitorVertRefresh" "43-72" Option "TwinViewOrientation" "Clone" # Switch AGP Option "NvAGP" "1" # Important when using TFT Option "GenerateRTList" "0" Option "IgnoreEDID" "1" Option "CursorShadowAlpha" "63" EndSection ## la Geforce, pour l'affichage en MultiHead LCD Right Of CRT Section "Device" Identifier "Geforce LCD RightOf CRT" Driver "nvidia" BusID "AGP:01:00:0" Option "CursorShadowYOffset" "2" # Some Pointer Eyecandy Option "CursorShadow" "1" Option "OverridePolarity" "1" Option "ConnectedMonitor" "CRT, DFP" # Override DDC Option "NoDDC" "1" Option "CursorShadowXOffset" "4" # TV Twinview Option "TwinView" "1" Option "SecondMonitorHorizSync" "28-60" # Picture Improvement Option "DigitalVibrance" "0" Option "MetaModes" "1024x768 @1024x768,1024x768 @1024x768; 800x600 @800x600,800x600 @800x600; 640x480 @640x480,640x480 @640x480" Option "SecondMonitorVertRefresh" "43-72" Option "Xinerama" "on" Option "TwinViewOrientation" "RightOf" # Switch AGP Option "NvAGP" "1" # Important when using TFT Option "GenerateRTList" "0" Option "IgnoreEDID" "1" Option "CursorShadowAlpha" "63" EndSection ## la Geforce, pour l'affichage en MultiHead LCD Left Of CRT Section "Device" Identifier "Geforce LCD LeftOf CRT" Driver "nvidia" BusID "AGP:01:00:0" Option "CursorShadowYOffset" "2" # Some Pointer Eyecandy Option "CursorShadow" "1" Option "OverridePolarity" "1" Option "ConnectedMonitor" "CRT, DFP" # Override DDC Option "NoDDC" "1" Option "CursorShadowXOffset" "4" # TV Twinview Option "TwinView" "1" Option "SecondMonitorHorizSync" "28-60" # Picture Improvement Option "DigitalVibrance" "0" Option "MetaModes" "1024x768 @1024x768,1024x768 @1024x768; 800x600 @800x600,800x600 @800x600; 640x480 @640x480,640x480 @640x480" Option "SecondMonitorVertRefresh" "43-72" Option "Xinerama" "on" Option "TwinViewOrientation" "LeftOf" # Switch AGP Option "NvAGP" "1" # Important when using TFT Option "GenerateRTList" "0" Option "IgnoreEDID" "1" Option "CursorShadowAlpha" "63" EndSection ########################################################## # Section Monitor: # # - Ecran LCD # # - Ecran CRT # ########################################################## ## l'écran du portable Section "Monitor" Identifier "Ecran LCD" HorizSync 28-60 VertRefresh 43-72 Option "NoDDC" "1" Option "DPMS" EndSection ## un écran cathodique supportant le 1024x768 à 85 Hz Section "Monitor" Identifier "Ecran CRT" VendorName "Plug'n Play" HorizSync 30-70 VertRefresh 50-160 # 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 # 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 Screen: # # Associations Ecran (Moniteur)/Carte graphique # ########################################################## ## en mode normal Section "Screen" Identifier "Default Screen" Device "Geforce 4 420 Go - Normal" Monitor "Ecran LCD" # Override DDC Option "NoDDC" "1" Subsection "Display" Depth 8 Modes "1024x768" EndSubsection Subsection "Display" Depth 15 Modes "1024x768" EndSubsection Subsection "Display" Depth 16 Modes "1024x768" EndSubsection Subsection "Display" Depth 24 Modes "1024x768" EndSubsection DefaultDepth 24 # Switch AGP # Option "NvAgp" "3" EndSection ## en sortie TV Section "Screen" Identifier "TV" Device "Nvidia Geforce 4 420 TV-out" Monitor "Ecran LCD" Subsection "Display" Depth 24 EndSubsection DefaultDepth 24 EndSection ## en TwinView Section "Screen" Identifier "TwinView" Device "Geforce CRT-LCD Clone" Monitor "Ecran CRT" Subsection "Display" Depth 24 EndSubsection DefaultDepth 24 EndSection ## en MultiHead LCD RightOf CRT Section "Screen" Identifier "MultiHead R" Device "Geforce LCD RightOf CRT" Monitor "Ecran CRT" Subsection "Display" Depth 24 EndSubsection DefaultDepth 24 EndSection ## en MultiHead LCD LeftOf CRT Section "Screen" Identifier "MultiHead L" Device "Geforce LCD LeftOf CRT" Monitor "Ecran CRT" Subsection "Display" Depth 24 EndSubsection DefaultDepth 24 EndSection ## en mode normal Section "Screen" Identifier "HL" Device "Geforce 4 420 Go - Normal" Monitor "Ecran LCD" # Override DDC Option "NoDDC" "1" Subsection "Display" Depth 8 Modes "1024x768" EndSubsection Subsection "Display" Depth 15 Modes "1024x768" EndSubsection Subsection "Display" Depth 16 Modes "1024x768" EndSubsection DefaultDepth 16 # Switch AGP # Option "NvAgp" "3" EndSection ########################################################## # Section ServerLayout: # # - Default Layout : affichage uniquement sur # # l'écran du portable # # - TwinTV : le même affichage sur l'écran de # # télévision et sur celui du portable # # - TwinView : le même affichage sur un écran # # cathodique et sur celui du portable # # - Multihead : un bureau qui s'étale sur un # # écran cathodique et sur celui du portable # ########################################################## ## affichage uniquement sur l'écran du portable Section "ServerLayout" Identifier "Defaut" InputDevice "Generic Keyboard" #InputDevice "Configured Mouse" #InputDevice "Generic Mouse" InputDevice "Mouse1" "CorePointer" InputDevice "Mouse2" "SendCoreEvents" Screen "Default Screen" EndSection ## le même affichage sur l'écran de télévision et sur celui du portable Section "ServerLayout" Identifier "TwinTV" InputDevice "Generic Keyboard" #InputDevice "Configured Mouse" #InputDevice "Generic Mouse" InputDevice "Mouse1" "CorePointer" InputDevice "Mouse2" "SendCoreEvents" Screen "TV" EndSection ## un bureau qui s'étale sur un écran cathodique et sur celui du portable Section "ServerLayout" Identifier "TwinView" InputDevice "Generic Keyboard" #InputDevice "Configured Mouse" #InputDevice "Generic Mouse" InputDevice "Mouse1" "CorePointer" InputDevice "Mouse2" "SendCoreEvents" Screen "TwinView" EndSection ## le même affichage sur un écran cathodique et sur celui du portable Section "ServerLayout" Identifier "MultiHeadR" InputDevice "Generic Keyboard" #InputDevice "Configured Mouse" #InputDevice "Generic Mouse" InputDevice "Mouse1" "CorePointer" InputDevice "Mouse2" "SendCoreEvents" Screen "MultiHead R" EndSection ## le même affichage sur un écran cathodique et sur celui du portable Section "ServerLayout" Identifier "MultiHeadL" InputDevice "Generic Keyboard" #InputDevice "Configured Mouse" #InputDevice "Generic Mouse" InputDevice "Mouse1" "CorePointer" InputDevice "Mouse2" "SendCoreEvents" Screen "MultiHead L" EndSection ## affichage uniquement sur l'écran du portable Section "ServerLayout" Identifier "HL_Layout" InputDevice "Generic Keyboard" #InputDevice "Configured Mouse" #InputDevice "Generic Mouse" InputDevice "Mouse1" "CorePointer" InputDevice "Mouse2" "SendCoreEvents" Screen "HL" EndSection Section "DRI" Mode 0666 EndSection