Commit 7fd53815 authored by AUTOMATIC1111's avatar AUTOMATIC1111 Committed by GitHub

Merge pull request #10967 from waltercool/master

Added support for workarounds on Navi external GPU.
parents b1fd2aaa 8d970a4a
...@@ -112,7 +112,7 @@ then ...@@ -112,7 +112,7 @@ then
fi fi
# Check prerequisites # Check prerequisites
gpu_info=$(lspci 2>/dev/null | grep VGA) gpu_info=$(lspci 2>/dev/null | grep -E "VGA|Display")
case "$gpu_info" in case "$gpu_info" in
*"Navi 1"*|*"Navi 2"*) export HSA_OVERRIDE_GFX_VERSION=10.3.0 *"Navi 1"*|*"Navi 2"*) export HSA_OVERRIDE_GFX_VERSION=10.3.0
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment