Nvidia==> jpette les plombs

kouray Messages postés 16 Date d'inscription   Statut Membre Dernière intervention   -  
 PiR -
Hello
Depuis 4 mois que je suis sous linux, autant avec mandrake 9.2 que avec 10.0, j'ai jamais réussi a installer les drivers nvidia ( du moins la seconde partie de linstallation )
Au début tou se passe bien, mais des quil faut modifier le fichier XF86Config -4, c'est la merde, sa marche pas.
pourtant, je fais bien ce quils disent de faire
je mets un smiley a coté poor vous montrer ce que je modifi (

Avant :
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "Delta DC-770"
HorizSync 30.0-70.0
VertRefresh 50.0-120.0

# 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 "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "RIVA TNT2"
Driver "nv"
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection









Après :
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "Delta DC-770"
HorizSync 30.0-70.0
VertRefresh 50.0-120.0

# 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 "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "RIVA TNT2"
Driver "nvidia" :) :-) :( :) :-( :[ :-[
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection

5 réponses

eriek Messages postés 555 Date d'inscription   Statut Membre Dernière intervention   33
 
salut!

j'ai suivi ce tuto et ça a fonctionné du premier coup ==> http://www.trustonme.net/didactels/?rub=120
0
kouray Messages postés 16 Date d'inscription   Statut Membre Dernière intervention  
 
g pas encore essayé celui la, merci bcp, je jette un cp d'oeil
0
kouray Messages postés 16 Date d'inscription   Statut Membre Dernière intervention  
 
je pense pas que sa va marché...
0
kouray Messages postés 16 Date d'inscription   Statut Membre Dernière intervention  
 
non, sa a pas marché
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
PiR
 
1. Compile toi un noyau propre, pas une merde précompilée. En gros chope le numéro de ton kernel. Télécharge la même version ou plus récente sur www.kernel.org. Tu récupère un linux-xxxxx.tar.gz ou .tar.bz2. Après tu cherches des Howto sur la compilation d'un noyau.
Tu compiles ton noyau. Tu fais un lien symbolique vers /usr/src/linux de l'endroit ou tu as réalisé ta compilation (cf man ln).
Si t'as pas envie de faire ça trouve les headers de ton noyaux dans les cd de mandrake et installes les (a ma connaissance ça marche pas très bien)

2. Tu rebootes.

3. Tu télécharges le dernier script d'installation des drivers sur www.nvidia.com

4. Tu l'exécutes, quand il te pose la question est-ce qu'il y a des drivers précompilés --> réponds no, et la si t'as tout bien fais ça marche. (enfin presque).

5. Modifie ton script de chargement des modules du noyau et fais en sorte que le module nvidia soit chargé à chaque démarrage. Ou alors tape modprobe nvidia après chaque démarrage.

6. Edite /etc/X11/XF86Config-4
Surtout la section device :

Section "Device"
	Identifier  "Ta carte"
	Driver      "nvidia"
	Option      "ConnectedMonitors" "CRT, TV" #A modifier en fonction de ton/tes écran(s) (LCD, CRT ou TV) 
	Option      "TVStandard" "PAL-N" # Pour configurer la sortie Télé
	Option      "TVOutFormat" "SVIDEO" # idem
	Option      "TwinView" "yes" #On devine ce que c'est
	Option      "TwinViewOrientation" "clone"  #idem 
	Option      "SecondMonitorHorizSync" "30-50" #Fréquence du second écran ici une télé
	Option      "SecondMonitorVertRefresh" "60" #idem
	Option      "MetaModes"  "1024x768,1024x768;800x600,800x600;640x480,640x480" #Combinaison de résolution Ecran1/Ecran2, l'ordre est déterminé par l'option ConnectedMonitors
	BusID       "PCI:01:00:00" #Position sur le bus PCI (Ici un bus agp standard) 
EndSection


Un fois que t'as reussi à démarrer X un fois démarre xf86cfg pour la config des options c'est plus facile.

N'empêche que vu la description de ta carte (TNT2) tu devrais essayer le module nv qui devrait très bien fonctionner ou même le drivers vesa...
0