It is no more possible to mine Ethereum using 3GB graphic card

I mistakenly believed that 3GB of video memory is enough for mining, while EthDcrMiner64.exe does not work with 3GB and reports the following errors:

Setting DAG epoch #180 for GPU0
Create GPU buffer for GPU0
ETH: 04/08/18-06:19:23 – New job from eth-eu1.nanopool.org:9999
ETH – Total Speed: 0.000 Mh/s, Total Shares: 0, Rejected: 0, Time: 00:00
ETH: GPU0 0.000 Mh/s
CUDA error – cannot allocate big buffer for DAG. Check readme.txt for possible solutions.
ETH: 04/08/18-06:19:25 – New job from eth-eu1.nanopool.org:9999
ETH – Total Speed: 0.000 Mh/s, Total Shares: 0, Rejected: 0, Time: 00:00
ETH: GPU0 0.000 Mh/s
Setting DAG epoch #180 for GPU0
GPU 0, CUDA error 11 – cannot write buffer for DAG

as well as ethminer.exe:

cl 06:01:07|cl-0 Creating light cache buffer, size 40367168
cl 06:01:07|cl-0 Creating DAG buffer, size 2583686528
cl 06:01:07|cl-0 Loading kernels
cl 06:01:07|cl-0 Writing light cache buffer
cl 06:01:07|cl-0 Creating buffer for header.
cl 06:01:07|cl-0 Creating mining buffer
X 06:01:07|cl-0 OpenCL init failed: clEnqueueNDRangeKernel: CL_MEM_OBJECT_ALLOCATION_FAILURE (-4)
cl 06:01:07|cl-0 Switch time 5796 ms / 2920856 us
aX 06:01:07|cl-0 OpenCL Error: clEnqueueNDRangeKernel: CL_MEM_OBJECT_ALLOCATION_FAILURE (-4)

DAG buffer + light cache buffer size = (2583686528 + 40367168) / (1024 * 1024 * 1024) = 2.443 GB + initially I have 520 MB used by the operating system.

Initially my Windows 10 mining rig was configured as described here and I did the following additional steps:

  1. Disabled onboard video in BIOS by settings something like Primary Display to PCI Express.
  2. Removed onboard video card from the system and uninstalled its drives in Device Manager->Display Adapters->Inter HD Card->Uninstall Device (checked Uninstall Drivers), after that EthDcrMiner64.exe and ethminer.exe stopped crashing when they starts (in Device Manager I checked View->Show Hidden devices).
  3. Set Virtual Memory size to 16 GB having 4 GB of physical memory.

But both miners still reports the error, also I tried on a machine with 6 GB RAM, but got the same errors.

From readme file of EthDcrMiner64.exe:

For multi-GPU systems, set Virtual Memory size in Windows at least 16 GB:
“Computer Properties / Advanced System Settings / Performance / Advanced / Virtual Memory”.

If miner cannot generate DAG file, check environment variables (see Readme), check if your GPU has 3GB memory at least, and check if you have enough virtual memory (pagefile). If all this does not help, try to install more physical RAM.

Links:

  1. Cannot allocate big buffer – Not enough graphics memory?
  2. Ethereum – Cannot allocate big buffer for DAG
  3. ETH Mining with NVIDIA – cuda error – cannot allocate big buffer for dag

 

Leave a Reply

Your email address will not be published. Required fields are marked *