diff options
author | Pablo Cholaky <waltercool@slash.cl> | 2023-06-02 19:01:30 +0000 |
---|---|---|
committer | Pablo Cholaky <waltercool@slash.cl> | 2023-06-02 19:04:58 +0000 |
commit | 8d970a4a97147891265fd4f8cccf5719d958b125 (patch) | |
tree | 92dffeb3dff2573e22ab2a612d6ca9685483bb19 | |
parent | b6af0a3809ea869fb180633f9affcae4b199ffcf (diff) | |
download | stable-diffusion-webui-gfx803-8d970a4a97147891265fd4f8cccf5719d958b125.tar.gz stable-diffusion-webui-gfx803-8d970a4a97147891265fd4f8cccf5719d958b125.tar.bz2 stable-diffusion-webui-gfx803-8d970a4a97147891265fd4f8cccf5719d958b125.zip |
Added support for workarounds on external GPU.
lspci detects VGA for main/integrated videocards and Display
for external videocards.
This commit should apply workarounds on computers with more than
one GPU. Useful for most laptops using weak iGPU and good dGPU.
Signed-off-by: Pablo Cholaky <waltercool@slash.cl>
-rwxr-xr-x | webui.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ;; |