Servers

Proxmox LXC AMD GPU passthrough with an unprivileged container (2026 guide)

Servers15 min read

Updated

By Ayush Sahay Chaudhary

On this page
Illustration of the Proxmox Virtual Environment logo beside a glowing AMD Radeon logo in front of server racks

Updated 18 Nov 2026: made Proxmox’s built-in device passthrough (dev0) for unprivileged containers the main method, removed the IOMMU and firmware-amd-graphics steps, replaced the manual privileged conversion with the documented one, and added notes on vainfo errors, apps and ROCm.

To pass an AMD Radeon GPU into a Proxmox LXC container, keep the amdgpu driver loaded on the host and give the container the GPU’s render node with Proxmox’s built-in device passthrough: pct set <ctid> -dev0 /dev/dri/renderD128,gid=<render gid inside the container>. This works in unprivileged containers on Proxmox VE 8.1 and later, so you don’t need a privileged container or AppArmor turned off. Then install mesa-va-drivers and vainfo in the container and check that vainfo lists your card.

Are you pulling your hair out over error: failed to initialize display and cryptic Operation not permitted errors? You’re not alone. The steps below cover the usual causes for an AMD card such as the Radeon RX 5700 XT and get it ready for VA-API hardware transcoding in apps like Immich and Jellyfin.

This guide was born in September 2025 from a real, marathon troubleshooting session, and in that session a privileged container is what finally worked.

The first version of this guide recommended that privileged setup. Proxmox VE had already shipped a cleaner route in version 8.1 (23 Nov 2023): device passthrough that works in unprivileged containers. This update leads with it and keeps the privileged setup as a fallback, with its security costs spelled out.

Tested by our setup on 17 Nov 2026

  • What we did: ran the container passthrough steps on a test install. The GPU was a virtio GPU in a virtual machine, not an AMD card.
  • On: Proxmox VE 9.2 (pve-manager 9.2.2, kernel 7.0.2-6-pve) running in a KVM virtual machine on an i3-7100 home server, virtio GPU, unprivileged Debian 13 container
  • When: 17 Nov 2026
  • Not tested: an AMD GPU, VA-API profiles, ROCm and /dev/kfd, the IOMMU and GRUB steps, the web UI path, Proxmox VE 8, Ubuntu containers, and the Immich, Jellyfin, Plex and Scrypted settings

Why is this so hard? The core problem

The primary challenge with unprivileged LXC containers is permissions. An unprivileged container is a sandbox where even the root user inside is mapped to an unprivileged user on the host. On our test install that was UID 100000. This is good for security, and it’s why hardware access in unprivileged containers used to need workarounds.

Proxmox VE 8.1 added a direct fix. Its device passthrough option (dev0, dev1 and so on) creates the device node inside the container, maps the owner and group you give it through the container’s ID map, sets mode 0660 by default and adds the matching cgroup2 device rule. The web UI got the same option in 8.2. You don’t edit raw lxc.* lines, and AppArmor stays on.

As of November 2026, the current release is Proxmox VE 9.2, released on 21 May 2026. Proxmox VE 8 reached end of life in August 2026, so this guide is written for 9.x.

Top 24 Docker apps for your home server (2026 guide)

Step 1: prepare the Proxmox host

The host only needs to load the GPU driver and create the render node. Two steps that older guides include, this one’s first version among them, are not needed.

Skip IOMMU: containers don’t need it

IOMMU (AMD-Vi on AMD, VT-d on Intel) matters when you pass a whole PCI(e) device to a virtual machine. A container only gets a device node from the host’s own driver, so it doesn’t need IOMMU, and editing the kernel command line for it changes nothing here.

  • With AMD CPUs, IOMMU is on by default. The kernel’s amd_iommu= parameter has no on value.
  • With Intel CPUs, it is on by default with kernel 6.8 or newer. Proxmox VE 9.2 ships kernel 7.0 by default.

If you later want to give the whole card to a VM instead, follow the Proxmox PCI(e) passthrough guide. It also covers hosts that boot with systemd-boot, which don’t use /etc/default/grub.

AMD firmware is already installed: don’t add firmware-amd-graphics

Proxmox VE installs its own firmware package, pve-firmware, by default, and it includes the AMD GPU firmware. On our test install it listed 13 files for Navi 10, the chip in the RX 5700 XT:

Tested by our setup on 17 Nov 2026: Proxmox VE 9.2 in a nested VM (pve-firmware 3.18-3).

