Skip to content

Instantly share code, notes, and snippets.

Ultimate Beginner's Guide to Proxmox GPU Passthrough

mirror of The Ultimate Beginner's Guide to GPU Passthrough (Proxmox, Windows 10) by /u/cjalas

>Welcome all, to the first installment of my Idiot Friendly tutorial series! I'll be guiding you through the process of configuring GPU Passthrough for your Proxmox Virtual Machine Guests. This guide is aimed at beginners to virtualization, particularly for Proxmox users. It is intended as an overall guide for passing through a GPU (or multiple GPUs) to your Virtual Machine(s). It is not intended as an all-exhaustive how-to guide; however, I will do my best to provide you with all the necessary resources and sources for the passthrough process, from start to finish. If something doesn't work properly, please check /r/Proxmox, /r/Homelab, /r/VFIO, or

Mount Volumes into Proxmox VMs with Virtio-fs

Part of collection: Hyper-converged Homelab with Proxmox

Virtio-fs is a shared file system that lets virtual machines access a directory tree on the host. Unlike existing approaches, it is designed to offer local file system semantics and performance. The new virtiofsd-rs Rust daemon Proxmox 8 uses, is receiving the most attention for new feature development.

Performance is very good (while testing, almost the same as on the Proxmox host)

VM Migration is not possible yet, but it's being worked on!

@MaleicAcid
MaleicAcid / OBS_ENV_SETUP.ps1
Created December 26, 2024 12:09 — forked from cpyarger/OBS_ENV_SETUP.ps1
Automated setup and install obs-studio build environment on windows 10
# This script sets up everything needed to do obs-studio development on windows 10
# Install Chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
# Install Git
choco install -y git
# Install Cmake
choco install -y cmake --installargs 'ADD_CMAKE_TO_PATH=System'
# Install 7zip and create alias

Enable & Using vGPU Passthrough

This gist is almost entirely not unlike Derek Seaman's awesome blog:

Proxmox VE 8: Windows 11 vGPU (VT-d) Passthrough with Intel Alder Lake

As such please refer to that for pictures, here i will capture the command lines I used as i sequence the commands a little differently so it makes more logic to me.

This gists assumes you are not running ZFS and are not passing any other PCIE devices (as both of these can require addtional steps - see Derek's blog for more info)

This gist assumes you are not running proxmox in UEFI Secure boot - if you are please refer entirely to dereks blog.

@MaleicAcid
MaleicAcid / protconf.py
Created October 6, 2024 00:33 — forked from tiimk/protconf.py
Create configs and auto vpn swapping
import http.client
import http.cookies
import json
import base64
import hashlib
import os
import random
import argparse
import time
from cryptography.hazmat.primitives import serialization
@MaleicAcid
MaleicAcid / protonvpn-wireguard-generator.py
Created October 6, 2024 00:33 — forked from fusetim/protonvpn-wireguard-generator.py
Generate lots of Wireguard configuration for your ProtonVPN Account.
import http.client
import http.cookies
import json
import base64
import hashlib
from cryptography.hazmat.primitives import serialization
from cryptography.hazmat.primitives.asymmetric import x25519
from cryptography.hazmat.primitives.asymmetric import ec
from cryptography.hazmat.primitives import hashes
@MaleicAcid
MaleicAcid / H1
Created September 24, 2024 15:58 — forked from TellonUK/H1
//@version=5
indicator("Uptrend, PB, and H1 Identification with ADR Condition", overlay=true)
// Initialize variables to track state
var bool inUptrend = false
var bool inPB = false
var bool inPB2 = false
var bool inH1 = false
var float firstUpHigh = na
var int pbBarIndex = na