не сильно силен в bash... может подскажите?
Скрипт попроще не интересует?
Он не такой универсальный и его нельзя настраивать через интерфейс, зато простой и быстрый.
Пишет в лог logs/nhml-oc.log дату/время, майнер, алгоритм. дату формирует с помощью утилиты date, штатная виндовая не понравилась. Скачать по запросу "date gnu". Если лог не нужен, удалить строчку.
GPU-Reset.cmd, соответственно, тоже другой.
Будут вопросы - задавай, с моей колокольни тут все понятно
@echo off
cls
SET RUN=TRUE
SET NOVISIBLE=FALSE
SET PLATFORM=%1
SET MMODE=%2
SET ALGO=%3
SET DEVLIST=%~4
SET MINER=%5
echo %*
utils\date\date.exe +"[%%Y-%%m-%%d %%T] [INFO] OverClock GPU's - %MINER% - %ALGO%" >> logs/nhml-oc.log
if "%ALGO%" EQU "X16RV2" goto 800
if "%ALGO%" EQU "BeamV2" goto 900
if "%ALGO%" EQU "BeamV3" goto 900
if "%ALGO%" EQU "NeoScrypt" goto 800
if "%ALGO%" EQU "ZHash" goto 800
goto und
:900
echo Overclock 900mv
SET FAN=-1
SET VOLT=900000
SET TEMP=70
SET CLOCK=100
SET MCLOCK=0
SET GPU0=-setMemoryClockOffset:0,0,%MCLOCK% -setBaseClockOffset:0,0,%CLOCK% -setFanSpeed:0,%FAN% -lockVoltagePoint:0,%VOLT% -setTempTarget:0,0,%TEMP%
SET GPU1=-setMemoryClockOffset:1,0,%MCLOCK% -setBaseClockOffset:1,0,%CLOCK% -setFanSpeed:1,%FAN% -lockVoltagePoint:1,%VOLT% -setTempTarget:1,0,%TEMP%
SET GPU2=-setMemoryClockOffset:2,0,%MCLOCK% -setBaseClockOffset:2,0,%CLOCK% -setFanSpeed:2,%FAN% -lockVoltagePoint:2,%VOLT% -setTempTarget:2,0,%TEMP%
SET GPU3=-setMemoryClockOffset:3,0,%MCLOCK% -setBaseClockOffset:3,0,%CLOCK% -setFanSpeed:3,%FAN% -lockVoltagePoint:3,%VOLT% -setTempTarget:3,0,%TEMP%
SET GPU4=-setMemoryClockOffset:4,0,%MCLOCK% -setBaseClockOffset:4,0,%CLOCK% -setFanSpeed:4,%FAN% -lockVoltagePoint:4,%VOLT% -setTempTarget:4,0,%TEMP%
SET GPU5=-setMemoryClockOffset:5,0,%MCLOCK% -setBaseClockOffset:5,0,%CLOCK% -setFanSpeed:5,%FAN% -lockVoltagePoint:5,%VOLT% -setTempTarget:5,0,%TEMP%
utils\nvidiaInspector.exe %GPU0% %GPU1% %GPU2% %GPU3% %GPU4% %GPU5%
goto end
:800
echo Overclock 800mv
SET FAN=-1
SET VOLT=800000
SET TEMP=70
SET CLOCK=100
SET MCLOCK=0
SET GPU0=-setMemoryClockOffset:0,0,%MCLOCK% -setBaseClockOffset:0,0,%CLOCK% -setFanSpeed:0,%FAN% -lockVoltagePoint:0,%VOLT% -setTempTarget:0,0,%TEMP%
SET GPU1=-setMemoryClockOffset:1,0,%MCLOCK% -setBaseClockOffset:1,0,%CLOCK% -setFanSpeed:1,%FAN% -lockVoltagePoint:1,%VOLT% -setTempTarget:1,0,%TEMP%
SET GPU2=-setMemoryClockOffset:2,0,%MCLOCK% -setBaseClockOffset:2,0,%CLOCK% -setFanSpeed:2,%FAN% -lockVoltagePoint:2,%VOLT% -setTempTarget:2,0,%TEMP%
SET GPU3=-setMemoryClockOffset:3,0,%MCLOCK% -setBaseClockOffset:3,0,%CLOCK% -setFanSpeed:3,%FAN% -lockVoltagePoint:3,%VOLT% -setTempTarget:3,0,%TEMP%
SET GPU4=-setMemoryClockOffset:4,0,%MCLOCK% -setBaseClockOffset:4,0,%CLOCK% -setFanSpeed:4,%FAN% -lockVoltagePoint:4,%VOLT% -setTempTarget:4,0,%TEMP%
SET GPU5=-setMemoryClockOffset:5,0,%MCLOCK% -setBaseClockOffset:5,0,%CLOCK% -setFanSpeed:5,%FAN% -lockVoltagePoint:5,%VOLT% -setTempTarget:5,0,%TEMP%
utils\nvidiaInspector.exe %GPU0% %GPU1% %GPU2% %GPU3% %GPU4% %GPU5%
goto end
:700
echo Overclock 700mv
SET FAN=-1
SET VOLT=700000
SET TEMP=70
SET CLOCK=100
SET MCLOCK=0
SET GPU0=-setMemoryClockOffset:0,0,%MCLOCK% -setBaseClockOffset:0,0,%CLOCK% -setFanSpeed:0,%FAN% -lockVoltagePoint:0,%VOLT% -setTempTarget:0,0,%TEMP%
SET GPU1=-setMemoryClockOffset:1,0,%MCLOCK% -setBaseClockOffset:1,0,%CLOCK% -setFanSpeed:1,%FAN% -lockVoltagePoint:1,%VOLT% -setTempTarget:1,0,%TEMP%
SET GPU2=-setMemoryClockOffset:2,0,%MCLOCK% -setBaseClockOffset:2,0,%CLOCK% -setFanSpeed:2,%FAN% -lockVoltagePoint:2,%VOLT% -setTempTarget:2,0,%TEMP%
SET GPU3=-setMemoryClockOffset:3,0,%MCLOCK% -setBaseClockOffset:3,0,%CLOCK% -setFanSpeed:3,%FAN% -lockVoltagePoint:3,%VOLT% -setTempTarget:3,0,%TEMP%
SET GPU4=-setMemoryClockOffset:4,0,%MCLOCK% -setBaseClockOffset:4,0,%CLOCK% -setFanSpeed:4,%FAN% -lockVoltagePoint:4,%VOLT% -setTempTarget:4,0,%TEMP%
SET GPU5=-setMemoryClockOffset:5,0,%MCLOCK% -setBaseClockOffset:5,0,%CLOCK% -setFanSpeed:5,%FAN% -lockVoltagePoint:5,%VOLT% -setTempTarget:5,0,%TEMP%
utils\nvidiaInspector.exe %GPU0% %GPU1% %GPU2% %GPU3% %GPU4% %GPU5%
goto end
:und
echo Undefined Algorithm %ALGO%.
utils\date\date.exe +"[%%Y-%%m-%%d %%T] [WARN] Undefined Algorithm - %MINER% - %ALGO%" >> logs/nhml-oc.log
SET FAN=-1
SET VOLT=700000
SET TEMP=70
SET CLOCK=0
SET MCLOCK=0
SET GPU0=-setMemoryClockOffset:0,0,%MCLOCK% -setBaseClockOffset:0,0,%CLOCK% -setFanSpeed:0,%FAN% -lockVoltagePoint:0,%VOLT% -setTempTarget:0,0,%TEMP%
SET GPU1=-setMemoryClockOffset:1,0,%MCLOCK% -setBaseClockOffset:1,0,%CLOCK% -setFanSpeed:1,%FAN% -lockVoltagePoint:1,%VOLT% -setTempTarget:1,0,%TEMP%
SET GPU2=-setMemoryClockOffset:2,0,%MCLOCK% -setBaseClockOffset:2,0,%CLOCK% -setFanSpeed:2,%FAN% -lockVoltagePoint:2,%VOLT% -setTempTarget:2,0,%TEMP%
SET GPU3=-setMemoryClockOffset:3,0,%MCLOCK% -setBaseClockOffset:3,0,%CLOCK% -setFanSpeed:3,%FAN% -lockVoltagePoint:3,%VOLT% -setTempTarget:3,0,%TEMP%
SET GPU4=-setMemoryClockOffset:4,0,%MCLOCK% -setBaseClockOffset:4,0,%CLOCK% -setFanSpeed:4,%FAN% -lockVoltagePoint:4,%VOLT% -setTempTarget:4,0,%TEMP%
SET GPU5=-setMemoryClockOffset:5,0,%MCLOCK% -setBaseClockOffset:5,0,%CLOCK% -setFanSpeed:5,%FAN% -lockVoltagePoint:5,%VOLT% -setTempTarget:5,0,%TEMP%
utils\nvidiaInspector.exe %GPU0% %GPU1% %GPU2% %GPU3% %GPU4% %GPU5%
goto end
:end
echo Complete
timeout /t 2 /nobreak
exit
@echo off
cls
SET RUN=TRUE
SET NOVISIBLE=FALSE
SET PLATFORM=%1
SET MMODE=%2
SET ALGO=%3
SET DEVLIST=%~4
SET MINER=%5
echo %*
utils\date\date.exe +"[%%Y-%%m-%%d %%T] [INFO] Reset overclocking - %MINER% - %ALGO%" >> logs/nhml-oc.log
echo Reset overclocking.
SET FAN=-1
SET VOLT=0
SET TEMP=65
SET CLOCK=0
SET MCLOCK=0
SET GPU0=-setMemoryClockOffset:0,0,%MCLOCK% -setBaseClockOffset:0,0,%CLOCK% -setFanSpeed:0,%FAN% -lockVoltagePoint:0,%VOLT% -setTempTarget:0,0,%TEMP%
SET GPU1=-setMemoryClockOffset:1,0,%MCLOCK% -setBaseClockOffset:1,0,%CLOCK% -setFanSpeed:1,%FAN% -lockVoltagePoint:1,%VOLT% -setTempTarget:1,0,%TEMP%
SET GPU2=-setMemoryClockOffset:2,0,%MCLOCK% -setBaseClockOffset:2,0,%CLOCK% -setFanSpeed:2,%FAN% -lockVoltagePoint:2,%VOLT% -setTempTarget:2,0,%TEMP%
SET GPU3=-setMemoryClockOffset:3,0,%MCLOCK% -setBaseClockOffset:3,0,%CLOCK% -setFanSpeed:3,%FAN% -lockVoltagePoint:3,%VOLT% -setTempTarget:3,0,%TEMP%
SET GPU4=-setMemoryClockOffset:4,0,%MCLOCK% -setBaseClockOffset:4,0,%CLOCK% -setFanSpeed:4,%FAN% -lockVoltagePoint:4,%VOLT% -setTempTarget:4,0,%TEMP%
SET GPU5=-setMemoryClockOffset:5,0,%MCLOCK% -setBaseClockOffset:5,0,%CLOCK% -setFanSpeed:5,%FAN% -lockVoltagePoint:5,%VOLT% -setTempTarget:5,0,%TEMP%
utils\nvidiaInspector.exe %GPU0% %GPU1% %GPU2% %GPU3% %GPU4% %GPU5%
echo Complete
timeout /t 1 /nobreak
exit