bash
dpkg -L pve-firmware | grep -c amdgpu/navi10

Do not install Debian’s firmware-amd-graphics on a Proxmox host. pve-firmware declares a conflict with it, and the Proxmox kernel packages depend on pve-firmware. A dry run on our test install shows what apt would do:

Tested by our setup on 17 Nov 2026: Proxmox VE 9.2 in a nested VM. Simulation only: nothing was installed or removed.

bash
apt-get install --simulate firmware-amd-graphics

Output on our test install, trimmed:

text
The following packages will be REMOVED:
  proxmox-default-kernel proxmox-kernel-7.0 proxmox-ve pve-firmware
The following NEW packages will be installed:
  firmware-amd-graphics

Newer AMD firmware arrives with pve-firmware updates from the Proxmox repositories. On 17 Nov 2026 the no-subscription repository had 3.18-9, newer than the 3.18-3 on the 9.2 installer. You don’t need an extra reboot for firmware either.

How to start a home lab: a beginner’s guide to hardware, OS and first projects

Check the render node on the host (do not blacklist the driver)

This is where this guide diverges from VM passthrough guides. For LXC passthrough of a render device, you do not want to blacklist the host driver. Blacklisting frees a card for vfio-pci so a VM can take it. A container works the other way round: the host’s amdgpu driver initialises the card and creates the device node, and Proxmox reads that node to make the container’s copy.

List the nodes and the PCI address each one belongs to:

Tested by our setup on 17 Nov 2026: Proxmox VE 9.2 in a nested VM with a virtio GPU.

bash
ls -l /dev/dri /dev/dri/by-path

Output on our test VM, trimmed. The VM has a virtio GPU at 00:04.0 and QEMU’s standard VGA at 00:02.0:

text
crw-rw---- 1 root video  226,   0 Nov 17 09:00 card0
crw-rw---- 1 root video  226,   1 Nov 17 09:00 card1
crw-rw---- 1 root render 226, 128 Nov 17 09:00 renderD128
pci-0000:00:02.0-card -> ../card1
pci-0000:00:04.0-card -> ../card0
pci-0000:00:04.0-render -> ../renderD128

Look for a renderD128 node owned by root render with major number 226. DRM devices use major 226, and render nodes start at minor 128. With more than one GPU, numbering is not fixed: on our VM, card0 was the second PCI device, not the first. Find your Radeon’s PCI address (lspci shows it), match it to a by-path link, and use the render node that link points to. It can be renderD129 or higher.

If there is no render node, fix the host driver first. Do not proceed until this is working.

Step 2: pass the render node into an unprivileged container

Create the LXC container

Create a new container as you normally would and leave “Unprivileged container” ticked, which is the default. This guide uses the Debian 13 template. Start the container once, because the next step needs a value from inside it. Container ID 200 below is just an example.

Add the render node with dev0

  1. Read the render group ID inside the container. It is often different from the host’s.

    Tested by our setup on 17 Nov 2026: Proxmox VE 9.2 in a nested VM with a virtio GPU, unprivileged Debian 13 container.

    bash
    pct exec 200 -- getent group render

    On our test install it printed render:x:992:, so the container’s render group is 992. On the host it was 993.

  2. Add the device with that group ID, then restart the container:

    Tested by our setup on 17 Nov 2026: Proxmox VE 9.2 in a nested VM with a virtio GPU, unprivileged Debian 13 container.

    bash
    pct set 200 -dev0 /dev/dri/renderD128,gid=992
    pct stop 200
    pct start 200

    This adds one line to /etc/pve/lxc/200.conf, and Proxmox writes the device rule into the generated LXC config itself. Both lines as they appeared on our test install:

    text
    dev0: /dev/dri/renderD128,gid=992
    lxc.cgroup2.devices.allow = c 226:128 rw

    There is no lxc.mount.entry line and no AppArmor change. In the web UI the same option is under the container’s Resources, Add, Device Passthrough. We used the command line only. Only root@pam can set it.

  3. Check the node inside the container:

    Tested by our setup on 17 Nov 2026: Proxmox VE 9.2 in a nested VM with a virtio GPU, unprivileged Debian 13 container.

    bash
    pct exec 200 -- ls -l /dev/dri

    Output on our test install:

    text
    crw-rw---- 1 root render 226, 128 Nov 17 03:32 renderD128

Root in the container can now open the node. An app that runs as its own user needs to be in the container’s render group:

Not tested in this form. Our test user was created with useradd -m -G render.

bash
pct exec 200 -- usermod -aG render <app-user>

To share the card with other containers, give each one its own dev0 line for the same node. On our test install two unprivileged containers held renderD128 open read-write at the same time. We did not run video work in both at once.

Step 3: install the drivers and run vainfo in the container

  1. Start the LXC container from the Proxmox web UI if it isn’t running.

  2. Open the container’s console from the web UI, or SSH into it.

  3. Install the VA-API driver and the test tool. On Debian 13:

    Tested by our setup on 17 Nov 2026: an unprivileged Debian 13 container on Proxmox VE 9.2 in a nested VM.

    bash
    apt-get update
    apt-get install -y mesa-va-drivers vainfo

    That installed mesa-va-drivers 25.0.7, libva 2.22.0 and vainfo 2.22.0. Debian builds Mesa with all video codecs enabled, so its radeonsi driver includes H.264 and HEVC. We did not check Ubuntu.

  4. The moment of truth. Plain vainfo tries Wayland and X11 before it tries the render node, and prints extra errors in a headless container, so point it straight at the node:

    Tested by our setup on 17 Nov 2026: Proxmox VE 9.2 in a nested VM with a virtio GPU, unprivileged Debian 13 container.

    bash
    vainfo --display drm --device /dev/dri/renderD128

On an AMD card, the driver line names Mesa’s Gallium driver for your GPU, followed by a list of VAProfile entries. This example is from the first version of this guide, for an RX 5700 XT. Its driver line was shortened, so it is not a verbatim paste:

Not tested: example output from the original guide. We have no AMD card to reproduce it.

text
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver ... for AMD Radeon RX 5700 XT ...
vainfo: Supported profile and entrypoints
      VAProfileH264High              : VAEntrypointVLD
      VAProfileH264High              : VAEntrypointEncSlice
      VAProfileHEVCMain              : VAEntrypointVLD
      VAProfileHEVCMain              : VAEntrypointEncSlice
...

Our test VM has a virtio GPU with no 3D support. The same command found the node and loaded Mesa’s virtio driver, which then failed. That is expected on virtio and says nothing about AMD cards:

Terminal output on Proxmox VE 9.2: pct set adds dev0 for renderD128 with gid 992, the node shows as root render inside container 200, a render-group user opens it while another user gets permission denied, and vainfo on the virtio GPU ends with vaInitialize failed

How to read vainfo errors

We saw these messages in the test container:

What vainfo prints What it means What to check
error: failed to initialize display No display could be opened. A user outside the render group got this from plain vainfo Group membership, and the gid= on the dev0 line
Failed to open the given device! With --device, the node could not be opened The same, and that the node exists in the container
vaInitialize failed with error code ... The node opened, but the driver failed to start The host driver, the Mesa version, and that you passed the AMD card’s node and not another GPU’s

The first version of this guide quoted the first error as vainfo: failed to initialize display. The real message has no vainfo: prefix.

App notes: Immich, Jellyfin, Plex and Scrypted

We did not test these apps. This is what their own documentation said on 17 Nov 2026:

  • Immich uses VAAPI for AMD. Its hardware transcoding docs are written for Docker Compose and call the feature experimental. If you are still deciding, see Immich vs Google Photos.
  • Jellyfin lists VA-API as the preferred method for AMD on Linux. HEVC 10-bit encoding needs a Radeon RX 5000 series (Navi 1x) card or newer, and the jellyfin-ffmpeg8 package brings its own Mesa drivers on Debian and Ubuntu. Jellyfin says virtualization other than Docker is “not verified and may or may not work on AMD GPU”.
  • Plex needs an active Plex Pass for hardware-accelerated streaming. AMD support is provided “as is”, Plex recommends Intel Quick Sync or NVIDIA, and its Linux section doesn’t mention AMD.
  • Scrypted’s Proxmox VE installer asks whether to pass through GPUs and Coral TPUs. The page says nothing about AMD cards or /dev/dri.

Using the GPU for AI: ROCm also needs /dev/kfd

VA-API covers video. AI workloads on AMD GPUs use ROCm instead, which needs /dev/kfd as well as the render node. AMD’s docs call /dev/kfd “the main compute interface, shared by all GPUs”. Immich’s ROCm machine learning image, for example, maps both /dev/dri and /dev/kfd.

Pass /dev/kfd with a second device entry:

From the official docs: the dev[n] syntax from the Proxmox VE container guide and the device list from AMD’s ROCm Docker guide, checked 17 Nov 2026. Not run by us.

