xmrig / xmrig-cuda

NVIDIA CUDA plugin for XMRig miner
GNU General Public License v3.0
365 stars 154 forks source link

GPU #0 COMPUTE ERROR #60

Closed ycMia closed 4 years ago

ycMia commented 4 years ago

winodws 10 error about “GPU #0”

 * ABOUT        XMRig/6.3.0 MSVC/2019
 * LIBS         libuv/1.38.0 OpenSSL/1.1.1g hwloc/2.2.0
 * HUGE PAGES   unavailable
 * 1GB PAGES    unavailable
 * CPU          Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz (1) x64 AES
                L2:1.0 MB L3:6.0 MB 4C/4T NUMA:1
 * MEMORY       4.1/16.0 GB (26%)
 * DONATE       1%
 * ASSEMBLY     auto:intel
 * POOL #1      xmr.f2pool.com:13531:13531 coin monero
 * COMMANDS     hashrate, pause, resume, results, connection
 * OPENCL       disabled
 * CUDA         10.2/11.0/6.3.0
 * NVML         11.451.77/451.77 press e for health report
 * CUDA GPU     #0 01:00.0 GeForce GTX 1050 Ti 1392/3504 MHz smx:6 arch:61 mem:3370/4096 MB
[2020-07-19 22:42:27.234]  net      use pool xmr.f2pool.com:13531  47.101.30.124
[2020-07-19 22:42:27.236]  net      new job from xmr.f2pool.com:13531 diff 32768 algo rx/0 height 2145655
[2020-07-19 22:42:27.238]  cpu      use argon2 implementation AVX2
[2020-07-19 22:42:27.239]  msr      to write MSR registers Administrator privileges required.
[2020-07-19 22:42:27.239]  msr      FAILED TO APPLY MSR MOD, HASHRATE WILL BE LOW
[2020-07-19 22:42:27.240]  randomx  init dataset algo rx/0 (4 threads) seed d4f97cb7663fe9ca...
[2020-07-19 22:42:27.256]  randomx  allocated 2336 MB (2080+256) huge pages 0% 0/1168 +JIT (15 ms)
[2020-07-19 22:42:34.476]  randomx  dataset ready (7219 ms)
[2020-07-19 22:42:34.476]  cpu      use profile  rx  (3 threads) scratchpad 2048 KB
[2020-07-19 22:42:34.520]  cpu      READY threads 3/3 (3) huge pages 0% 0/3 memory 6144 KB (43 ms)
[2020-07-19 22:42:34.539]  nvidia   use profile  rx  (1 thread) scratchpad 2048 KB
|  # | GPU |  BUS ID | INTENSITY | THREADS | BLOCKS | BF |  BS | MEMORY | NAME
|  0 |   0 | 01:00.0 |       384 |      32 |     12 |  8 |  25 |    768 | GeForce GTX 1050 Ti
[2020-07-19 22:42:34.770]  nvidia   READY threads 1/1 (230 ms)
[2020-07-19 22:42:41.867]  cpu      accepted (1/0) diff 32768 (21 ms)
[2020-07-19 22:43:12.284]  nvidia   #0 01:00.0   0W 50C 1721/3504 MHz fan0:32%
[2020-07-19 22:43:12.798]  nvidia   GPU #0 COMPUTE ERROR

and this is my configuration

