Merge pull request #10967 from waltercool/master

Added support for workarounds on Navi external GPU.
This commit is contained in:
AUTOMATIC1111 2023-06-03 09:09:25 +03:00 committed by GitHub
commit 7fd53815d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ then
fi
# Check prerequisites
gpu_info=$(lspci 2>/dev/null | grep VGA)
gpu_info=$(lspci 2>/dev/null | grep -E "VGA|Display")
case "$gpu_info" in
*"Navi 1"*|*"Navi 2"*) export HSA_OVERRIDE_GFX_VERSION=10.3.0
;;