bash
pct set 200 -dev1 /dev/kfd,gid=992

Check your card first. AMD’s ROCm system requirements for ROCm 7.x list RDNA3 and RDNA4 Radeon cards. The RX 5700 XT (gfx1010) is not on the list, so AMD does not officially support ROCm on it. We have not tested ROCm on any card.

For the software side of a local AI box, see the guide to self-hosting LLMs.

NVIDIA GPU passthrough into a Proxmox LXC

The method is the same as for AMD: the host keeps the driver, the container gets device nodes. What changes is the driver and the nodes. We have no NVIDIA card in the test server, so this section is built from two guides we read on 27 Nov 2026, a Proxmox forum guide updated in June 2026 for GTX 1060, P4000 and V100 cards and a Proxmox VE 9 LXC GPU guide for Intel, AMD and NVIDIA, plus NVIDIA’s own docs. Nothing here was run by us.

  1. Install NVIDIA’s proprietary driver on the Proxmox host. Proxmox does not package it; both guides download the .run installer from NVIDIA and run it on the host. Then check that nvidia-smi prints a table with a Driver Version: field, and write that version down.

  2. List the nodes. On the host you should see /dev/nvidia0, /dev/nvidiactl, /dev/nvidia-modeset, /dev/nvidia-uvm and /dev/nvidia-uvm-tools. The nvidia nodes use major number 195; nvidia-uvm uses a dynamic major such as 508 or 510 that can change between driver versions, which is one reason to prefer dev0 entries over raw lxc.cgroup2 lines. If /dev/nvidia-uvm is missing, the PVE 9 guide runs nvidia-modprobe -u -c=0 to create it, and the forum guide found that running nvidia-smi once after boot created the nodes.

  3. Add the nodes to an unprivileged container. The forum guide’s config, with the video group (GID 44) inside the container:

    From the Proxmox forum guide linked above, read 27 Nov 2026. Not run by us. Check the group ID in your own container with getent group video.

    text
    dev0: /dev/nvidia0,gid=44
    dev1: /dev/nvidiactl,gid=44
    dev2: /dev/nvidia-uvm,gid=44
    dev3: /dev/nvidia-uvm-tools,gid=44

    The PVE 9 guide adds /dev/nvidia-modeset as a fifth entry and uses mode=0666 instead of a group, which matches the world-writable permissions NVIDIA’s nodes usually have on the host. The /dev/nvidia-caps/* nodes are for MIG on data-centre cards; a GeForce running NVENC, CUDA or Ollama does not need them.

  4. Install the same driver inside the container, without the kernel module. The forum guide downloads the identical .run file and runs it with --no-kernel-module. The versions must match exactly, because the container uses the host’s kernel module with its own copy of the user-space libraries. A version mismatch is the most common reason nvidia-smi fails in the container.

  5. Run nvidia-smi inside the container. It should list the card.

Two warnings from the forum guide: the index nvidia-smi shows did not match the /dev/nvidiaN minor number on its author’s multi-GPU host, so check /dev/nvidia* rather than assuming; and a GPU bound to vfio-pci for a VM disappears from the host’s nvidia-smi, which is expected, because the host driver no longer owns it.

Running Ollama or vLLM in the container

Once the nodes are in, the AI stack is ordinary software inside the container. Two things decide which route works.

The first is where Docker runs. Immich’s requirements page quotes Proxmox’s own wiki: Docker in LXC containers is “not recommended”. The clean options are to install the LLM server natively inside the LXC, or to run Docker in a VM with full PCI(e) passthrough. For Ollama that is easy: its Linux installer is one script, and inside an LXC it sees the GPU through the nodes you passed. We have not run it there.

The second is what each project supports, from their docs checked on 27 Nov 2026:

Ollama vLLM
NVIDIA Compute capability 5.0 and newer (GTX 750 and 900 series on), driver 550 or newer; 5.0 to 6.2 cards need driver 570 or newer (Ollama hardware page) Compute capability 7.5 and newer (RTX 20 series, GTX 16 series, T4 and on), so GTX 10 series cards are out (vLLM GPU install page)
AMD ROCm v7 driver on Linux: RX 6800 and newer, RX 7000, RX 9000, Radeon PRO, Radeon AI PRO R9700, Ryzen AI 300 and AI Max. Other cards through Vulkan ROCm 6.3 or newer: RX 7900, RX 9000, Ryzen AI Max and AI 300, and Instinct cards only
Docker docker run --gpus=all ... ollama/ollama after NVIDIA Container Toolkit and nvidia-ctk runtime configure --runtime=docker; --device /dev/kfd --device /dev/dri ... ollama/ollama:rocm for AMD (Ollama Docker page) docker run --runtime nvidia --gpus all ... --ipc=host vllm/vllm-openai:latest --model <name> (vLLM Docker page)
Native install One script on Linux, runs inside an LXC A Python 3.11 to 3.14 environment with the vLLM wheel; the docs recommend a fresh uv environment

So on an RX 5700 XT like the one in the first version of this guide, Ollama works only through Vulkan, and vLLM does not run at all. On a used RTX 3090 (compute capability 8.6), both run, and the 24 GB of VRAM is the reason that card keeps coming up: see should you buy a used RTX 3090 for local LLMs in 2026. To work out which card you need for a given model, use how much VRAM a local LLM needs and which models fit 8, 12, 16 and 24 GB.

Fallback: a privileged container with raw LXC lines

Use this only if dev0 is not an option for you, for example on a Proxmox VE release older than 8.1. Know the cost first. Proxmox’s docs say the LXC team “considers this kind of container as unsafe” and will not treat new container escapes as security issues worthy of a CVE and quick fix: “That’s why privileged containers should only be used in trusted environments.” The first raw line below also turns AppArmor off for the container, which Proxmox says “is not recommended for production use”.

Make the container privileged the documented way

Do not delete unprivileged: 1 from the container’s config. Proxmox says that key “should not be modified manually”. The container’s files were unpacked with the unprivileged ID mapping, and editing the line doesn’t change them. On our test install, a container converted that way kept its files owned by UID 100000, su failed, and four mount units and Postfix failed at boot.

Two routes gave a clean privileged container in our test: untick “Unprivileged container” when you create it, or back up the container and restore it as privileged:

Tested by our setup on 17 Nov 2026: Proxmox VE 9.2 in a nested VM.

bash
vzdump 201 --mode stop --compress zstd
pct restore 202 /var/lib/vz/dump/vzdump-lxc-201-<timestamp>.tar.zst --unprivileged 0 --storage local-lvm

Use your own container IDs, backup file name and storage. The restored container had root-owned files, su worked and no units failed.

The raw LXC lines

On the Proxmox host, add these lines to the end of the container’s config file, /etc/pve/lxc/<id>.conf:

Tested by our setup on 17 Nov 2026: Proxmox VE 9.2 in a nested VM with a virtio GPU, privileged Debian 13 container.

text
lxc.apparmor.profile: unconfined
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file

What do these lines do?

  • lxc.apparmor.profile: unconfined runs the container with no AppArmor confinement at all. It also overrides the container’s nesting feature: pct start printed explicitly configured lxc.apparmor.profile overrides the following settings: features:nesting.
  • lxc.cgroup2.devices.allow gives the container permission to access the character device with major/minor numbers 226:128 (your renderD128 node). Change the minor number if your node is renderD129 or higher. Older guides use lxc.cgroup.devices.allow instead. Proxmox VE 9 is cgroup v2 only, and on 9.2 that key printed a deprecation warning on every pct call.
  • lxc.mount.entry mounts the device file from the host into the container. optional means the container starts even if the mount fails, so a missing node only shows up later, when vainfo fails.

In our test, root in the container could open the node. The node keeps the host’s group ID, though: 993 here, which inside a Debian 13 container is kvm, not render (992). Non-root apps in the container’s render group won’t get access. The dev0 method with gid= doesn’t have this problem.

Raspberry Pi 5 uses: 5 practical ways to put it to work

Key takeaways

Once vainfo lists your card’s profiles, the passthrough part is done. The key takeaways from this journey are:

  1. Use an unprivileged container with dev0. On Proxmox VE 8.1 and later it takes one command, and AppArmor stays on.
  2. Don’t blacklist the host driver. Unlike full VM passthrough, LXC needs the host to initialise the card so the /dev/dri/renderD128 node exists.
  3. Don’t install firmware-amd-graphics on the host. pve-firmware already carries the AMD firmware, and apt would remove pve-firmware and the Proxmox kernel to install the Debian package.
  4. For AI, add /dev/kfd and check AMD’s ROCm support list for your card.

You can add the same dev0 line to other containers, like Scrypted’s, to share your AMD GPU across your home lab. We checked that two containers can open the node at once, not that two apps can transcode at the same time. For the wider setup, see the home server guide and which OS to pick for a home server.

If this guide saved you from throwing your server out the window, share it with others who might be struggling. For more deep dives into self-hosting and hardware, stay tuned to kextcache.com.

Changes

  • 18 Nov 2026: dev0 in an unprivileged container is now the main method, tested on Proxmox VE 9.2 with a virtio GPU. The privileged setup is a fallback with security warnings and the documented conversion.
  • 18 Nov 2026: removed the IOMMU and GRUB step (not needed for containers) and the firmware-amd-graphics step (conflicts with pve-firmware).
  • 18 Nov 2026: split run-together commands, quoted the real vainfo errors, added ROCm and /dev/kfd, per-app notes, the new Immich docs link and sources.
  • 27 Nov 2026: added an NVIDIA passthrough section from two 2026 guides (not run by us), a section on running Ollama or vLLM in the container with each project’s GPU requirements and Docker commands, links to the RTX 3090 and VRAM guides, and five FAQs.

Frequently asked questions

Can I pass an NVIDIA GPU into a Proxmox LXC container?

Yes, the same way as an AMD card, with different device nodes. Install NVIDIA's driver on the Proxmox host until nvidia-smi works, then give the container /dev/nvidia0, /dev/nvidiactl, /dev/nvidia-uvm, /dev/nvidia-uvm-tools and /dev/nvidia-modeset as dev0 to dev4 entries. Inside the container, install the exact same driver version with the installer's --no-kernel-module option, because the container uses the host's kernel module. We have not run this ourselves; the NVIDIA section gives the sources.

Should I run Ollama in a Proxmox LXC or in a VM?

An LXC if you want the GPU shared with other containers and the least overhead: install Ollama natively inside the container, not in Docker, because Proxmox discourages Docker inside LXC. A VM with PCI(e) passthrough if you want a hard boundary around the GPU or want to run vLLM's Docker image as its docs describe. The card can only be in one of the two modes at a time: a VM takes it away from the host, a container shares the host's driver.

Can several LXC containers share one GPU?

Yes. Each container gets its own dev0 line pointing at the same node, and the host's driver handles all of them. On our test install two unprivileged containers held renderD128 open at the same time. We did not test two heavy workloads at once, and the GPU's memory is shared, so two LLM containers need VRAM for both models.

Does Ollama support the Radeon RX 5700 XT?

Not through ROCm: Ollama's hardware page lists RX 6800 and newer, the RX 7000 and 9000 series and the Radeon PRO and AI PRO cards for ROCm v7, and the RX 5700 XT is absent. The page says additional AMD GPUs are supported through Vulkan on Linux, which needs the Mesa or AMD Vulkan packages installed. We ran our own llama.cpp numbers on an RX 5700 XT for the VRAM guides linked in this post, not Ollama.

Does LXC GPU passthrough need IOMMU or VFIO?

No. IOMMU and vfio-pci are for handing a whole PCI device to a virtual machine. A container only gets a device node that the host's own driver created, so the driver must stay loaded on the host, and blacklisting it, as VM guides tell you to, breaks container passthrough.

Written by

Ayush Sahay Chaudhary

Ayush Sahay Chaudhary started Kextcache in 2020 and writes most of its Hackintosh guides. He is studying for an M.Tech in wireless networks and machine learning at IIT Kanpur, after a B.Tech in computer science from Babu Banarasi Das University. For about six years he has worked as an iOS developer in Swift, UIKit and SwiftUI, and he also builds apps with Flutter. His home setup includes an OpenCore Hackintosh on macOS Tahoe, a Proxmox server with LXC containers and GPU passthrough, and local language models running on llama.cpp and MLX.

Comments 2

  1. TheAngryIntern

    "ls -l /dev/dri/" doesn't work for me on my system. I get "no such file or directory". I don't know how to proceed. My Proxmox server is a Beelink SER9 Max with a Ryzen 7 H 255 CPU (Radeon 780M graphics) Also (and probably related) when I try to install the firmware-amd-graphics, it tries to remove stuff like proxmox ve which seems like a bad idea: root@Gjallarbru:~# apt install firmware-amd-graphics Installing: firmware-amd-graphics REMOVING: proxmox-default-kernel proxmox-kernel-6.17 proxmox-ve pve-firmware

    Report comment by TheAngryIntern
    1. Ayush Chaudhary

      install the standard RoCM package, lm-sensors and rocm-smi package. to see your gpu.

      Report comment by Ayush Chaudhary
Read more