nicehash / NiceHashMiner

NiceHash Miner
Other
483 stars 217 forks source link

AMD card stopped showing up in NHML 1.9.0.3 #1259

Closed PrinceOfParallax closed 5 years ago

PrinceOfParallax commented 6 years ago

2018-06-28 11:24:47] [INFO] [NICEHASH] Starting up NiceHashMiner v1.9.0.3 [2018-06-28 11:24:47] [INFO] [NICEHASH] Selected language: English [2018-06-28 11:24:47] [INFO] [NICEHASH] Critical error: missing language [2018-06-28 11:24:47] [INFO] [NICEHASH] WMI service seems to be running, ManagementObjectSearcher returned success. [2018-06-28 11:24:47] [INFO] [SystemSpecs] FreePhysicalMemory = 5778112 [2018-06-28 11:24:47] [INFO] [SystemSpecs] FreeSpaceInPagingFiles = 1295240 [2018-06-28 11:24:47] [INFO] [SystemSpecs] FreeVirtualMemory = 5450628 [2018-06-28 11:24:47] [INFO] [SystemSpecs] LargeSystemCache = 0 [2018-06-28 11:24:47] [INFO] [SystemSpecs] MaxNumberOfProcesses = 4294967295 [2018-06-28 11:24:47] [INFO] [SystemSpecs] MaxProcessMemorySize = 137438953344 [2018-06-28 11:24:47] [INFO] [SystemSpecs] NumberOfLicensedUsers = 0 [2018-06-28 11:24:47] [INFO] [SystemSpecs] NumberOfProcesses = 123 [2018-06-28 11:24:47] [INFO] [SystemSpecs] NumberOfUsers = 2 [2018-06-28 11:24:47] [INFO] [SystemSpecs] OperatingSystemSKU = 48 [2018-06-28 11:24:47] [INFO] [SystemSpecs] SizeStoredInPagingFiles = 1310720 [2018-06-28 11:24:47] [INFO] [SystemSpecs] SuiteMask = 272 [2018-06-28 11:24:47] [INFO] [SystemSpecs] TotalSwapSpaceSize = 0 [2018-06-28 11:24:47] [INFO] [SystemSpecs] TotalVirtualMemorySize = 9657980 [2018-06-28 11:24:47] [INFO] [SystemSpecs] TotalVisibleMemorySize = 8347260 [2018-06-28 11:24:47] [INFO] [NICEHASH] Total RAM: 8151MB [2018-06-28 11:24:47] [INFO] [NICEHASH] Page File Size: 1280MB [2018-06-28 11:24:47] [INFO] [NICEHASH] Balance update [2018-06-28 11:24:48] [INFO] [ExtraLaunchParameters] Loading internal params config MinerOptionPackage_ccminer [2018-06-28 11:24:48] [INFO] [ExtraLaunchParameters] Loading internal params config MinerOptionPackage_ccminer_CryptoNight [2018-06-28 11:24:48] [INFO] [ExtraLaunchParameters] Loading internal params config MinerOptionPackage_ethminer_OCL [2018-06-28 11:24:48] [INFO] [ExtraLaunchParameters] Loading internal params config MinerOptionPackage_ethminer_CUDA [2018-06-28 11:24:48] [INFO] [ExtraLaunchParameters] Loading internal params config MinerOptionPackage_sgminer [2018-06-28 11:24:48] [INFO] [ExtraLaunchParameters] Loading internal params config MinerOptionPackage_cpuminer_opt [2018-06-28 11:24:48] [INFO] [ExtraLaunchParameters] Loading internal params config MinerOptionPackage_nheqminer_CPU [2018-06-28 11:24:48] [INFO] [ExtraLaunchParameters] Loading internal params config MinerOptionPackage_nheqminer_CUDA [2018-06-28 11:24:48] [INFO] [ExtraLaunchParameters] Loading internal params config MinerOptionPackage_eqm_CUDA [2018-06-28 11:24:48] [INFO] [ExtraLaunchParameters] Loading internal params config MinerOptionPackage_ClaymoreZcash [2018-06-28 11:24:48] [INFO] [ExtraLaunchParameters] Loading internal params config MinerOptionPackage_ClaymoreCryptoNight [2018-06-28 11:24:48] [INFO] [ExtraLaunchParameters] Loading internal params config MinerOptionPackage_OptiminerZcash [2018-06-28 11:24:48] [INFO] [ExtraLaunchParameters] Loading internal params config MinerOptionPackage_excavator [2018-06-28 11:24:48] [INFO] [ExtraLaunchParameters] Loading internal params config MinerOptionPackage_ClaymoreDual [2018-06-28 11:24:48] [INFO] [ExtraLaunchParameters] Loading internal params config MinerOptionPackage_EWBF [2018-06-28 11:24:48] [INFO] [ExtraLaunchParameters] Loading internal params config MinerOptionPackage_Xmrig [2018-06-28 11:24:48] [INFO] [ExtraLaunchParameters] Loading internal params config MinerOptionPackage_dtsm [2018-06-28 11:24:48] [INFO] [MinerPaths] Loading internal paths config MinerPathPackage_AMD_OpenCL [2018-06-28 11:24:48] [INFO] [MinerPaths] Loading internal paths config MinerPathPackage_NVIDIA_2_1 [2018-06-28 11:24:48] [INFO] [MinerPaths] Loading internal paths config MinerPathPackage_NVIDIA_3_x [2018-06-28 11:24:48] [INFO] [MinerPaths] Loading internal paths config MinerPathPackage_NVIDIA_5_x [2018-06-28 11:24:48] [INFO] [MinerPaths] Loading internal paths config MinerPathPackage_NVIDIA_6_x [2018-06-28 11:24:48] [INFO] [ComputeDeviceManager.Query] Copy from C:\Program Files\NVIDIA Corporation\NVSMI\nvml.dll to C:\Users\Lonley Mountian\Desktop\1.9.0.3\nvml.dll done [2018-06-28 11:24:48] [INFO] [ComputeDeviceManager.Query] QueryVideoControllers: Win32_VideoController detected: Name Radeon RX 580 Series Description Radeon RX 580 Series PNPDeviceID PCI\VEN_1002&DEV_67DF&SUBSYS_22FD1458&REV_E7\4&25438C51&0&0008 DriverVersion 22.19.659.0 Status OK InfSection ati2mtag_Polaris10DS AdapterRAM 4293918720

[2018-06-28 11:24:48] [INFO] [ComputeDeviceManager.Query] QueryCpus START [2018-06-28 11:24:49] [INFO] [ComputeDeviceManager.Query] HyperThreadingEnabled = FALSE [2018-06-28 11:24:49] [INFO] [ComputeDeviceManager.Query] QueryCpus END [2018-06-28 11:24:49] [INFO] [ComputeDeviceManager.Query] Skipping NVIDIA device detection, settings are set to disabled [2018-06-28 11:24:49] [INFO] [ComputeDeviceManager.Query] QueryOpenCLDevices START [2018-06-28 11:24:50] [INFO] [ComputeDeviceManager.Query] AMDOpenCLDeviceDetection found devices success:

[2018-06-28 11:24:50] [INFO] [ComputeDeviceManager.Query] QueryOpenCLDevices END [2018-06-28 11:24:50] [INFO] [AmdQuery] QueryAMD START [2018-06-28 11:24:50] [INFO] [AmdQuery] Checking AMD device (driver): Radeon RX 580 Series (22.19.659.0) [2018-06-28 11:24:50] [INFO] [AmdQuery] Driver version seems to be 21.19.164.1 or higher. NeoScrypt and Lyra2REv2 will be removed from list [2018-06-28 11:24:50] [INFO] [AmdQuery] QueryAMD END [2018-06-28 11:24:50] [INFO] [ComputeDeviceManager.Query] Cuda NVIDIA/CUDA device count GOOD [2018-06-28 11:24:50] [INFO] [ComputeDeviceManager.Query] AMD GPU device count GOOD [2018-06-28 11:24:50] [INFO] [ComputeDeviceManager.Query] virtual memory size GOOD [2018-06-28 11:24:50] [INFO] [SOCKET] 06/28/2018 11:24:50|Warn |Logger.set_Output|The current output action has been changed. [2018-06-28 11:24:50] [INFO] [SOCKET] 06/28/2018 11:24:50|Debug|WebSocket.sendHttpRequest|A request to the server: GET /v2/nhm HTTP/1.1 User-Agent: websocket-sharp/1.0 Host: nhmws.nicehash.com Upgrade: websocket Connection: Upgrade Sec-WebSocket-Key: 2ccA+kbjqvYlGsaSBPHUrQ== Sec-WebSocket-Version: 13 [2018-06-28 11:24:50] [INFO] [SOCKET] 06/28/2018 11:24:50|Debug|WebSocket.sendHttpRequest|A response to this request: HTTP/1.1 101 Switching Protocols Date: Thu, 28 Jun 2018 18:24:51 GMT Connection: upgrade Set-Cookie: __cfduid=ddef7f3edfad59cf5513b45b2c777227e1530210291; expires=Fri, 28-Jun-19 18:24:51 GMT; path=/; domain=.nicehash.com; HttpOnly Upgrade: websocket Sec-WebSocket-Accept: frsDTnzbyxvlIidXQGyd7zW+wPI= Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" Server: cloudflare CF-RAY: 4322314f2ca79278-EWR [2018-06-28 11:24:51] [INFO] [SOCKET] Sending data: {"method":"login","version":"NHML/1.9.0.3","protocol":1} [2018-06-28 11:24:51] [INFO] [SOCKET] Sending data: {"method":"devices.status","devices":[[0,"Intel(R) Pentium(R) CPU G4400 @ 3.30GHz",2,0,-1,-1]]} [2018-06-28 11:24:51] [INFO] [SOCKET] Sending data: {"method":"credentials.set","btc":"My Adress ","worker":"AnnOMyus"} [2018-06-28 11:24:51] [INFO] [SOCKET] Received: {"method":"versions","v2":"2.0.1.10","legacy":"1.9.0.3"} [2018-06-28 11:24:51] [INFO] [SOCKET] Received: {"method":"sma","data":[[5,"0.00014601"],[7,"0"],[8,"0.11576964"],[14,"0.00290395"],[20,"0.00507606"],[21,"0.00000116"],[22,"4.18769367"],[23,"0.00000871"],[24,"272.20979825"],[25,"0.00000899"],[26,"0.00031353"],[27,"0.00000031"],[28,"0.0000066"],[29,"0.00303596"],[30,"137.70932406"],[31,"158.00447124"],[32,"0.06355062"]],"stable":"[8,14,20,24,30]"} [2018-06-28 11:24:51] [INFO] [NHSMAData] Updating stable algorithms ADDED NeoScrypt ADDED Lyra2REv2 ADDED DaggerHashimoto ADDED Equihash ADDED CryptoNightV7

