Linux: nvidia-xconfig!

Fermé
whiteman Messages postés 6 Date d'inscription mercredi 22 mars 2006 Statut Membre Dernière intervention 21 mai 2006 - 15 avril 2006 à 23:48
mamiemando Messages postés 33079 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 23 avril 2024 - 22 avril 2006 à 22:57
Salut à tous:
J'ai recement acheter une asus n6600 TD. Et j'ai recupéré le driver nvidia (IA32) pour ma version Mandriva2006 FREE. Mais j'ai un probleme avec nvidia-xconfig.En fait, quand je le lance depuis usr/bin/nvidia-xconfig, un nouveau fichier x de configuration est créé dans etc/X11/xorg.conf. Mais voila ce qui arrive quand je lance ce drenier:
[root@localhost X11]# ./xorg.conf
./xorg.conf: line 5: Section: command not found
./xorg.conf: line 6: Identifier: command not found
./xorg.conf: line 7: Screen: command not found
./xorg.conf: line 8: InputDevice: command not found
./xorg.conf: line 9: InputDevice: command not found
./xorg.conf: line 10: EndSection: command not found
./xorg.conf: line 12: Section: command not found
./xorg.conf: line 13: RgbPath: command not found
./xorg.conf: line 14: ModulePath: command not found
./xorg.conf: line 15: FontPath: command not found
./xorg.conf: line 16: FontPath: command not found
./xorg.conf: line 17: EndSection: command not found
./xorg.conf: line 19: Section: command not found
./xorg.conf: line 20: Load: command not found
./xorg.conf: line 21: Load: command not found
./xorg.conf: line 22: Load: command not found
./xorg.conf: line 23: Load: command not found
./xorg.conf: line 24: Load: command not found
./xorg.conf: line 25: EndSection: command not found
./xorg.conf: line 27: Section: command not found
./xorg.conf: line 28: Identifier: command not found
./xorg.conf: line 29: Driver: command not found
./xorg.conf: line 30: EndSection: command not found
./xorg.conf: line 32: Section: command not found
./xorg.conf: line 33: Identifier: command not found
./xorg.conf: line 34: Driver: command not found
./xorg.conf: line 35: Option: command not found
./xorg.conf: line 36: Option: command not found
./xorg.conf: line 37: Option: command not found
./xorg.conf: line 38: EndSection: command not found
./xorg.conf: line 40: Section: command not found
./xorg.conf: line 44: Identifier: command not found
./xorg.conf: line 45: VendorName: command not found
./xorg.conf: line 46: ModelName: command not found
./xorg.conf: line 47: HorizSync: command not found
./xorg.conf: line 48: VertRefresh: command not found
./xorg.conf: line 49: Option: command not found
./xorg.conf: line 50: EndSection: command not found
./xorg.conf: line 52: Section: command not found
./xorg.conf: line 70: Identifier: command not found
./xorg.conf: line 71: Driver: command not found
./xorg.conf: line 72: VendorName: command not found
./xorg.conf: line 73: BoardName: command not found
./xorg.conf: line 74: EndSection: command not found
./xorg.conf: line 76: Section: command not found
./xorg.conf: line 77: Identifier: command not found
./xorg.conf: line 78: Device: command not found
./xorg.conf: line 79: Monitor: command not found
./xorg.conf: line 80: SubSection: command not found
./xorg.conf: line 81: Viewport: command not found
./xorg.conf: line 82: Modes: command not found
./xorg.conf: line 83: EndSubSection: command not found
./xorg.conf: line 84: SubSection: command not found
./xorg.conf: line 85: Viewport: command not found
./xorg.conf: line 86: Depth: command not found
./xorg.conf: line 87: Modes: command not found
./xorg.conf: line 88: EndSubSection: command not found
./xorg.conf: line 89: SubSection: command not found
./xorg.conf: line 90: Viewport: command not found
./xorg.conf: line 91: Depth: command not found
./xorg.conf: line 92: Modes: command not found
./xorg.conf: line 93: EndSubSection: command not found
./xorg.conf: line 94: SubSection: command not found
./xorg.conf: line 95: Viewport: command not found
./xorg.conf: line 96: Depth: command not found
./xorg.conf: line 97: Modes: command not found
./xorg.conf: line 98: EndSubSection: command not found
./xorg.conf: line 99: SubSection: command not found
./xorg.conf: line 100: Viewport: command not found
./xorg.conf: line 101: Depth: command not found
./xorg.conf: line 102: Modes: command not found
./xorg.conf: line 103: EndSubSection: command not found
./xorg.conf: line 104: SubSection: command not found
./xorg.conf: line 105: Viewport: command not found
./xorg.conf: line 106: Depth: command not found
./xorg.conf: line 107: Modes: command not found
./xorg.conf: line 108: EndSubSection: command not found
./xorg.conf: line 109: EndSection: command not found
En plus je ne sais comment proceder pour regler les parametres d'affichage depuis nvidia-xconfig.(La rubrique d'aide dans le site nvidia est en anglais)
Merci d'avance.
A voir également:

3 réponses

Phiphi57 Messages postés 789 Date d'inscription samedi 26 février 2005 Statut Contributeur Dernière intervention 19 juillet 2009 295
16 avril 2006 à 23:18
salut,

le fichier xorg.conf n'est pas un programme!!
comme son extension le définit, c'est un fichier de configuration. En réalité, il est lu par le serveur graphique au démarrage.

donc "normalement", le programme nvidia-xconfig modifie le fichier xorg.conf correctement.

Poste nous donc le contenu de ce fichier (la commande
more /etc/X11/xorg.conf
devrait te donner le contenu du fichier), que l'on voit s'il est correct
fais également un
 lsmod | grep nv 

pour etre sur que le driver est bien installé et chargé

Phiphi
1
mamiemando Messages postés 33079 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 23 avril 2024 7 749
22 avril 2006 à 22:57
A mon avis c'est bon car tu as bien le drivers nvidia et non le driver nv dans /etc/X11/xorg.conf. Pour info ce fichier est générable à l'aide de la commande xorgconfig , et nvidia-xconfig le corrige pour bénéficier de l'accélération 3d. Si tu es sous debian tu peux aussi (re)créer ce fichier avec dpkg-reconfigure xserver-xorg.

Pour tester si tu as l'accélration 3D il suffit de lancer une fois loggé en graphique :
glxgears

Tu dois obtenir quelques milliers de FPS. De plus au démarrage du serveur X tu dois voir apparaître le logo Nvidia (sauf si tu as dit dans le xorg.conf que tu ne voulais pas de logo, ce qui n'est pas le cas dans ton fichier).

Bonne chance
1
whiteman Messages postés 6 Date d'inscription mercredi 22 mars 2006 Statut Membre Dernière intervention 21 mai 2006
22 avril 2006 à 22:03
Salut phiphi,
Donc voila ce que donne la premiere commande:
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Wed Mar 29 14:43:26 PST
2006

Section "ServerLayout"
Identifier "X.org Configured"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen 0 "Screen0" 0 0
EndSection

Section "Files"
ModulePath "/usr/X11R6/lib/modules"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "unix/:-1"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "glx"
Load "record"
Load "xtrap"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc102"
Option "XkbLayout" "fr"
Option "XkbOptions" "compose:rwin"
EndSection

Section "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
VendorName "TAT"
ModelName "VM77SR"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
#DisplaySize 320 240 # mm
Option "DPMS"
EndSection

Section "Device"
Identifier "Card0"
VendorName "nVidia Corporation"
BoardName "NV43 [GeForce 6600/GeForce 6600 GT]"
Driver "nvidia"
#Option "ShadowFB" # [<bool>]
#Option "FlatPanel" # [<bool>]
#Option "HWcursor" # [<bool>]

### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "VideoKey" # <i>
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
#Option "NoAccel" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "FPTweak" # <i>
#Option "FPScale" # [<bool>]
#Option "Rotate" # [<str>]
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"

Subsection "Display"
Modes "1280x1024" "1280x1024" "1280x1024"
Viewport 0 0
EndSubsection

Subsection "Display"
Depth 4
Modes "1280x1024" "1280x1024" "1280x1024"
Viewport 0 0
EndSubsection

Subsection "Display"
Depth 8
Modes "1280x1024" "1280x1024" "1280x1024"
Viewport 0 0
EndSubsection

Subsection "Display"
Depth 15
Modes "1280x1024" "1280x1024" "1280x1024"
Viewport 0 0
EndSubsection

Subsection "Display"
Depth 16
Modes "1280x1024" "1280x1024" "1280x1024"
Viewport 0 0
EndSubsection

Subsection "Display"
Depth 24
Modes "1280x1024" "1280x1024" "1280x1024"
Viewport 0 0
EndSubsection
Option "AddARGBGLXVisuals" "True"
Comme tu peux le voir j'ai recemment activer cette derniere option, mais le probleme c'est que je n'arrive pas a bien comprendre a quoi sert chaque option quand je veux modifier le fichier xorg (l'aide est en anglais). en fait je sais pas si le xorg.conf qui est configuré automatiquement par nvidia-xconf me permet de beneficier de tt les performances de mon ASuS n6600TD( comme l'acceleration 3D)
Et merci bien.
0