aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniAndTheWeb <57776841+DaniAndTheWeb@users.noreply.github.com>2023-01-19 20:05:49 +0100
committerGitHub <noreply@github.com>2023-01-19 20:05:49 +0100
commit36364bd76c4634820e08070a287f0a5ad27c35f6 (patch)
treebfcd696832178737cc65be40d526b646d0216663
parent48045545d9a3f174621a62086812d9bbfb3ce1c2 (diff)
GFX env just for RDNA 1 and 2
This commit specifies which GPUs should use the GFX variable, RDNA 3 is excluded since it uses a newer GFX version
-rwxr-xr-xwebui.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/webui.sh b/webui.sh
index ff410e15..91c95e47 100755
--- a/webui.sh
+++ b/webui.sh
@@ -105,7 +105,7 @@ fi
# Check prerequisites
gpu_info=$(lspci 2>/dev/null | grep VGA)
-if echo "$gpu_info" | grep -q "Navi"
+if echo "$gpu_info" | grep -qE "Navi (1|2)"
then
export HSA_OVERRIDE_GFX_VERSION=10.3.0
fi