Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am mauricesprague on github.
  • I am msprague (https://keybase.io/msprague) on keybase.
  • I have a public key whose fingerprint is 0E81 EB3F 7E9E 2EE0 353A 34D8 AFC8 8053 78AC 0892

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am mauricesprague on github.
* I am msprague (https://keybase.io/msprague) on keybase.
* I have a public key ASBpMlVcZ1rFPo7Ghmyr0pqzo9L5RorOVd7lvxaTUlIzqgo
To claim this, I am signing this object:

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.

@maur5
maur5 / mk_ubuntu.sh
Created November 22, 2024 22:53
Ubuntu Noble (6.8.0-48) on Proxmox 8.2.7 (6.8.12-4-pve) cloud-init i915-sriov-dkms
#!/usr/bin/bash
set -e
# References
# https://gist.github.com/scyto/e4e3de35ee23fdb4ae5d5a3b85c16ed3?permalink_comment_id=5266674#gistcomment-5266674
# https://github.com/UntouchedWagons/Ubuntu-CloudInit-Docs
# https://github.com/bbaa-bbaa/i915-sriov-dkms
# note to self: proxmox needs tools to inject things apt install --no-install-recommends --no-install-suggests guestfs-tools
# current as of now - this can probably be automated based on the image version - maybe deal with it when it's time to update