nicehash / sgminer-gm

A multi-algo GPU miner from genesismining
GNU General Public License v3.0
31 stars 34 forks source link

mining errors - NVIDIA Quadro M2000M Win 10 #10

Open marcofranssen opened 6 years ago

marcofranssen commented 6 years ago

I'm getting following error when mining XMR using this miner. I checked the mining and the configuration docs to see if I can get it working, but I actually have no clue where to start to get it resolved. Further more dows I also specified my miner config as well the batch script to run it.

I would really appreciate if someone is able to point me in the right direction. I have similar issues when trying the same with ethereum and zcash mining, but I might be able to resolve them as well if I know how to solve it for XMR.

ulong __OVERLOADABLE__ as_ulong (double);
                       ^
cl_kernel.h:15584:24: note: candidate function
ulong __OVERLOADABLE__ as_ulong (char8);
                       ^
cl_kernel.h:15585:24: note: candidate function
ulong __OVERLOADABLE__ as_ulong (uchar8);
                       ^
cl_kernel.h:15587:24: note: candidate function
ulong __OVERLOADABLE__ as_ulong (short3);
                       ^
cl_kernel.h:15589:24: note: candidate function
ulong __OVERLOADABLE__ as_ulong (short4);
                       ^
cl_kernel.h:15591:24: note: candidate function
ulong __OVERLOADABLE__ as_ulong (ushort3);
                       ^
cl_kernel.h:15593:24: note: candidate function
ulong __OVERLOADABLE__ as_ulong (ushort4);
                       ^
cl_kernel.h:15594:24: note: candidate function
ulong __OVERLOADABLE__ as_ulong (int2);
                       ^
cl_kernel.h:15595:24: note: candidate function
ulong __OVERLOADABLE__ as_ulong (uint2);
                       ^
cl_kernel.h:15596:24: note: candidate function
ulong __OVERLOADABLE__ as_ulong (float2);
                       ^
<kernel>:316:26: warning: unknown OpenCL extension 'cl_amd_media_ops2' - ignoring
#pragma OPENCL EXTENSION cl_amd_media_ops2 : enable
                         ^

[11:09:45] Failed to init GPU thread 0, disabling device 0
[11:09:45] Restarting the GPU from the menu will not fix this.
[11:09:45] Re-check your configuration and try restarting.
Press enter to continue:

Below is my batch script to run the miner

@echo off

setx GPU_FORCE_64BIT_PTR 0
setx GPU_MAX_HEAP_SIZE 100
setx GPU_MAX_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_MAX_SINGLE_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1

:loop
..\sgminer-5.5.5-gm-nicehash\sgminer -c sgminer-xmr.conf --gpu-reorder
echo restart miner...
goto loop

Below is the config file I'm using to configure the miner. I tried to explicitly set the shareds for my GPU but that doesn't seem to work.

{
    "pools":
    [
        {
            "name": "MoneroPool",
            "url": "stratum+tcp://pool.minexmr.com:4444",
            "user": "my-xmr-address",
            "pass": "x",
            "priority": "0",
            "profile": "xmr"
        }
    ],
    "profiles":
    [
        {
            "name": "xmr",
            "algorithm": "cryptonight",
            "rawintensity": "896",
            "worksize": "8",
            "gpu-threads": "1",
            "shaders": "640"
        }
    ],
    "default-profile": "xmr",
    "no-extranonce": true,
    "gpu-platform": "1"
}