Guest User

Untitled

a guest
May 9th, 2024
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.74 KB | None | 0 0
  1. root@pve:~# git clone https://github.com/wvthoog/proxmox-vgpu-installer.git && cd proxmox-vgpu-installer && bash proxmox-installer.sh
  2. Cloning into 'proxmox-vgpu-installer'...
  3. remote: Enumerating objects: 24, done.
  4. remote: Counting objects: 100% (24/24), done.
  5. remote: Compressing objects: 100% (19/19), done.
  6. remote: Total 24 (delta 7), reused 22 (delta 5), pack-reused 0
  7. Receiving objects: 100% (24/24), 43.99 KiB | 652.00 KiB/s, done.
  8. Resolving deltas: 100% (7/7), done.
  9.  
  10. __________ __ __ ____ __ ____
  11. _ __/ ____/ __ \/ / / / / _/___ _____/ /_____ _/ / /__ _____
  12. | | / / / __/ /_/ / / / / / // __ \/ ___/ __/ __ ' / / / _\/ ___/
  13. | |/ / /_/ / ____/ /_/ / _/ // / / (__ ) /_/ /_/ / / / __/ /
  14. |___/\____/_/ \____/ /___/_/ /_/____/\__/\__,_/_/_/\___/_/
  15. by wvthoog.nl
  16.  
  17. Welcome to the Nvidia vGPU installer version 1.1 for Proxmox
  18. This system is running Proxmox version 7.4 with kernel 5.15.107-2-pve
  19.  
  20. Select an option:
  21.  
  22. 1) New vGPU installation
  23. 2) Upgrade vGPU installation
  24. 3) Remove vGPU installation
  25. 4) Download vGPU drivers
  26. 5) License vGPU
  27. 6) Exit
  28.  
  29. Enter your choice: 2
  30.  
  31. You are currently at step 1 of the installation process
  32.  
  33. Selected: Upgrade from previous vGPU installation
  34.  
  35. [+] Making changes to APT for Proxmox version: 7
  36. [+] Adding Proxmox repository entry to /etc/apt/sources.list
  37. [+] Running APT Update
  38.  
  39. [?] Do you want to proceed with APT Dist-Upgrade ? (y/n): y
  40.  
  41. [+] Running APT Dist-Upgrade (...this might take some time)
  42. [+] Installing packages
  43. [!] No 6.5 kernels installed.
  44. [*] Found one Nvidia GPU in your system
  45.  
  46. NVIDIA Quadro P2000 is vGPU capable through vgpu_unlock with driver version 16
  47.  
  48. [-] Removing previous Nvidia driver
  49. [-] Removing previous vgpu_unlock-rs
  50. [-] Removing vgpu-proxmox
  51. [-] Kernel modules already present
  52. [-] Nouveau already blacklisted
  53. [+] Updating initramfs
  54.  
  55. Step 1 completed. Reboot your machine to resume the installation.
  56.  
  57. After reboot, run the script again to install the Nvidia driver.
  58.  
  59. [?] Reboot your machine now? (y/n): y
  60.  
  61. root@pve:~/proxmox-vgpu-installer# ./proxmox-installer.sh
  62.  
  63. __________ __ __ ____ __ ____
  64. _ __/ ____/ __ \/ / / / / _/___ _____/ /_____ _/ / /__ _____
  65. | | / / / __/ /_/ / / / / / // __ \/ ___/ __/ __ ' / / / _\/ ___/
  66. | |/ / /_/ / ____/ /_/ / _/ // / / (__ ) /_/ /_/ / / / __/ /
  67. |___/\____/_/ \____/ /___/_/ /_/____/\__/\__,_/_/_/\___/_/
  68. by wvthoog.nl
  69.  
  70. Welcome to the Nvidia vGPU installer version 1.1 for Proxmox
  71. This system is running Proxmox version 7.4 with kernel 5.15.149-1-pve
  72.  
  73.  
  74. You are currently at step 2 of the installation process
  75.  
  76. Proceeding with the installation
  77.  
  78. [+] Intel IOMMU Enabled
  79. [-] You are running Proxmox version 7.4
  80. [-] Your Nvidia GPU is supported by driver version 16.x
  81.  
  82. Select vGPU driver version:
  83.  
  84. 1: 17.0 (550.54.10)
  85. 2: 16.4 (535.161.05)
  86. 3: 16.2 (535.129.03)
  87. 4: 16.1 (535.104.06)
  88. 5: 16.0 (535.54.06)
  89.  
  90. Enter your choice: 2
  91.  
  92. [-] Driver version: NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm.run
  93. [+] Downloading vGPU NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm.run host driver using megadl
  94. NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm.run: 2.95% - 1.5 MiB (1,544,576 bytes) oNVIDIA-Linux-x86_64-535.161.05-vgpu-kvm.run: 16.14% - 8.1 MiB (8,463,376 bytes) NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm.run: 26.34% - 13.2 MiB (13,806,288 bytesNVIDIA-Linux-x86_64-535.161.05-vgpu-kvm.run: 53.08% - 26.5 MiB (27,826,816 bytesNVIDIA-Linux-x86_64-535.161.05-vgpu-kvm.run: 100.00% - 50.0 MiB (52,421,138 byteDownloaded NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm.run
  95. [+] MD5 checksum matched. Downloaded file is valid.
  96. [+] Patching driver
  97. [+] Installing patched driver
  98. [+] Driver installed successfully.
  99. [+] Nvidia driver version: NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm.run
  100. [+] Nvidia driver properly loaded
  101. [+] Enable nvidia-vgpud.service
  102. [+] Enable nvidia-vgpu-mgr.service
  103. [+] In your VM download Nvidia guest driver for version: 535.161.05
  104. [-] Linux: https://storage.googleapis.com/nvidia-drivers-us-public/GRID/vGPU16.4/NVIDIA-Linux-x86_64-535.161.07-grid.run
  105. [-] Windows: https://storage.googleapis.com/nvidia-drivers-us-public/GRID/vGPU16.4/538.33_grid_win10_win11_server2019_server2022_dch_64bit_international.exe
  106.  
  107. Step 2 completed and installation process is now finished.
  108.  
  109. List all available mdevs by typing: mdevctl types and choose the one that fits your needs and VRAM capabilities
  110. Login to your Proxmox server over http/https. Click the VM and go to Hardware.
  111. Under Add choose PCI Device and assign the desired mdev type to your VM
  112.  
  113. Removing the config.txt file.
  114.  
  115.  
  116. [?] Do you want to license the vGPU? (y/n): n
  117.  
  118.  
  119. Exiting script.
  120. Install the Docker container in a VM/LXC yourself.
  121. By using this guide: https://git.collinwebdesigns.de/oscar.krause/fastapi-dls#docker
Advertisement
Add Comment
Please, Sign In to add comment