README.md: Write the "Nvidia driver" doc.

This commit is contained in:
gardouille 2015-11-16 19:47:30 +01:00
parent bc1e32a66e
commit 40a32224d9
2 changed files with 45 additions and 54 deletions

View File

@ -17,6 +17,7 @@
* [Multimedia tools for X11](#multimedia-tools-for-x11)
* [Games](#games)
* [Network share](#network-share)
* [Nvidia driver](#nvidia-driver)
* [Wireless driver for BCM43](#wireless-driver-for-bcm43)
* [Wireless tools for cli](#wireless-tools-for-cli)
* [Miscellaneous useless packages](#miscellaneous-useless-packages)
@ -384,6 +385,17 @@ vim-addons install latex-suite
* Disable nfs-kernel-server service if still available.
* Disable all samba service if still availables.
#### Nvidia driver
##### Add
* linux-header-amd64: Header files for Linux amd64 configuration (meta-package).
* nvidia-kernel-dkms: NVIDIA binary kernel module DKMS source.
* nvidia-xconfig: X configuration tool for non-free NVIDIA drivers.
##### Post-Configuration
* Backup previous xorg.conf file if exists.
* Run the NVIDIA configuration tool.
#### Wireless driver for BCM43
##### Add

View File

@ -23,8 +23,6 @@
## - Ajout de mat
## 2012-09-06
## - Ajout du paquet dnsutils
## 2012-05-01 - 0.5.01
## - Remplacement de firmware-brcm80211 au profit de broadcom-sta-dkms
## 2012-04-04 - 0.4.4:
## - Ajout du paquet alsa-utils
# **********************************************************************************************
@ -447,7 +445,7 @@ architecture
###########################################################
#### Configuration de Aptitude
###########################################################
###### Pré-configuration
##### Pré-configuration
## Chargement de la configuration pour ne pas avoir de messages lorsqu'un service a besoin
## de redémarrer après une mise à jour
@ -499,27 +497,27 @@ def_debug ${mode_debug}
## Prérequis
## Liste: debconf-utils - lsof
###########################################################
###### Pré-configuration
##### Pré-configuration
preconfig locales
preconfig keyboard
###### Installation
##### Installation
aptins "Prérequis" debconf-utils lsof
# Pour la description de debconf-utils, voir la partie "Outils d'administration"
###########################################################
#### X11 Server
###### Pre-configuration
##### Pre-configuration
preconfig x11-common
###### Installation
##### Installation
aptins "X11 Server" mesa-utils xorg
###########################################################
###########################################################
#### Graphic Environment
###### Installation
##### Installation
aptins "Graphic Environment" alsa-utils gtk2-engines-cleanice herbstluftwm i3lock lxappearance nitrogen redshift rofi roxterm scrot suckless-tools terminator wmctrl xbacklight xclip
##### Remove
@ -528,7 +526,7 @@ arem "Purge: Graphic Environment" xscreensaver xscreensaver-data
###########################################################
#### Gnome tools
###### Installation
##### Installation
aptins "Gnome tools" evince etherape gedit gnome-calculator gparted nemo nemo-fileroller planner
##### Remove
@ -537,7 +535,7 @@ arem "Purge: Gnome tools" eog
###########################################################
#### Dev tools
###### Installation
##### Installation
aptins "Dev tools" build-essential binutils cpp debconf-utils gcc g++ make
###########################################################
@ -631,51 +629,32 @@ fi
###########################################################
#### Internet tools for X11
###### Installation
##### Installation
aptins "Internet tools for X11" browser-plugin-freshplayer-pepperflash dwb filezilla icedove icedove-l10n-fr iceowl-extension iceweasel iceweasel-l10n-fr luakit midori mumble pepperflashplugin-nonfree pidgin pidgin-otr pidgin-microblog rdesktop transmission xvnc4viewer
###### Remove
##### Remove
arem "Purge: Internet tools for X11" flashplugin-nonfree flashplugin-nonfree-extrasound
###### Post-configuration
##### Post-configuration
# Ensure to install last flash version
update-pepperflashplugin-nonfree --install
###########################################################
###########################################################
## Carte graphiqua
## Suport: nvidia -
## Liste: nvidia-glx nvidia-kernel-dkms nvidia-settings nvidia-xconfig
###########################################################
###### Installation
#### Nvidia driver
if [ "$(lspci | grep -i nvidia)" ]; then
###### Pré-configuration
module-assistant prepare
module-assistant clean nvidia-kernel
module-assistant auto-install -i nvidia-kernel-source
##### Installation
aptins "Nvidia driver" linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-kernel-dkms nvidia-xconfig
###### Installation
aptins "Pilotes NVidia" nvidia-glx nvidia-kernel-dkms nvidia-settings nvidia-xconfig
## Post-configuration
##### Post-configuration
## Backup previous xorg.conf file if exists
if [ -f /etc/X11/xorg.conf ]; then
mv /etc/X11/xorg.conf{,.bkp}
fi
## Run the Nvidia configuration tool
nvidia-xconfig --no-logo
###### Information pour l'utilisateur final
cat >> "${INFORMATION}" << EOF
======Pilotes NVidia======
Voici la liste des paquets installés :
+nvidia-glx : Fournis le nvidia-kernel-295.33
+nvidia-kernel-dkms :Fournis les sources du module noyau nvidia DKMS
+nvidia-settings : Outils pour configurer le driver NVIDIA
+nvidia-xconfig : Outils de configuration de X pour NVIDIA
EOF
fi
###########################################################
###########################################################
#### Wireless driver for BCM43
@ -697,17 +676,17 @@ fi
###########################################################
#### Office tools for cli
###### Pre-configuration
##### Pre-configuration
# Load preseed file
preconfig cups
###### Installation
##### Installation
aptins "Office tools for cli" cups devtodo graphviz imagemagick imagemagick-doc odt2txt pdftk texlive texlive-latex-extra vim-latexsuite
###### Remove
##### Remove
arem "Purge: Office tools for cli" avahi-autopid avahi-daemon cups-browsed libnss-mdns
###### Post-configuration
##### Post-configuration
# Add the standard user to lpadmin group to be able to manage Cups administration via webgui.
adduser "${new_username}" lpadmin > /dev/null 2> "${fichier_erreur}"
# cups needs samba!
@ -715,37 +694,37 @@ adduser "${new_username}" lpadmin > /dev/null 2> "${fichier_erreur}"
###########################################################
#### Office tools for X11
###### Installation
##### Installation
aptins "Outils bureautique graphique" freeplane gprename key-mon libreoffice libreoffice-l10n-fr libreoffice-help-fr libreoffice-pdfimport fonts-linuxlibertine ttf-ancient-fonts verbiste verbiste-gnome
###########################################################
###########################################################
#### Multimedia tools for cli
###### Installation
##### Installation
aptins "Multimedia tools for cli" avinfo eyed3 ffmpeg mkvtoolnix moc w32codecs
###########################################################
###########################################################
#### Multimedia tools for X11
###### Installation
##### Installation
aptins "Multimedia tools for X11" audacity easytag gimp inkscape mirage mkvtoolnix-gui smplayer rhythmbox vlc
###########################################################
###########################################################
#### Games
###### Installation
##### Installation
aptins "Games" teeworlds teeworlds-server
###########################################################
###########################################################
#### Network share
###### Installation
##### Installation
aptins "Network share" nfs-common
###### Remove
##### Remove
arem "Purge: Network share" nfs-kernel-server samba
###### Post-configuration
##### Post-configuration
#### If nfs-kernel-server and samba are need or vital for the system, disable them anyway
# Disable samba service if available by default
if [ $(command -v samba) ]; then
@ -775,7 +754,7 @@ aptins "Miscellaneous useless packages" asr-manpages cmatrix cowsay cowsay-off f
###########################################################
#### Manpages / Documentation
###### Installation
##### Installation
aptins "Manpages" aptitude-doc-fr info manpages-fr manpages-fr-dev manpages-fr-extra
###########################################################