From 6c55ddb38b4f2b9d9f40bcaa25006ebad7cb3f4c Mon Sep 17 00:00:00 2001 From: Sausageroll2077 <85130548+Sausageroll2077@users.noreply.github.com> Date: Fri, 19 Jun 2026 06:34:30 +0200 Subject: [PATCH] Fix AMDGPU_IDS_PATH so libdrm can find amdgpu.ids The run script exported AMDGPU_IDS=/app/emby/extra/share/libdrm/amdgpu.ids, which (a) points at a path that does not exist in the image (the whole /app/emby/extra tree is absent) and (b) uses a variable name nothing in the image reads. Emby's own bundled wrapper scripts (emby-ffmpeg etc.) instead export AMDGPU_IDS_PATH=$APP_DIR/share/libdrm/amdgpu.ids, and the real table ships at /app/emby/share/libdrm/amdgpu.ids. Align the service env with Emby's wrappers. Note: this could not be tested on AMD hardware; flagged for confirmation by an AMD GPU owner. Co-Authored-By: Claude Opus 4.8 --- readme-vars.yml | 1 + root/etc/s6-overlay/s6-rc.d/svc-emby/run | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/readme-vars.yml b/readme-vars.yml index d7d6e926..cf4c4382 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -91,6 +91,7 @@ init_diagram: | "emby:beta" <- Base Images # changelog changelogs: + - {date: "29.07.26:", desc: "Fix AMDGPU_IDS_PATH so libdrm can find amdgpu.ids (the previous AMDGPU_IDS pointed at a non-existent path and was unread)."} - {date: "14.07.26:", desc: "Rebase to Ubuntu Resolute."} - {date: "19.06.26:", desc: "Point OCL_ICD_VENDORS at /app/emby/etc/OpenCL/vendors so Intel OpenCL works (fixes HDR tonemapping falling back to software)."} - {date: "19.06.26:", desc: "Add /app/emby/lib/dri to LIBVA_DRIVERS_PATH so Intel VA-API/QSV hardware transcoding works out of the box."} diff --git a/root/etc/s6-overlay/s6-rc.d/svc-emby/run b/root/etc/s6-overlay/s6-rc.d/svc-emby/run index 4be1f37f..5e9f525c 100755 --- a/root/etc/s6-overlay/s6-rc.d/svc-emby/run +++ b/root/etc/s6-overlay/s6-rc.d/svc-emby/run @@ -5,7 +5,7 @@ APP_DIR="/app/emby" export FONTCONFIG_PATH="${APP_DIR}"/etc/fonts export OCL_ICD_VENDORS="${APP_DIR}"/etc/OpenCL/vendors -export AMDGPU_IDS="${APP_DIR}"/extra/share/libdrm/amdgpu.ids +export AMDGPU_IDS_PATH="${APP_DIR}"/share/libdrm/amdgpu.ids export PCI_IDS_PATH="${APP_DIR}"/share/hwdata/pci.ids if [[ -d "/lib/x86_64-linux-gnu" ]]; then export LIBVA_DRIVERS_PATH=/usr/lib/x86_64-linux-gnu/dri:"${APP_DIR}"/lib/dri:"${APP_DIR}"/extra/lib/dri