From 3490ece5428111ace0adcdf5d87b3f5959818a13 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Mon, 16 Mar 2026 08:44:55 +0100 Subject: [PATCH] fix(hwaccel): remove ROCm install from AMD APU setup AMD APUs (Radeon 780M/760M/740M and similar integrated graphics) do not benefit from the full ROCm compute stack in LXC containers. ROCm is a multi-GB GPGPU framework primarily designed for discrete AMD GPUs and ML/AI workloads, not for video transcoding with integrated graphics. For APUs the Mesa VA-API drivers (mesa-va-drivers, mesa-opencl-icd) and firmware (firmware-amd-graphics) provide all the hardware acceleration needed for media tasks. Installing ROCm on top adds ~4GB of packages that frequently fail or time out for this class of hardware. Discrete AMD GPUs (GPU_TYPE=AMD) are unaffected and still receive ROCm. --- misc/tools.func | 3 --- 1 file changed, 3 deletions(-) diff --git a/misc/tools.func b/misc/tools.func index 986b16ba3..253222bf9 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -4629,9 +4629,6 @@ _setup_amd_apu() { $STD apt -y install firmware-amd-graphics 2>/dev/null || true fi - # ROCm compute stack (OpenCL + HIP) - also works for many APUs - _setup_rocm "$os_id" "$os_codename" - msg_ok "AMD APU configured" }