category, type, title, created, date, tags
| category |
type |
title |
created |
date |
tags |
|
|
|
setting up gpu with proxmox lxc |
2026-04-27T22:33:37 |
2026-04-27 |
|
passing thought gpu to Proxmox lxc container
- install nvidia drivers on the host
- install partial drivers in the lxc
- blacklist novel (something like that) drvier
- black list files are in ``
- edit
/etc/modprobe.d/pve-blacklist.conf or create own .conf if it doesn't exist
- add following lines
blacklist nouveau
options nouveau modeset=0
- exec
update-grub
- exec
update-initramfs -u
- reboot
- enable power management on the host
- exec
nvidia-smi -pm 1
- you will need to create a system service that starts this a boot
nano /etc/systemd/system/nvidia-monitor.service
- systemctl daemon-reload
- systemctl enable --now nvidia-monitor.service
- to pass the gpu to the container
- exec
ls -l /dev/nvidia*
- edit
/etc/pve/lxc/ID.conf
- add following line, adjust using values from above