From f93d772f27f0ad3472cbdc832201c7513e381fce Mon Sep 17 00:00:00 2001 From: tntwise Date: Tue, 9 Jul 2024 19:29:54 +0000 Subject: [PATCH] set override to none by default --- mainwindow.ui | 15 +++++++++++++++ src/UI/enhance.py | 0 src/UI/mainmenu.py | 0 src/UI/settings.py | 0 src/programData/settings.py | 5 +++-- 5 files changed, 18 insertions(+), 2 deletions(-) delete mode 100644 src/UI/enhance.py delete mode 100644 src/UI/mainmenu.py delete mode 100644 src/UI/settings.py diff --git a/mainwindow.ui b/mainwindow.ui index 79faa0cc..1129b6e2 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -1702,6 +1702,11 @@ + + + None + + 11.0.0 @@ -1712,6 +1717,16 @@ 10.3.0 + + + 9.0.6 + + + + + 9.0.0 + + diff --git a/src/UI/enhance.py b/src/UI/enhance.py deleted file mode 100644 index e69de29b..00000000 diff --git a/src/UI/mainmenu.py b/src/UI/mainmenu.py deleted file mode 100644 index e69de29b..00000000 diff --git a/src/UI/settings.py b/src/UI/settings.py deleted file mode 100644 index e69de29b..00000000 diff --git a/src/programData/settings.py b/src/programData/settings.py index 3aa00b52..c69911f9 100644 --- a/src/programData/settings.py +++ b/src/programData/settings.py @@ -90,7 +90,7 @@ def readSettings(self): "UHDResCutOff": "1080", "gpuID": "0", "HalfPrecision": str(half), - "HSA_OVERRIDE_GFX_VERSION": "11.0.0", + "HSA_OVERRIDE_GFX_VERSION": "None", } if returnOperatingSystem() == "Linux": default_settings["OutputDir"] = f"{homedir}/Videos/" @@ -327,7 +327,8 @@ def setHIPGFXVersionSetting(self): def setHIPGFXVersion(): settings = Settings() - os.environ["HSA_OVERRIDE_GFX_VERSION"] = settings.HSA_OVERRIDE_GFX_VERSION + if settings.HSA_OVERRIDE_GFX_VERSION != 'None': + os.environ["HSA_OVERRIDE_GFX_VERSION"] = settings.HSA_OVERRIDE_GFX_VERSION def uninstallAPP(self):