Skip to content

Commit

Permalink
set override to none by default
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise committed Jul 9, 2024
1 parent 15369ab commit f93d772
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
15 changes: 15 additions & 0 deletions mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -1702,6 +1702,11 @@
</item>
<item row="13" column="6">
<widget class="QComboBox" name="HSAGFXComboBox">
<item>
<property name="text">
<string>None</string>
</property>
</item>
<item>
<property name="text">
<string>11.0.0</string>
Expand All @@ -1712,6 +1717,16 @@
<string>10.3.0</string>
</property>
</item>
<item>
<property name="text">
<string>9.0.6</string>
</property>
</item>
<item>
<property name="text">
<string>9.0.0</string>
</property>
</item>
</widget>
</item>
<item row="14" column="6">
Expand Down
Empty file removed src/UI/enhance.py
Empty file.
Empty file removed src/UI/mainmenu.py
Empty file.
Empty file removed src/UI/settings.py
Empty file.
5 changes: 3 additions & 2 deletions src/programData/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit f93d772

Please sign in to comment.