최근 2019년 이후 버전업된 AMD 그래픽카드 드라이버 버전을 설치할경우,
teominer , ethminer 에서 윈도우에서 amd 그래픽카드를 인식하지 못하는 문제가 있었습니다.
OpenCL registery 에 AMD 가 최신드라이버 설치시 호환되지 않게 드라이버를 배포하기 때문입니다.
이는 ethminer 깃헙 이슈도 있어서, 기존 사용자들이 수동으로 처리해야 하였습니다.
관련링크 : https://github.com/ethereum-mining/ethminer/issues/2001
일전에
@ctxclub 님께서 알려주신 문제점도 이로 인한 문제 였습니다.
amd 그래픽카드 설치된 윈도우즈에서 수동으로 registery 를 수정하여도 되지만,
초보자 및 경력자라도 번거롭습니다.
그래서, batch file 을 공유합니다.
다운은 github.com/tao.foundation/teominer 에서 amdcladd.bat 을 다운받아서 사용하시면 됩니다.
https://github.com/tao-foundation/teominer/releases/tag/v0.16.3
참고로, batchfile 을 다운받기 싫은분들을 위해서 소스를 공유합니다.
--- amdcladd.bat ---
Link amdcladd.bat
@rem latest version of amd drivers (after 2019) it doesn't support khronos opencl vendor registery.
@rem So, teominer can't detect AMD Graphics card.
@rem
@rem Here ethminer based users found solutions.
@rem link is here :: https://github.com/ethereum-mining/ethminer/issues/2001#issuecomment-662288143
@rem @jgonzis posted solutions.
@rem and https://github.com/ethereum-mining/ethminer/issues/2001#issuecomment-706781513
@rem @Fordstaa has Tip of make registery
@rem
@rem TEOMiner also ethminer based miner , so same problem happen.
@rem
@rem This Batchfile generates AmdOpencl wrapper and simple batchfiles
@rem please run as administrators
@rem TAO.Foundation 2021
@echo off
@echo Windows Registry Editor Version 5.00>__tmp_ocl_.reg
@echo.>>__tmp_ocl_.reg
@echo [HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors]>>__tmp_ocl_.reg
set lf=-
@rem setlocal EnableDelayedExpansion
setlocal
for /f "delims=" %%i in ('dir c:\windows\system32\"*amdocl*" /s/p/b') do (
set "line=%%i"
setlocal EnableDelayedExpansion
set "line=!line:\=\\!"
@echo "!line!"=dword:00000000>>__tmp_ocl_.reg
endlocal
)
endlocal
@echo "amdocl64.dll"=dword:00000000>>__tmp_ocl_.reg
type __tmp_ocl_.reg
pause
regedit %cd%\__tmp_ocl_.reg
del __tmp_ocl_.reg
-----
기존글 : TEO, GGoletn, TEOMiner 를 멀티 알고리즘 마이너로 바꾸려고 하는데, 참여하실분 .
https://www.ddengle.com/develop/14464782