Pages : 1
#1 Le 14/07/2006, à 23:10
- TheDead Master
[résolu] Acceleration 3D nvidia
Salut,
J'ai un petit problème pour activer l'acceleration 3D avec une carte nVidia sous dapper:
J'ai suivi ce tuto: http://doc.ubuntu-fr.org/materiel/nvidia
Mais quand je redemarre le serveur X, ça memet un message d'erreur, et je suis obligé de remettre ma sauvegarde de xorg.conf.
Voici le detail de ce que j'ai fait:
mon xorg.conf:
Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
BusID "PCI:1:0:0"
EndSection
dead@dead:~$ sudo apt-get install linux-restricted-modules-`uname -r`
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
linux-restricted-modules-2.6.15-23-386 est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 126 non mis à jour.
dead@dead:~$ sudo apt-get install nvidia-glx nvidia-kernel-common
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
nvidia-glx est déjà la plus récente version disponible.
nvidia-kernel-common est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 126 non mis à jour.
dead@dead:~$ sudo nvidia-glx-config enable
Error: your X configuration has been altered.
This script cannot proceed automatically. If you believe that this
not correct, you can update the md5sum entry executing the following
command:
md5sum /etc/X11/xorg.conf | sudo tee /var/lib/x11/xorg.conf.md5sum
otherwise edit manually /etc/X11/xorg.conf to change the Driver section
from nv to nvidia.
dead@dead:~$
Donc la déjà un problème.
Je fais ce qu'il y a de marqué:
dead@dead:~$ md5sum /etc/X11/xorg.conf | sudo tee /var/lib/x11/xorg.conf.md5sum
dead@dead:~$ sudo nvidia-glx-config enable
A backup of xorg.conf has been stored as:
/var/backups/xorg.conf.2006-07-15-00:03:44.
If the new configuration will not work you will be able to
revert the changes simply using this command:
cp /var/backups/xorg/xorg.conf.2006-07-15-00:03:44 /etc/X11/xorg.conf
Warning: your X configuration has been succesfully changed.
In order to take full advantage of the changes, X needs to
be restarted.
mon nouveau xorg.conf:
Section "Device"
Identifier "ATI Technologies, Inc. Radeon RV100 QY [Radeon 7000/VE]"
Driver "nvidia"
BusID "PCI:0:5:0"
EndSection
Pourquoi ATI, ce matin j'ai branché une carte ATI radeon 9600 pro, ça doit venir de la. Mais je l'ai retiré et j'ai remis ma nVidia FX 5200.
la je redemarre serveur X et sa met une erreur de config.
J'ai essayé:
Section "Device"
Identifier "nVidia Corporation NV34 [GeForce FX 5200]"
Driver "nvidia"
BusID "PCI:0:5:0"
EndSection
Mais toujours pareil.
Je ne vois pas trop pourquoi ça veut pas marcher.
Merci d'avance pour l'aide
Dernière modification par TheDead Master (Le 16/07/2006, à 22:35)
Hors ligne
#2 Le 15/07/2006, à 00:25
- eurykane
Re : [résolu] Acceleration 3D nvidia
Salut,
Juste vite fait, tu peux essayer de mettre à la ligne BusID
BusID "PCI:1:0:0"
Hors ligne
#3 Le 15/07/2006, à 01:04
- TheDead Master
Re : [résolu] Acceleration 3D nvidia
ça plante aussi, merci quand même
Hors ligne
#4 Le 15/07/2006, à 01:07
- eurykane
Re : [résolu] Acceleration 3D nvidia
Re
fait voir ton Xorg.conf complet.:|
Dernière modification par eurykane (Le 15/07/2006, à 01:25)
Hors ligne
#5 Le 15/07/2006, à 01:50
- TheDead Master
Re : [résolu] Acceleration 3D nvidia
Un autre truc que je viens de m'aperçevoir, quand je lance mPlayer il me dit qu'il y a des problèmes avec les driver de ma carte vidéo.
Je viens de penser que le driver generique qui est installé est peut-être un driver pour ATI nan?
mon Xorg.conf:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorgSection "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSectionSection "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSectionSection "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
Option "XkbVariant" "latin9"
EndSectionSection "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSectionSection "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSectionSection "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSectionSection "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSectionSection "Device"
Identifier "Generic Video Card"
Driver "vesa"
BusID "PCI:1:0:0"
EndSectionSection "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSectionSection "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSectionSection "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSectionSection "DRI"
Mode 0666
EndSection
Dernière modification par TheDead Master (Le 15/07/2006, à 01:53)
Hors ligne
#6 Le 15/07/2006, à 13:10
- eurykane
Re : [résolu] Acceleration 3D nvidia
Ton problème est pas trés claire.
Tu a installé une carte nvidia, installé le driver avec le tuto.
après ceci essaye ça
sudo dpkg-reconfigure xserver-xorg
Hors ligne
#7 Le 15/07/2006, à 14:13
- Lestat the vampire
Re : [résolu] Acceleration 3D nvidia
Je pense aussi que tu devrais mettre à jour tes 126 paquets !!!
Parmi eux, il y a une mise à jour des drivers nvidia, des linux-restricted et compagnie...ca pourrait aider ! Installe un noyau optimisé pour ta machine au passage....
En ce qui concerne ton xorg.conf, dans le wiki, j'avais écris aussi que quand on avait un message d'erreur apres la commande "sudo nvidia-glx-config enable", il fallait juste changer manuellement le nv en nvidia dans le xorg.conf et non faire des manips comme tu as fais...
Ta commande md5sum /etc/X11/xorg.conf | sudo tee /var/lib/x11/xorg.conf.md5sum a du installer un xorg.conf de base, non personnalisé et a mon avis c ca qui plante...
Comme écris plus haut, je te conseillerais de restaurer ton xorg.conf selon la manip
If the new configuration will not work you will be able to
revert the changes simply using this command:
cp /var/backups/xorg/xorg.conf.2006-07-15-00:03:44 /etc/X11/xorg.conf
Une fois ce xorg.conf restauré, change juste nv en nvidia et ne touche a rien d'autre dans ce fichier...et redemarre X.
Hors ligne
#8 Le 15/07/2006, à 20:44
- TheDead Master
Re : [résolu] Acceleration 3D nvidia
ça marche, Merci !
J'ai reconfiguré xorg, mais maintenant j'ai des petites bandes noir à gauche et en bas de l'écran. ça vient d'une mauvaise configuration que je viens de faire ou c'est juste que je m'en était jamais aperçu ??
Hors ligne