Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions gpu-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <node>`. 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

Expand Down
6 changes: 3 additions & 3 deletions gpu-node/gpu-node-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -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
Expand Down
Loading