{
    "api": {
        "id": null,
        "worker-id": null
    },
    "http": {
        "enabled": false,
        "host": "127.0.0.1",
        "port": 0,
        "access-token": null,
        "restricted": true
    },
    "autosave": true,
    "background": false,
    "colors": true,
    "title": true,
    "randomx": {
        "init": -1,
        "mode": "auto",
        "1gb-pages": false,
        "rdmsr": true,
        "wrmsr": true,
        "cache_qos": false,
        "numa": true
    },
    "cpu": {
        "enabled": true,
        "huge-pages": true,
        "hw-aes": null,
        "priority": null,
        "memory-pool": false,
        "yield": true,
        "asm": true,
        "argon2-impl": null,
        "astrobwt-max-size": 550,
        "astrobwt-avx2": false,
        "argon2": [0, 1, 2, 3],
        "astrobwt": [0, 1, 2, 3],
        "cn": [
            [1, 0],
            [1, 1],
            [1, 2]
        ],
        "cn-heavy": [
            [1, 0],
            [1, 1]
        ],
        "cn-lite": [
            [1, 0],
            [1, 1],
            [1, 2],
            [1, 3]
        ],
        "cn-pico": [
            [2, 0],
            [2, 1],
            [2, 2],
            [2, 3]
        ],
        "rx": [0, 1, 2],
        "rx/wow": [0, 1, 2, 3],
        "cn/0": false,
        "cn-lite/0": false,
        "rx/arq": "rx/wow",
        "rx/keva": "rx/wow"
    },
    "opencl": {
        "enabled": false,
        "cache": true,
        "loader": null,
        "platform": "AMD",
        "adl": true
    },
    "cuda": {
        "enabled": true,
        "loader": null,
        "nvml": true,
        "astrobwt": [
            {
                "index": 0,
                "threads": 5,
                "blocks": 11,
                "bfactor": 8,
                "bsleep": 25,
                "affinity": -1
            }
        ],
        "cn": [
            {
                "index": 0,
                "threads": 36,
                "blocks": 18,
                "bfactor": 8,
                "bsleep": 25,
                "affinity": -1
            }
        ],
        "cn-heavy": [
            {
                "index": 0,
                "threads": 18,
                "blocks": 18,
                "bfactor": 8,
                "bsleep": 25,
                "affinity": -1
            }
        ],
        "cn-lite": [
            {
                "index": 0,
                "threads": 72,
                "blocks": 18,
                "bfactor": 8,
                "bsleep": 25,
                "affinity": -1
            }
        ],
        "cn-pico": [
            {
                "index": 0,
                "threads": 128,
                "blocks": 18,
                "bfactor": 8,
                "bsleep": 25,
                "affinity": -1
            }
        ],
        "cn/2": [
            {
                "index": 0,
                "threads": 36,
                "blocks": 18,
                "bfactor": 8,
                "bsleep": 25,
                "affinity": -1
            }
        ],
        "kawpow": [
            {
                "index": 0,
                "threads": 256,
                "blocks": 12288,
                "bfactor": 8,
                "bsleep": 25,
                "affinity": -1
            }
        ],
        "rx": [
            {
                "index": 0,
                "threads": 32,
                "blocks": 12,
                "bfactor": 8,
                "bsleep": 25,
                "affinity": -1,
                "dataset_host": false
            }
        ],
        "cn/0": false,
        "cn-lite/0": false
    },
    "donate-level": 1,
    "donate-over-proxy": 1,
    "log-file": null,
    "pools": [
        {
            "algo": null,
            "coin": "monero",
            "url": "xmr.f2pool.com:13531:13531",
            "user": "43iDSFJQvCoVm5xXkBZvJb9Q49bjChBaVG7g4R49m7g5KibqxhVoxEDGt3ASsXLGZVCCoEe49bgUX8xYYYfXkq95KTQVoRf",
            "pass": "x",
            "rig-id": null,
            "nicehash": false,
            "keepalive": true,
            "enabled": true,
            "tls": false,
            "tls-fingerprint": null,
            "daemon": false,
            "socks5": null,
            "self-select": null
        }
    ],
    "print-time": 60,
    "health-print-time": 60,
    "retries": 5,
    "retry-pause": 5,
    "syslog": false,
    "tls": {
        "enabled": false,
        "protocols": null,
        "cert": null,
        "cert_key": null,
        "ciphers": null,
        "ciphersuites": null,
        "dhparam": null
    },
    "user-agent": null,
    "verbose": 0,
    "watch": true
}

Driver is NIVIDA Studio Driver v451.77

what can I do?

PermissionDenied7335 commented 4 years ago

I've found the same problem with my GeForce MX150 and CUDA 11.0 BTW, the speed of my Intel i5-8250U is only 600-800H/s in total (70-90H/s each core). Is it normal?

PermissionDenied7335 commented 4 years ago

When I was compiling xmrig-nvidia, I got the following error:

Building NVCC (Device) object CMakeFiles/xmrig-cuda.dir/src/nvidia/Release/xmrig-cuda_generated_cuda_core.cu.obj nvcc fatal : Unsupported gpu architecture 'compute_30' CMake Error at xmrig-cuda_generated_cuda_core.cu.obj.Release.cmake:220 (message): Error generating C:/Users/grade/xmrig-nvidia/build/CMakeFiles/xmrig-cuda.dir/src/nvidia/Release/xmrig-cuda_generated_cuda_core.cu.obj

Maybe it has something to do with the problems we have now.