From 653abb7165797136275c242acfa5f0edc5e8e109 Mon Sep 17 00:00:00 2001 From: MacRimi <123239993+MacRimi@users.noreply.github.com> Date: Sun, 16 Feb 2025 17:28:01 +0100 Subject: [PATCH] Update page.tsx --- .../hardware/igpu-acceleration-lxc/page.tsx | 163 +++++++----------- 1 file changed, 58 insertions(+), 105 deletions(-) diff --git a/web/app/docs/hardware/igpu-acceleration-lxc/page.tsx b/web/app/docs/hardware/igpu-acceleration-lxc/page.tsx index 8833451..085219c 100644 --- a/web/app/docs/hardware/igpu-acceleration-lxc/page.tsx +++ b/web/app/docs/hardware/igpu-acceleration-lxc/page.tsx @@ -1,123 +1,76 @@ import type { Metadata } from "next" +import { Steps } from "@/components/ui/steps" export const metadata: Metadata = { - title: "Add HW iGPU acceleration to an LXC | ProxMenux Documentation", - description: - "Learn how to configure Intel iGPU acceleration for an LXC container in Proxmox VE using ProxMenux. This guide covers the setup process, required modifications, and driver installation.", + title: "HW iGPU Acceleration to an LXC | ProxMenux Documentation", + description: "Learn how to enable hardware iGPU acceleration for an LXC container in Proxmox VE using ProxMenux.", } export default function IGPUAccelerationLXC() { return (
- This guide explains how to enable Intel Integrated GPU (iGPU) support in LXC containers within Proxmox VE using - ProxMenux. The script automates the configuration, ensuring the container has access to GPU resources for - hardware-accelerated tasks such as video transcoding, rendering, and OpenCL applications. + This guide explains how ProxMenux helps you enable Intel Integrated GPU (iGPU) acceleration for LXC containers + in Proxmox VE. This feature allows your containers to use the host's Intel GPU for tasks like video transcoding, + rendering, and accelerating graphics-intensive applications.
-When you run this script through ProxMenux, it performs the following actions:
+You'll be prompted to select the LXC container you want to enable iGPU acceleration for.
+The script modifies the container's configuration to allow iGPU access. This includes:
+Inside the container, the script installs required packages:
+The script sets up proper permissions for GPU access within the container.
+- To enable Intel iGPU support for an LXC container, run the following command from ProxMenux: -
-- ./proxmenux.sh --enable-igpu --
- This will launch an interactive menu where you can select an LXC container. The script will then apply the - necessary configurations and install required drivers. -
- -- The script lists all available LXC containers and allows the user to choose one. If no container is selected or - available, it exits with an error. -
- -- Before applying modifications, the script ensures that the container is stopped. If it is running, it is - automatically stopped to prevent conflicts. -
- -- The script modifies the container configuration file (`/etc/pve/lxc/[ID].conf`) to: -
-- The script starts the container and installs essential Intel iGPU drivers, including: -
-- apt-get install -y va-driver-all ocl-icd-libopencl1 intel-opencl-icd vainfo intel-gpu-tools --
- It also ensures that necessary user permissions are applied for access to `/dev/dri`. -
- -- Once the script finishes, the LXC container will have Intel iGPU access enabled, allowing applications inside - the container to leverage hardware acceleration for graphics and compute tasks. -
- -- If you encounter issues or have suggestions, consider contributing to the - - ProxMenux GitHub repository - - . +
+ By using this ProxMenux script, you can easily enable iGPU acceleration in your LXC containers without needing + to manually edit configuration files or run complex commands.