diff --git a/source/Installation/linux_install.rst b/source/Installation/linux_install.rst index c04ef53a903f6db513ee453fb1eb8753a9c9a660..b9700894c560569da2014a4b1c45cab1a60846f0 100644 --- a/source/Installation/linux_install.rst +++ b/source/Installation/linux_install.rst @@ -132,6 +132,84 @@ Choose a good password It's very important especially if you are connected to the net (ssh, ...) +Install proprietary drivers for the graphics card +------------------------------------------------- + +Your graphics card is a NVIDIA. This company provides non free drivers to get better performances. +By default the installed drivers is `nouveau` which is open source. +It works well but some bioinformatics software use the graphic card on gpu which offer better performance. +So we can installed the NVIDIA drivers + +Update system +""""""""""""" +Before to start the installation phase, we will update the system to get le last version of the drivers + +.. code-block:: + + sudo apt update + sudo apt upgrade -y + +Detection of cards and drivers +"""""""""""""""""""""""""""""" + +Ubuntu propose a command to auto detect our cards and propose some compatible drivers + +.. code-block:: + :emphasize-lines: 8 + + $ ubuntu-drivers autoinstall + == /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0 == + modalias : pci:v000010DEd0000249Csv00001043sd000013DDbc03sc00i00 + vendor : NVIDIA Corporation + model : GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB] + driver : nvidia-driver-470-server - distro non-free + driver : nvidia-driver-510 - distro non-free + driver : nvidia-driver-515 - distro non-free recommended + driver : nvidia-driver-470 - distro non-free + driver : nvidia-driver-515-server - distro non-free + driver : nvidia-driver-510-server - distro non-free + driver : xserver-xorg-video-nouveau - distro free builtin + +Here the system propose to install driver-515 (see `recommended` on higlighted line) +We are agree with this choice. + +Installation of the driver +"""""""""""""""""""""""""" + +To install the driver proposed by the detection step + +.. code-block:: + + $ sudo ubuntu-drivers autoinstall + +Check if nvidia works +""""""""""""""""""""" + +.. code-block:: + + nvidia-smi + Thu Sep 8 11:24:06 2022 + +-----------------------------------------------------------------------------+ + | NVIDIA-SMI 515.65.01 Driver Version: 515.65.01 CUDA Version: 11.7 | + |-------------------------------+----------------------+----------------------+ + | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | + | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | + | | | MIG M. | + |===============================+======================+======================| + | 0 NVIDIA GeForce ... Off | 00000000:01:00.0 Off | N/A | + | N/A 33C P3 N/A / N/A | 5MiB / 8192MiB | 0% Default | + | | | N/A | + +-------------------------------+----------------------+----------------------+ + + +-----------------------------------------------------------------------------+ + | Processes: | + | GPU GI CI PID Type Process name GPU Memory | + | ID ID Usage | + |=============================================================================| + | 0 N/A N/A 1104 G /usr/lib/xorg/Xorg 4MiB | + +-----------------------------------------------------------------------------+ + +(source: https://www.linuxcapable.com/how-to-install-nvidia-drivers-on-ubuntu-22-04-lts/) Administration ==============