Message boards :
Number crunching :
By FOLDERS, stop gpu auto with games
Message board moderation
| Author | Message |
|---|---|
|
Send message Joined: 27 Nov 14 Posts: 10 Credit: 29,371,725 RAC: 0 Level ![]() Scientific publications ![]()
|
I have a computer with GPUGRID in BOINC and I also have many games. Every time I install a game, I have to add the game executable in the BOINC GPU exclusion list. Sometimes it is difficult to find the executable if it is a Steam game, since the link is of the steam://rungameid/359550 type and you have to open the Task Manager and then go to it. I have made a program that avoids having to add each game and does not need to put anything on the BOINC exclusion list. Just indicate the name of the folder where all the games are, the BOINC location and the nvidia-smi file (ONLY GPU NVIDIA). GPU_BOINC_Control_Programar.bat @echo off schtasks /CREATE /SC MINUTE /TN "GPU_BOINC_Control_Tarea" /TR "c:\path\GPU_BOINC_Control_Ocultar.vbs" GPU_BOINC_Control_Ocultar.vbs set objshell = createobject("wscript.shell") objshell.run "c:\path\GPU_BOINC_Control_Accion.bat",vbhide GPU_BOINC_Control_Accion.bat @echo off tasklist | find "boincmgr.exe">nul IF not "%ERRORLEVEL%"=="0" goto salir SET A=0 "C:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi.exe" --format=csv,noheader --query-compute-apps=name | find "BOINC" IF "%ERRORLEVEL%"=="0" SET A=1 SET B=0 "C:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi.exe" --format=csv,noheader --query-compute-apps=name | find "Games" IF "%ERRORLEVEL%"=="0" SET B=1 IF "%A%"=="1" IF "%B%"=="1" "D:\2 Programas instalados\BOINC\boinccmd.exe" --set_gpu_mode never IF "%A%"=="0" IF "%B%"=="0" "D:\2 Programas instalados\BOINC\boinccmd.exe" --set_gpu_mode auto :salir |
©2025 Universitat Pompeu Fabra