Had a similar problem a while ago. I made a script (batch) that first checks, how many GPUs are in the system ("PhoenixMiner.exe -list > GPUS.TXT"). You then can analyze the GPUS.TXT file how many GPUs are available and compare it to the number of GPUs that should be there. If its okay, then start Phoenix with the normal parameters, otherwise generate a shutdown/restart.
It's just a workaround but it did what I wanted :-) Maybe its a way for you also to get the problem solved. Anyway you should try to find and fix the problem itself...
looks like it's the only way out for meIt's just a workaround but it did what I wanted :-) Maybe its a way for you also to get the problem solved. Anyway you should try to find and fix the problem itself...
can you give me that script ? I reconfigure it under my issue
I can give you a snippet here that you can modify to your needs, the complete script covers much more - management of phoenix with OC params, wallets, pools, restarts and much more.
Here are the essential parts of it:
--------------------------------------------------------------
:: Init
SET SollGPUs=X Number of GPUs that is normal X
SET IntGPU=YES & ::if you do not use internal gpu set it to NO
Set Progpfad=XXPath to Phoenix-Miner DirectoryXX
:GPUCheck
Echo.
echo Checking Number of GPUs
If not exist %Progpfad%\temp md %Progpfad%\temp
%Progpfad%\phoenixminer -list>%Progpfad%\temp\tempcount.txt
FOR /F "delims=:" %%A IN ('findstr VRAM %Progpfad%\temp\tempcount.txt ^|findstr /n "^"') DO Set /a GPUcount=%%A
IF "%IntGPU%"=="NO" SET /A gpucount=%gpucount% +1
If %sollgpus% LEQ %gpucount% (Echo Number of GPUs: %gpucount% of %sollgpus% -- OK) ELSE (Goto Reboot)
Echo.
GOTO whatever you need to start miner
:Reboot
Echo Reboot requested Wrong Number of GPUs (%gpucount% of %sollgpus%)
choice /c:WR /n /m "Restart in 15 Seconds. R = Restart, W = Weiterlaufen" /t:15 /d:R
if errorlevel 2 (Goto Reboot2A) else echo Weiter gehts...
Goto whatever you need to start miner
:Reboot2A
C:\Windows\System32\shutdown.exe /g /f /t 05
Pause
--------------------------------------------------------------
The bold parts are settings you have to setup how you need it. I tried to change some parts from german to english, but there might be some german words left over :-)
Hope it helps!