Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvrtcCompileProgram failed: NVRTC_ERROR_INVALID_OPTION #341

Open
wufengzc opened this issue May 2, 2022 · 2 comments
Open

nvrtcCompileProgram failed: NVRTC_ERROR_INVALID_OPTION #341

wufengzc opened this issue May 2, 2022 · 2 comments

Comments

@wufengzc
Copy link

wufengzc commented May 2, 2022

  • ABOUT XMRig-NVIDIA/2.14.5 MSVC/2017
  • LIBS libuv/1.31.0 CUDA/10.0 OpenSSL/1.1.1c microhttpd/0.9.63
  • CPU Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz x64 AES
  • GPU #0 PCI:0000:01:00 NVIDIA GeForce RTX 3060 @ 1777/7501 MHz 64x84 6x25 arch:86 SMX:28 MEM:11275/12287 MiB
  • ALGO cryptonight/r, donate=1%
  • POOL please add the amd version #1 stratum+tcp://stc.ss.poolin.one:443 variant r
  • COMMANDS hashrate, health, pause, resume
    [2022-05-02 10:35:14] use pool stc.ss.poolin.one:443 39.96.194.231
    [2022-05-02 10:35:14] new job from stc.ss.poolin.one:443 diff 8192 algo cn/r
    [2022-05-02 10:35:14] nvrtcCompileProgram failed: NVRTC_ERROR_INVALID_OPTION
    [2022-05-02 10:35:14] Program compile log: nvrtc: error: invalid value for --gpu-architecture (-arch)

[CUDA] Error gpu 0: <cryptonight_gpu_hash>:878 "device kernel image is invalid"

@wufengzc
Copy link
Author

wufengzc commented May 2, 2022

  • ABOUT XMRig-NVIDIA/2.14.5 MSVC/2017

    • LIBS libuv/1.31.0 CUDA/10.0 OpenSSL/1.1.1c microhttpd/0.9.63

    • CPU Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz x64 AES

    • GPU #0 PCI:0000:01:00 NVIDIA GeForce RTX 3060 @ 1777/7501 MHz 64x84 6x25 arch:86 SMX:28 MEM:11275/12287 MiB

    • ALGO cryptonight/r, donate=1%

  • ABOUT XMRig-NVIDIA/2.14.5 MSVC/2017
  • LIBS libuv/1.31.0 CUDA/10.0 OpenSSL/1.1.1c microhttpd/0.9.63
  • CPU Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz x64 AES
  • GPU #0 PCI:0000:01:00 NVIDIA GeForce RTX 3060 @ 1777/7501 MHz 64x84 6x25 arch:86 SMX:28 MEM:11275/12287 MiB
  • ALGO cryptonight/r, donate=1%
  • POOL please add the amd version #1 stc.ss.poolin.one:443 variant r
  • COMMANDS hashrate, health, pause, resume
    [2022-05-02 10:38:13] use pool stc.ss.poolin.one:443 39.96.193.147
    [2022-05-02 10:38:13] new job from stc.ss.poolin.one:443 diff 8192 algo cn/r
    [2022-05-02 10:38:13] nvrtcCompileProgram failed: NVRTC_ERROR_INVALID_OPTION
    [2022-05-02 10:38:13] Program compile log: nvrtc: error: invalid value for --gpu-architecture (-arch)

[CUDA] Error gpu 0: <cryptonight_gpu_hash>:878 "device kernel image is invalid"

@Spudz76
Copy link
Contributor

Spudz76 commented Jun 14, 2022

CUDA arch:86 (capability 8.6) requires CUDA 11.1 minimum. You have 10.0 somehow, maybe because the last builds were in 2019.

This project is very deprecated and only here for posterity/museum, use normal xmrig combined with the current xmrig-cuda plugin. Most likely this old project won't work correctly with cards newer than when it was abandoned in preference of the plugin.

You will have to build your own xmrig-cuda from source with -DCUDA_ARCH=86 because the release binaries do not include arch:86 and the arch:80 doesn't work (usually the base capability will work, but not for 80+86).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants