diff --git a/gpu-node/README.md b/gpu-node/README.md index 59ce34ae..7f879d28 100644 --- a/gpu-node/README.md +++ b/gpu-node/README.md @@ -55,10 +55,16 @@ curl -fsSLO https://raw.githubusercontent.com/5stackgg/5stack-panel/main/gpu-nod 3. Join the node: on the panel's **Game Server Nodes** page (`/game-server-nodes`), create a node and run the command it shows on this machine. Then run the check again: some checks only apply once k3s is there. -4. On the panel, run `setup-gpu-nodes.sh` and pick the vendor and nodes: from - the panel checkout as `./setup-gpu-nodes.sh`, or on a panel that runs as the - 5Stack service, `sudo 5stack run setup-gpu-nodes.sh`. All GPU nodes of a - panel use the same vendor. +4. Turn it on: on the panel's **GPU Nodes** page, pick **Use for Streaming and + Clips** on the node's card under **Found on your nodes**, then **Use It** (for an + AMD APU, tick **Built into the processor** in that confirm). From the terminal of a panel that runs the + 5Stack service: `sudo 5stack gpu use `. All GPU nodes of a panel use + the same vendor. + + Only a panel installed from a git checkout without the 5Stack service runs + `./setup-gpu-nodes.sh`, from an up-to-date checkout (`git pull` first). On a + panel the 5Stack service manages, an old checkout's scripts put back older + versions of the panel's services and can take it down. ### NVIDIA diff --git a/gpu-node/gpu-node-check.sh b/gpu-node/gpu-node-check.sh index c7fd4b92..47066d4c 100755 --- a/gpu-node/gpu-node-check.sh +++ b/gpu-node/gpu-node-check.sh @@ -188,9 +188,9 @@ amd_integrated() { amd_integrated_note() { if [ "$2" = true ]; then - echo "$1 is integrated, and this node has a discrete AMD GPU on amdgpu: leave it unticked in setup-gpu-nodes.sh's integrated list so it renders on the discrete card" + echo "$1 is integrated, and this node has a discrete AMD GPU on amdgpu: leave it unticked (Built into the processor off) when you turn it on, so it renders on the discrete card" else - echo "$1 is integrated and the only AMD GPU on amdgpu: tick this node in setup-gpu-nodes.sh's integrated list (5stack-gpu-integrated=true)" + echo "$1 is integrated and the only AMD GPU on amdgpu: tick this node's Built into the processor when you turn it on (5stack-gpu-integrated=true)" fi } @@ -704,7 +704,7 @@ main() { exit 1 fi echo "${C_OK}ready for the ${VENDOR} GPU setup ($WARNS warnings)${C_RESET}" - echo "Next: join this node from the panel's Game Server Nodes page, then run setup-gpu-nodes.sh on the panel." + echo "Next: join this node from the panel's Game Server Nodes page, then turn it on under GPU Nodes > Found on your nodes (on a panel from a git checkout without the 5Stack service, run ./setup-gpu-nodes.sh)." } # The tests source this file for its functions. Comparing BASH_SOURCE with $0