Merci LMDE60,
La commande sh me donne un message d'erreur comme quoi le serveur x est actif et entre en conflit avec l'installation du pilote:
Code : Tout sélectionner
ERROR: You appear to be running an X server; please exit X before
installing. For further details, please see the section INSTALLING
THE NVIDIA DRIVER in the README available on the Linux driver
download page at www.nvidia.com.
Ensuite quand je valide ce message, j'ai celui-ci:
Code : Tout sélectionner
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find
suggestions on fixing installation problems in the README available
on the Linux driver download page at www.nvidia.com.
Le log en question:
Code : Tout sélectionner
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat May 2 13:59:38 2020
installer version: 440.82
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
nvidia-installer command line:
./nvidia-installer
Using: nvidia-installer ncurses v6 user interface
-> Detected 8 CPUs online; setting concurrency level to 8.
-> The file '/tmp/.X0-lock' exists and appears to contain the process ID '955' of a runnning X server.
ERROR: You appear to be running an X server; please exit X before installing. For further details, please see the section INSTALLING THE NVIDIA DRIVER in the README available on the Linux driver download page at www.nvidia.com.
J'ai essayé du tuer le serveur X (sudo kill 955), mais il redémarre rapidement...
Ensuite j'ai réessayé et fait tout de suite après un Ctrl+Alt+F1 pour passer en tty, mais en lançant l'installation du pilote, mêmes messages d'erreur.
J'ai cherché le README en question:
http://us.download.nvidia.com/XFree86/L ... index.html
J'y ai trouvé ceci:
Code : Tout sélectionner
When I try to install the driver, the installer claims that X is running, even though I have exited X.
The installer detects the presence of an X server by checking for the X server's lock files: /tmp/.Xn-lock, where 'n' is the number of the X Display (the installer checks for X Displays 0-7). If you have exited X, but one of these files has been left behind, then you will need to manually delete the lock file. Do not remove this file if X is still running!
J'ai trouvé sur un autre forum que je pouvais stopper durablement le serveur x par la commande
et le redémarrer avec
Cela effectué, je me trouve dans une console vide, ou aucune commande n'a d'effet!
Jusqu'à ce que je comprenne qu'il faut faire un Ctrl+Alt+F1 pour entrer dans un tty.
Là j'essaye de nouveau mon installation et je reçois un message comme quoi le pilote linux "Nouveau" est incompatible avec celui de Nvidia et qu'il faut donc désctiver son démarrage en ajoutant un fichier dans /etc/modprobe.d
L'installeur me propose de le faire pour moi et il crée /etc/modprobe.d/nvidia-installer-disable-nouveau.conf, qui contient:
Code : Tout sélectionner
# generated by nvidia-installer
blacklist nouveau
options nouveau modeset=0
Et me dit qu'après un redémarrage ça devrait fonctionner, sauf si le pilote se charge sur la RAM au démarrage.
Après redémarrage, rebelotte! Un peu fatigué des sauvegarder mes brouillons toutes les trois phrases par peur que ça plante et de les perdre et redémarrer sans cesse... On va voir la suite de ce que propose Nvidia...
Code : Tout sélectionner
What if my initial ramdisk image contains Nouveau?
Some distributions include Nouveau in an initial ramdisk image (henceforth referred to as "initrd" in this document, and sometimes also known as "initramfs"), so that Nouveau's kernel modeset can take place as early as possible in the boot process. This poses an additional challenge to those who wish to prevent the modeset from occurring, as the modeset will occur while the system is executing within the initrd, before any directives in the module loader configuration files are processed.
If you have an initrd which loads the Nouveau driver, you will additionally need to ensure that Nouveau is disabled in the initrd. In most cases, rebuilding the initrd will pick up the module loader configuration files, including any which may disable Nouveau. Please consult your distribution's documentation on how to rebuild the initrd, as different distributions have different tools for building and modifying the initrd. Some popular distro initrd tools include: dracut, mkinitrd, and update-initramfs.
Some initrds understand the rdblacklist parameter. On these initrds, as an alternative to rebuilding the initrd, you can add the option rdblacklist=nouveau to your kernel's boot parameters. On initrds that do not support rdblacklist, it is possible to prevent Nouveau from performing a kernel modeset by adding the option nouveau.modeset=0 to your kernel's boot parameters. Note that nouveau.modeset=0 will prevent a kernel modeset, but it may not prevent Nouveau from being loaded, so rebuilding the initrd or using rdblacklist may be more effective than using nouveau.modeset=0.
Any changes to the default kernel boot parameters should be made in your bootloader's configuration file(s), so that the options get passed to your kernel every time the system is booted. Please consult your distribution's documentation on how to configure your bootloader, as different distributions use different bootloaders and configuration files.
Du coup je vais tenter ce qui est proposé ici:
viewtopic.php?p=170598#p170598 alain !
Mais à l'étape de l'installationdu pilote,
Code : Tout sélectionner
gilles@bureau:~$ sudo aptitude -r install nvidia-legacy-440.82-driver nvidia-xconfig
Impossible de trouver un paquet dont le nom ou la description corresponde à « nvidia-legacy-440.82-driver »
Unable to apply some actions, aborting
gilles@bureau:~$ sudo aptitude -r install NVIDIA-Linux-x86_64-440.82-driver nvidia-xconfig
Impossible de trouver un paquet dont le nom ou la description corresponde à « NVIDIA-Linux-x86_64-440.82-driver »
Unable to apply some actions, aborting
gilles@bureau:~$ sudo aptitude -r install NVIDIA-Linux-x86_64-440.59-driver nvidia-xconfig
Impossible de trouver un paquet dont le nom ou la description corresponde à « NVIDIA-Linux-x86_64-440.59-driver »
Unable to apply some actions, aborting
gilles@bureau:~$ sudo aptitude -r install nvidia-legacy-440.59-driver nvidia-xconfig
Impossible de trouver un paquet dont le nom ou la description corresponde à « nvidia-legacy-440.59-driver »
Unable to apply some actions, aborting
gilles@bureau:~$
J'ai essayé avec les deux versions que je connais: celle qui tourne sur la 19.3 et celle que j'ai téléchargée précédemment, ainsi qu'avec deux formulations différentes, mais là je sèche et je me demande ce qui va se passer au prochain démarrage, sans pilote! (En général on finit dans le mur!
)
Et là je ne sais plus quoi faire!!
Merci aux pérsévérants qui m'ont lu jusque là!
Desktop: LM 21.1 Cinnamon / CPU Intel i7-3770K 3.5GHz x4 / Ram 16 Go, SSD 256 Go (/ + home + swap), HDD 500 Go (Docs + Sauvegarde home) / NVIDIA GeF. GTX 660