mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-21 06:03:52 +00:00
Retry Vangogh GPU detection 3 times
This commit is contained in:
parent
7b3884c86b
commit
00e60e72ba
2 changed files with 7 additions and 1 deletions
|
|
@ -20,7 +20,12 @@ namespace PowerControl
|
|||
|
||||
if (Settings.Default.EnableExperimentalFeatures)
|
||||
{
|
||||
Instance.WithGlobalMutex(1000, () => VangoghGPU.Detect());
|
||||
for (int i = 0; !VangoghGPU.IsSupported; i++)
|
||||
{
|
||||
Instance.WithGlobalMutex(1000, () => VangoghGPU.Detect());
|
||||
if (VangoghGPU.IsSupported)
|
||||
Thread.Sleep(300);
|
||||
}
|
||||
}
|
||||
|
||||
// To customize application configuration such as set high DPI settings or default font,
|
||||
|
|
|
|||
|
|
@ -12,5 +12,6 @@
|
|||
- Do not use WinRing0 for GPU detection to control CPU/GPU frequency
|
||||
- Reset `LibreHardware` on system resume to fix battery bug
|
||||
- Reset FPS limit if anything related to resolution changes
|
||||
- Retry Vangogh GPU detection 3 times
|
||||
|
||||
If you found it useful buy me [Ko-fi](https://ko-fi.com/ayufan).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue