ghostlander / nsgminer

NeoScrypt OpenCL GPU Miner
https://bitcointalk.org/index.php?topic=712650.0
GNU General Public License v3.0
97 stars 68 forks source link

Problem with Windows 64 bit pre-built binary #17

Closed djskinner closed 7 years ago

djskinner commented 7 years ago

I'm getting the following error when trying to use the pre-built binary of v0.9.3 on windows 10 64 bit:

[09:52:51] Probing for an alive pool
[09:52:51] Switching pool 0 http://p2pool.kosmoplovci.org:19327 to stratum+tcp://p2pool.kosmoplovci.org:19327
[09:52:51] The network difficulty has been set to 306934
[09:52:51] Stratum from pool 0 detected new block
[09:52:51] Stratum from pool 0 requested work restart
[09:52:52] Error -9999: Building Program (clBuildProgram)
[09:52:52] ptxas error   : Entry function 'search' uses too much shared data (0x10040 bytes, 0xc000 max)

[09:52:52] Failed to init GPU thread 0, disabling device 0
[09:52:52] Restarting the GPU from the menu will not fix this.
[09:52:52] Try to restart the miner.
Press enter to continue:
ghostlander commented 7 years ago

Your miner's settings?

djskinner commented 7 years ago

Nothing special:

nsgminer -o http://p2pool.kosmoplovci.org:19327 -u 6wxSLMqR9Ju5eMkLJthkMbauVLExecHa9c -p x

Also tried with --neoscrypt.

Further info:

 .\nsgminer.exe -n
[2017-11-25 17:53:52] OpenCL platform 0 vendor: Intel(R) Corporation
[17:53:52] OpenCL platform 0 name: Intel(R) OpenCL
[17:53:52] OpenCL platform 0 version: OpenCL 2.1
[17:53:52] Error -1: Getting Device IDs (num)
[17:53:52] OpenCL platform 1 vendor: NVIDIA Corporation
[17:53:52] OpenCL platform 1 name: NVIDIA CUDA
[17:53:52] OpenCL platform 1 version: OpenCL 1.2 CUDA 9.1.92
[17:53:52] Platform 1 devices: 2
[17:53:52]      0       GeForce GTX 1070 Ti
[17:53:52]      1       GeForce GTX 1070 Ti

[17:53:52] 2 OpenCL GPU devices detected

[17:53:52] Unable to load the AMD Display Library
[17:53:52] NVML found 2 devices:
[17:53:52] Mapping OpenCL device 0 to NVML device 0
[17:53:52] Mapping OpenCL device 1 to NVML device 1
[17:53:52] GPU 0: GeForce GTX 1070 Ti [0000:01:00.0]
[17:53:52] GPU 1: GeForce GTX 1070 Ti [0000:02:00.0]
ghostlander commented 7 years ago

Add -w 64

djskinner commented 7 years ago

That sorted it. Thanks.