User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
nvidia [2021/08/01 13:36] – created normannvidia [2026/04/16 09:37] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Nvidia Driver Install ====== +====== Nvidia Mellanox Technologies MT27520 Family [ConnectX-3 Pro] ======
-===== systemd =====+
  
 +Works for debian 11 on proxmox 7.3 and also Truenas.
  
 +
 +For proxmox:
 +
 +The driver is already embedded. Just load apropriate modules
 +
 +''%%modprobe mlx4_ib (or mlx4_en)%%''
 +
 +''%%modprobe ib_ipoib%%''
 +
 +then install mstflint
 +
 +''%%apt-get install mstflint%%''
 +
 +then
 +
 +mstflint -d xx:yy.z q
 +
 +You should see your configuration.
 +
 +Then enable your link by
 +
 +ip link set ibsxxxx up
 +
 +Sometimes after flashing of mcx314 to mcx354 for instance you need to change guids for infiniband
 +
 +mstflint -d ca:00.0 --guids 0002c9b300067400 0002c9b300067401 0002c9b300067402 0002c9b300067403 sg
 +
 +then reload pci-e by
 +
 +echo "1" > /sys/bus/pci/devices/0000\:xx\:yy.z/remove
 +
 +echo "1" > /sys/bus/pci/rescan
 +
 +you should in principle see your cards by ip a and in the network manager
 +
 +
 +====== Nvidia Graphics Driver Install ======
 +=====for systemd =====
 +
 +Download Nvidia driver for Your card:
 +https://www.nvidia.com/Download/index.aspx
 +
 +First need to disable nouveau driver:
 +
 +Create a file in terminal as root or add sudo
 +<code>nano /etc/modprobe.d/blacklist-nouveau.conf</code>
 +
 +With the following contents:
 +
 +<code>blacklist nouveau
 +options nouveau modeset=0</code>
 +
 +Or in terminal for script:
 +<code>bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"</code>
 +<code>bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"</code>
 +
 +Regenerate the kernel initramfs:
 +
 +<code>update-initramfs -u</code>
 +
 +Reboot system.
 +
 +if rebooted in terminal, good. If no, then enter terminal with <code>ctrl+Alt+F2</code>
 +
 +====== Here can start when update driver ======
 +
 +Download Nvidia driver for Your card:
 +https://www.nvidia.com/Download/index.aspx
 +
 +Enter terminal <code>Ctrl+Alt+F2</code>
 +
 +then stop X server:
 +<code>init 3</code>
 +
 +Then need to make downloaded driver.run file executable:
 +<code>chmod 777 ~/NVIDIA-Linux-x86_64-470.57.02.run</code>
 +
 +Then just run ~/NVIDIA-Linux-x86_64-470.57.02.run file and follow on screen questions.
 +
 +Yes to all.
 +
 +
 +If success, restart system and enjoy!
 +
 +P.S. If can.t find nvidia control panel, run nvidia-settings as root in terminal.
 +
 +===== Uninstall =====
 +<code>./NVIDIA-Linux-x86-310.19.run --uninstall</code>