User Tools

Site Tools


nvidia

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nvidia [2021/08/01 13:46] – 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: Download Nvidia driver for Your card:
Line 14: Line 54:
 <code>blacklist nouveau <code>blacklist nouveau
 options nouveau modeset=0</code> 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: Regenerate the kernel initramfs:
  
Line 21: Line 66:
  
 if rebooted in terminal, good. If no, then enter terminal with <code>ctrl+Alt+F2</code> 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: then stop X server:
Line 29: Line 81:
  
 Then just run ~/NVIDIA-Linux-x86_64-470.57.02.run file and follow on screen questions. Then just run ~/NVIDIA-Linux-x86_64-470.57.02.run file and follow on screen questions.
 +
 Yes to all. 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>
nvidia.1627825611.txt.gz · Last modified: (external edit)