Skip to content

Instantly share code, notes, and snippets.

View j4ys0n's full-sized avatar

Jayson Jacobs j4ys0n

View GitHub Profile
@j4ys0n
j4ys0n / lxc-passthrough.txt
Created December 9, 2024 19:32
proxmox lxc gpu passthrough
- make sure sriov is enabled in your motherboard bios
- don't use the nvidia gpu as a display (i use asrock rack boards and the crappy on board graphics for local display, which i actually don't use unless there's a problem).
- install nvidia drivers on the host: ./NVIDIA-Linux-x86_64-xxx.xxx.run
- blacklist nvidia and nouvaeu kernel drivers on the host, reboot
- pass the devices through to the LXC before installing drivers, details below (prob doesn't matter, but i do it in this order)
- install THE SAME nvidia drivers on the LXC: ./NVIDIA-Linux-x86_64-xxx.xxx.run --no-kernel-module
below is an example with 4 gpus
find the device info you'll need for passthrough:
# This is a blocklist to block samsung smart tv's sending meta data at home.
# Please help to collect domains!
# It could be that the TV does not receive any more updates or other services no longer work. Please report such an incident.
abtauthprd.samsungcloudsolution.com
acr0.samsungcloudsolution.com
ad.samsungadhub.com
ads.samsungads.com
amauthprd.samsungcloudsolution.com
api-hub.samsungyosemite.com

Keybase proof

I hereby claim:

  • I am j4ys0n on github.
  • I am j4ys0n (https://keybase.io/j4ys0n) on keybase.
  • I have a public key ASA4cN8mydBO5IWCtQsSUSBCHkc5hYUVn6MV8NEi0-mb-go

To claim this, I am signing this object: