plex: wire the GTX 1070 in beside Quick Sync — NVENC is the only hardware HEVC-out

Mike 2026-08-20, revising the 2026-07-31 iGPU-only call with the 2026-08-04
finding that this UHD 630 has no HEVC encode entrypoint. runtime: nvidia +
NVIDIA_VISIBLE_DEVICES/CAPABILITIES on the plex service; /dev/dri stays.
Also brings the compose current with the live opt-in watchtower config, and
50-plex.sh now sources WATCHTOWER_NOTIFICATION_URL (carries the publish
token) from stacks.env, soft-gates on nvidia-smi, and adds the NVENC line
to the walk-away checks.
This commit is contained in:
claude
2026-08-20 21:13:21 -04:00
parent 59c84a0564
commit 8594ef2786
2 changed files with 40 additions and 10 deletions
+16
View File
@@ -108,6 +108,17 @@ else
fi
export RENDER_GID
# ---------------------------------------------------------------------------
# NVIDIA — wired in beside Quick Sync 2026-08-20. NVENC is the only hardware
# HEVC encode on this box. Soft gate: Plex still starts without it, loudly.
# ---------------------------------------------------------------------------
if nvidia-smi -L >/dev/null 2>&1; then
ok "NVIDIA answers: $(nvidia-smi -L | head -1)"
else
note "[warn] nvidia-smi not answering — Plex will start, but HEVC-out"
note " transcodes fall back to software until driver/toolkit is fixed."
fi
# ---------------------------------------------------------------------------
# Deploy
# ---------------------------------------------------------------------------
@@ -117,6 +128,9 @@ chown -R 3000:3000 "$PLEXDIR/config"
set -a
TZ="$(grep -E '^TZ=' "$MASTER" 2>/dev/null | head -1 | cut -d= -f2- || echo America/New_York)"
# Watchtower's ntfy URL carries the publish token, so it lives in stacks.env on
# the host and is sourced here — never hardcoded in the compose file.
WATCHTOWER_NOTIFICATION_URL="$(grep -E '^WATCHTOWER_NOTIFICATION_URL=' "$MASTER" 2>/dev/null | head -1 | cut -d= -f2-)"
set +a
cd "$PLEXDIR" || exit 1
@@ -153,6 +167,8 @@ cat <<'NEXT'
without re-adding.
* Force a transcode, then: sudo intel_gpu_top
Video / VideoEnhance rows should be busy.
* Force an HEVC-out transcode, then: nvidia-smi
Plex Transcoder should hold an ENC session on the 1070.
NEXT
exit 0