Use another machine's GPU, or reach Plex on another machine

Lend the app another machine's GPU with a worker node, or run a Plex database node beside Plex on Linux or Windows for markers and loudness.

A node is another machine that helps the app. The app keeps the queue, the schedules, your server tokens and every write to your servers. A node runs the heavy step it is handed and sends the result back.

The Nodes page with two nodes, both Ready: gpu-box, a Linux worker with an NVIDIA GPU, and plex-windows, a Plex database node on Windows

Do you need one?

You need a node if any of these is true:

If the app runs on the same machine as the GPU and Plex, you don't need a node.

Two kinds of node

One container on the Plex machine can be both.

Set up a worker node

  1. On the other machine, start the app's image, the same tag as the app, with MODE=node. Mount your media read-only and pass the GPU the same way you pass it to the app:

    docker run -d --name media-preview-node -p 9494:9494 \
      -e MODE=node -e NODE_NAME=gpu-box -e PUID=1000 -e PGID=1000 \
      --device /dev/dri:/dev/dri \
      -v /path/to/media:/media:ro -v /path/to/node/config:/config \
      stevezzau/media_preview_generator:latest
    

    For NVIDIA, use --gpus all -e NVIDIA_DRIVER_CAPABILITIES=all instead of --device /dev/dri:/dev/dri. The node prints its key once in docker logs.

  2. In the app, open Settings → Nodes → Add node. Enter a name, its address (http://gpu-box:9494) and its key, then click Connect.
  3. Click Next: where it sees your media. Map each library's folder to the folder the node sees, click Test access (it checks real files from each library), then click Save. You can change the mappings later on the node's Media tab.
  4. In Settings → Workers, add the node's GPU or CPU to a worker group. Its devices are listed under the node's name.

Update every worker node to the same tag whenever you update the app. Until then it says Update needed and gets no work.

Set up a Plex database node

Then add it under Settings → Nodes, and pick it in Servers → your Plex → Edit → Connection → Plex database. A Plex marker agent from before nodes moves to the Nodes page on upgrade and keeps working.

More detail

The Remote nodes guide covers every node state, updating and removing nodes, one node with both roles, and running a node behind a reverse proxy. Environment variables are in the reference.

Edit this page on GitHub
Type to search the documentation.