[2018-06-28 11:24:51] [INFO] [NICEHASH] SMA Update [2018-06-28 11:24:51] [INFO] [SOCKET] Received: {"method":"exchange_rates","data":"{\"exchanges\":[{\"USD\":\"6097.9\",\"coin\":\"BTC\"},{\"BTC\":\"0\",\"coin\":\"LTC\"},{\"BTC\":\"0\",\"coin\":\"ETH\"},{\"BTC\":\"0\",\"coin\":\"ZEC\"},{\"BTC\":\"0\",\"coin\":\"XMR\"}],\"exchanges_fiat\":{\"CHF\":0.99734,\"HRK\":6.325501,\"MXN\":19.814699,\"ZAR\":13.819397,\"INR\":68.834999,\"CNY\":6.623397,\"THB\":33.150002,\"AUD\":1.359497,\"ILS\":3.653099,\"KRW\":1120.709961,\"JPY\":110.291961,\"PLN\":3.769602,\"GBP\":0.76391,\"IDR\":14385,\"HUF\":283.839996,\"PHP\":53.490002,\"TRY\":4.59199,\"RUB\":62.982101,\"HKD\":7.846802,\"ISK\":106.910004,\"EUR\":0.863199,\"DKK\":6.43383,\"CAD\":1.32505,\"MYR\":4.039846,\"BGN\":1.688502,\"NOK\":8.18949,\"RON\":4.022203,\"SGD\":1.36691,\"CZK\":22.396045,\"SEK\":9.00923,\"NZD\":1.478597,\"BRL\":3.857024}}"} [2018-06-28 11:24:51] [INFO] [NICEHASH] USD rate updated: 6097.9 BTC [2018-06-28 11:24:51] [INFO] [NICEHASH] Setting environment variables [2018-06-28 11:24:51] [INFO] [NICEHASH] Trying to enable/disable Windows error reporting [2018-06-28 11:24:51] [INFO] [NICEHASH] Current DontShowUI value: 1 [2018-06-28 11:24:51] [INFO] [NICEHASH] Current Bitcoin rate: 6097.90 [2018-06-28 11:24:51] [INFO] [SOCKET] Received: {"method":"balance","value":"0.001164"} [2018-06-28 11:24:51] [INFO] [NICEHASH] Balance update

