Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@pve:~# git clone https://github.com/wvthoog/proxmox-vgpu-installer.git && cd proxmox-vgpu-installer && bash proxmox-installer.sh
- Cloning into 'proxmox-vgpu-installer'...
- remote: Enumerating objects: 24, done.
- remote: Counting objects: 100% (24/24), done.
- remote: Compressing objects: 100% (19/19), done.
- remote: Total 24 (delta 7), reused 22 (delta 5), pack-reused 0
- Receiving objects: 100% (24/24), 43.99 KiB | 652.00 KiB/s, done.
- Resolving deltas: 100% (7/7), done.
- __________ __ __ ____ __ ____
- _ __/ ____/ __ \/ / / / / _/___ _____/ /_____ _/ / /__ _____
- | | / / / __/ /_/ / / / / / // __ \/ ___/ __/ __ ' / / / _\/ ___/
- | |/ / /_/ / ____/ /_/ / _/ // / / (__ ) /_/ /_/ / / / __/ /
- |___/\____/_/ \____/ /___/_/ /_/____/\__/\__,_/_/_/\___/_/
- by wvthoog.nl
- Welcome to the Nvidia vGPU installer version 1.1 for Proxmox
- This system is running Proxmox version 7.4 with kernel 5.15.107-2-pve
- Select an option:
- 1) New vGPU installation
- 2) Upgrade vGPU installation
- 3) Remove vGPU installation
- 4) Download vGPU drivers
- 5) License vGPU
- 6) Exit
- Enter your choice: 2
- You are currently at step 1 of the installation process
- Selected: Upgrade from previous vGPU installation
- [+] Making changes to APT for Proxmox version: 7
- [+] Adding Proxmox repository entry to /etc/apt/sources.list
- [+] Running APT Update
- [?] Do you want to proceed with APT Dist-Upgrade ? (y/n): y
- [+] Running APT Dist-Upgrade (...this might take some time)
- [+] Installing packages
- [!] No 6.5 kernels installed.
- [*] Found one Nvidia GPU in your system
- NVIDIA Quadro P2000 is vGPU capable through vgpu_unlock with driver version 16
- [-] Removing previous Nvidia driver
- [-] Removing previous vgpu_unlock-rs
- [-] Removing vgpu-proxmox
- [-] Kernel modules already present
- [-] Nouveau already blacklisted
- [+] Updating initramfs
- Step 1 completed. Reboot your machine to resume the installation.
- After reboot, run the script again to install the Nvidia driver.
- [?] Reboot your machine now? (y/n): y
- root@pve:~/proxmox-vgpu-installer# ./proxmox-installer.sh
- __________ __ __ ____ __ ____
- _ __/ ____/ __ \/ / / / / _/___ _____/ /_____ _/ / /__ _____
- | | / / / __/ /_/ / / / / / // __ \/ ___/ __/ __ ' / / / _\/ ___/
- | |/ / /_/ / ____/ /_/ / _/ // / / (__ ) /_/ /_/ / / / __/ /
- |___/\____/_/ \____/ /___/_/ /_/____/\__/\__,_/_/_/\___/_/
- by wvthoog.nl
- Welcome to the Nvidia vGPU installer version 1.1 for Proxmox
- This system is running Proxmox version 7.4 with kernel 5.15.149-1-pve
- You are currently at step 2 of the installation process
- Proceeding with the installation
- [+] Intel IOMMU Enabled
- [-] You are running Proxmox version 7.4
- [-] Your Nvidia GPU is supported by driver version 16.x
- Select vGPU driver version:
- 1: 17.0 (550.54.10)
- 2: 16.4 (535.161.05)
- 3: 16.2 (535.129.03)
- 4: 16.1 (535.104.06)
- 5: 16.0 (535.54.06)
- Enter your choice: 2
- [-] Driver version: NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm.run
- [+] Downloading vGPU NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm.run host driver using megadl
- 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
- [+] MD5 checksum matched. Downloaded file is valid.
- [+] Patching driver
- [+] Installing patched driver
- [+] Driver installed successfully.
- [+] Nvidia driver version: NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm.run
- [+] Nvidia driver properly loaded
- [+] Enable nvidia-vgpud.service
- [+] Enable nvidia-vgpu-mgr.service
- [+] In your VM download Nvidia guest driver for version: 535.161.05
- [-] Linux: https://storage.googleapis.com/nvidia-drivers-us-public/GRID/vGPU16.4/NVIDIA-Linux-x86_64-535.161.07-grid.run
- [-] Windows: https://storage.googleapis.com/nvidia-drivers-us-public/GRID/vGPU16.4/538.33_grid_win10_win11_server2019_server2022_dch_64bit_international.exe
- Step 2 completed and installation process is now finished.
- List all available mdevs by typing: mdevctl types and choose the one that fits your needs and VRAM capabilities
- Login to your Proxmox server over http/https. Click the VM and go to Hardware.
- Under Add choose PCI Device and assign the desired mdev type to your VM
- Removing the config.txt file.
- [?] Do you want to license the vGPU? (y/n): n
- Exiting script.
- Install the Docker container in a VM/LXC yourself.
- By using this guide: https://git.collinwebdesigns.de/oscar.krause/fastapi-dls#docker
Advertisement
Add Comment
Please, Sign In to add comment