import { Steps } from "@/components/ui/steps" import CopyableCode from "@/components/CopyableCode" import Image from "next/image" export const metadata = { title: "Enable iGPU Acceleration in LXC | ProxMenux Documentation", description: "Step-by-step guide to enable Intel iGPU acceleration in an LXC container using ProxMenux.", } export default function IGPUAccelerationLXC() { return (

Enable Intel iGPU Acceleration in an LXC

This guide explains how to configure Intel Integrated GPU (iGPU) acceleration for LXC containers in Proxmox VE using ProxMenux. Enabling iGPU support allows containers to use the host’s GPU for hardware acceleration in applications such as video transcoding and rendering.

Overview of the Process

When you run this script in ProxMenux, it performs the following steps:

  1. Prompts you to select an existing LXC container.
  2. Checks if the container is privileged and adjusts its settings accordingly.
  3. Modifies the container’s configuration to allow GPU access.
  4. Installs the required Intel GPU drivers inside the container.

Step-by-Step Guide

You will be presented with a list of your LXC containers to choose from.

Select LXC Container

The script applies the following changes to your container:

  • Switches to privileged mode if required.
  • Enables the nesting feature.
  • Grants permissions for GPU access.
  • Configures necessary device mounts.

Inside the container, the following GPU-related packages will be installed:

  • va-driver-all - Video acceleration drivers
  • ocl-icd-libopencl1 - OpenCL runtime
  • intel-opencl-icd - Intel OpenCL implementation
  • vainfo - Tool to verify VAAPI support
  • intel-gpu-tools - Intel GPU debugging tools

Expected Outcome

Important Notes

) }