Configuration XORG & NVIDIA

Vu comment j'ai un galéré avce la configuration du twinview sur mar carte vidéo nvidia, je pense que ca pourra intéresser quelques personnes

Ma configuration

  • OS: Debian testing
  • Kernel: 2.6.11-1-686
  • Video Card: Leadtek Geforce FX 5200 - AGP 8x - 128Mo DDR - TV-Out + DVI
  • Driver : Version 7676 du driver téléchargé sur le site de nvidia (celui packagé par debian est un peu pourri dans la gestion des versions)

Le fichier de configuration

Section "Files"
	FontPath	"unix/:7100"			# local font server
	FontPath 	"unix/:7101"
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	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"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"fr"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"Carte vidéo NVIDIA"
	BoardName	"GeForce FX 5200"
	Driver		"nvidia"
	BusID		"PCI:3:00:0"
	Option 		"NoLogo"
	Option          "NoDDC" "1"
	Option          "IgnoreEDID" "1"
	Option          "GenerateRTList"   "0"
	Option          "OverridePolarity" "1"
  	Option 		"CursorShadow"  "on"
	Option		"NvAGP"	"3"
	Option		"DigitalVibrance" "0"
	Option		"TwinView"	"true"
	Option 		"SecondMonitorHorizSync" "30-50"
	Option 		"SecondMonitorVertRefresh" "60"
	Option 		"TwinViewOrientation" "Clone"
	Option 		"MetaModes" "1280x1024,800x600;800x600,800x600"
	Option		"TVStandard"	"PAL-N" 
	Option		"TVOverScan" "1.0"
	Option 		"TVOutFormat" "COMPOSITE" 
	Option 		"ConnectedMonitor" "CRT,TV"
	Option       	"RenderAccel" "true"
EndSection

Section "Monitor"
	Identifier	"Écran générique"
	HorizSync	30-70
	VertRefresh	50-130
  Modeline "1024x768@75" 85.52 1024 1056 1376 1408 768 782 792 807
  Modeline "1280x1024@75i" 64.12 1280 1312 1552 1584 1024 1046 1054 1077 interlace
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Carte vidéo NVIDIA"
	Monitor		"Écran générique"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	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

Installation du driver

sous root

#CC=/usr/bin/gcc-3.3 TMPDIR=$PWD/nvidiatmp ./NVIDIA-Linux-x86-1.0-7676-pkg1.run --kernel-source-path=/usr/src/kernel-headers-2.6.11-1-686

Remarque:Il faut positionner le compilateur avec la variable d'environnement CC sur la versoin utilisée pour compiler le noyau

Vus : 57
Publié par Littlewing : 368