PrinceOfParallax commented 6 years ago

Yes, I have clean uninstalled and moved to block chain drivers, and I have clean installed to the newest drivers no change.

foxwarernd commented 6 years ago

check https://github.com/nicehash/NiceHashMinerLegacy: I am having issues with my AMD GPU drivers.

We recommend you to use 15.7.1 version of AMD GPU display drivers. The latest Crimson drivers are also supported, but optimal speed for the majority of algorithms can be achieved by using 15.7.1 version. This version can be downloaded here. When uninstalling or reinstalling display drivers we suggest you to use Guru 3D Display Driver Uninstaller. This utility will make sure you get a clean driver state. You can download it here. If you are using Windows 10, the AMD installer utility is sometimes unable to install drivers, therefore you have to install them manually. Download and run diver installer, let it extract the archive and then cancel it when prompted to execute actual install. After this go to Control Panel / System / Device Manager, Right click on your GPU, choose to Update driver manually and point to c:\AMD[driver version] folder to finish the manual driver installation.

foxwarernd commented 6 years ago

check use not latest driver

PrinceOfParallax commented 6 years ago

As most of you may know, recent AMD drivers (17.12.1 and up) won't let Nicehash mine with the GPU.

This happens to be because CL_DEVICE_TOPOLOGY_AMD is broken on these latest drivers, and reports incorrect information.

While nobody but AMD can fix this properly, nicehash depends on the bus id. Since the most common bus id for external GPUs is 1, I've recompiled the detection binary (which you can also do yourself) from the source tree that hardcodes PCI bus id 1. It's a workaround, but if your AMD cards are on PCI bus ID 1 (as is most common), this should keep you running for now.

All you do is place the exe alongside nicehash, replacing the detection EXE with this one. It Works For Me[tm] with Nicehash Legacy 1.8.2.0-pre2.

The EXE is larger because I'm on a newer Visual C++ release and static linked to avoid everyone having to download new Visual C++ runtimes.

https://www.dropbox.com/s/4ayjpkkubc4byw3/AMDOpenCLDeviceDetection.exe?dl=0

https://www.virustotal.com/#/file-analysis/YmZkNTA0MmU1Y2Y1YzEyMzQ5ODA0NTU0NWYyODc4YzU6MTUxNTA5OTMxNA==

EDIT: Made a configurable version. You need to set the environment variable AMD_BUS_ID to your GPU's bus before executing nicehash. ie setx AMD_BUS_ID 1 If not set, it detects as normal.

https://www.dropbox.com/s/2pxx0umaoi8ukmh/AMDOpenCLDeviceDetection.exe?dl=0

https://www.virustotal.com/#/file-analysis/NmFhZWJmOTNjOTMzMjRjM2I5MzQ1ZTk1MjQ5NWJjYzI6MTUxNTE4NjIwMQ==

TheGoddessInari commented 6 years ago

@PrinceOfParallax You could've at least linked or given credit to what you're copy/pasting there. Just saying.

S74nk0 commented 5 years ago

Issue related to old nhm version/build. Please use latest version and open a new issue for bugs and/or features.