From 0d889d4efb1e21ee4a62102c0b6bfc6e0cab643d Mon Sep 17 00:00:00 2001 From: Luke Policinski Date: Mon, 23 Nov 2026 19:52:19 -0500 Subject: [PATCH 1/2] docs: a GPU node is turned on from the panel's GPU Nodes page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The README's step 4 and gpu-node-check.sh's hints point to GPU Nodes › Found on your nodes and 5stack gpu use. Only a panel without the 5Stack service runs ./setup-gpu-nodes.sh, from an up-to-date checkout. --- gpu-node/README.md | 14 ++++++++++---- gpu-node/gpu-node-check.sh | 6 +++--- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/gpu-node/README.md b/gpu-node/README.md index 59ce34ae..8597c9b3 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** (tick **Built into + the processor** for an AMD APU). 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..a66daab7 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 Built into the processor unticked 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 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." } # The tests source this file for its functions. Comparing BASH_SOURCE with $0 From d8f7102b8519d9f6aec8ff71f260d884f4fee550 Mon Sep 17 00:00:00 2001 From: Luke Policinski Date: Mon, 23 Nov 2026 20:01:39 -0500 Subject: [PATCH 2/2] fix: the check's hints keep the words its tests read, and name the checkout path --- gpu-node/README.md | 4 ++-- gpu-node/gpu-node-check.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gpu-node/README.md b/gpu-node/README.md index 8597c9b3..7f879d28 100644 --- a/gpu-node/README.md +++ b/gpu-node/README.md @@ -56,8 +56,8 @@ curl -fsSLO https://raw.githubusercontent.com/5stackgg/5stack-panel/main/gpu-nod (`/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. 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** (tick **Built into - the processor** for an AMD APU). From the terminal of a panel that runs the + 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. diff --git a/gpu-node/gpu-node-check.sh b/gpu-node/gpu-node-check.sh index a66daab7..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 Built into the processor unticked when you turn it on, 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 Built into the processor when you turn it on (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 turn it on under GPU Nodes > Found on your nodes." + 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