# Strange cuda error

**URL:** <https://forum.grin.mw/t/strange-cuda-error/10740>\
**Category:** Mining\
**Created:** [September 20, 2023, 4:54pm UTC](https://forum.grin.mw/t/strange-cuda-error/10740 "2023-09-20T16:54:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BF\_Anri](https://avatars.discourse-cdn.com/v4/letter/b/ecccb3/32.png) [@BF\_Anri](https://forum.grin.mw/u/BF_Anri)\
**Post date:** [September 20, 2023, 4:54pm UTC](https://forum.grin.mw/t/strange-cuda-error/10740/1 "2023-09-20T16:54:47Z")

</div>

I am getting a strange CUDA error that I can’t quite understand.

I am running a rig with 6 3090s, mining with bminer, on windows 10, using cuckatoo32. I have cuda 12.2 installed and have the latest GeForce drivers. Besides drivers and bminer it’s basically a clean install of windows.

Basically, my rig works fine with one gpu plugged in, and with two gpus plugged in. However, whenever I have more than two gpus plugged in I get a cuda error.

Specifically, I get a cude error driver ‘2’ failed to initialize environment on line 83.

Any guesses as to the cause or the solution?

---

<div class="post-metadata">

**Author:** ![Anynomous](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/anynomous/32/2928_2.png) [@Anynomous](https://forum.grin.mw/u/Anynomous)\
**Post date:** [September 21, 2023, 8:15am UTC](https://forum.grin.mw/t/strange-cuda-error/10740/2 "2023-09-21T08:15:36Z")

</div>

That is a rather specific question related to B-miner, not specifically to grin.  
It would probably be better to search on their Github page if anyone has the same issue:

> **[Issues · develsoftware/GMinerRelease](https://github.com/develsoftware/GMinerRelease/issues)**
>
> Ethash, ProgPoW, Equihash, CuckooCycle GPU Miner. Contribute to develsoftware/GMinerRelease development by creating an account on GitHub.

If not, create a new ticket. For example, this is a somewhat similar issue, perhaps you need to adjust a parameter in your arguments for the number of GPU’s?

> <https://github.com/develsoftware/GMinerRelease/issues/221>
>
> +----------------------------------------------------------------+
> | … GMiner v2.53 |
> +----------------------------------------------------------------+
> Algorithm: Ethash
> DevFee: 0.65%
> Stratum server:
> host: es.huobipool.com:1800
> user: penicilling.server00
> password: x
> Power calculator: on
> Color output: on
> Watchdog: on
> API: off
> Log to file: off
> Selected devices: GPU0 GPU1
> Intensity: 100 100
> Temperature limits: 90C 90C
> \------------------------------------------------------------------
> 21:48:45 Nvidia Driver: 460.32.03
> 21:48:45 Failed to initialize miner on GPU0: NVIDIA GeForce GTX 1080 Ti 11GB \[0000:17:00.0\]: invalid argument
> 21:48:45 Failed to initialize miner on GPU1: NVIDIA GeForce GTX 1080 Ti 11GB \[0000:65:00.0\]: invalid argument
> 21:48:45 No devices for mining
