-
Notifications
You must be signed in to change notification settings - Fork 2.3k
AMD 8Gb GPUs will not mine past 4GB DAG #1966
Comments
Yes OpenCL does not allow for bigger single memory allocations than (1/4 - 1/2) of global memory. What we need to do is allocate two/four chunks of smaller memory and put them together in the kernel. |
@MariusVanDerWijden This is a misinterpretation of the OpenCL standard on the vendor's part, actually: https://gist.github.com/roycewilliams/5ac28350023613c614034c7fb6ba715d The well-known The limit is clearly artificial, for example through the AMD ROCm platform almost 8Gb (100%) allocations work. |
Related PR from 2016: ethereum/libethereum#203 ("Fixed DAG chunking") |
Can you test #1969 please? |
@MariusVanDerWijden This gives an OpenCL compilation error, then segfaults.
|
If I replace the buggy line with
|
Are you using the binary kernel? Binary kernels don't work with the fix |
Just built the miner from source and I'm using whatever is the default. How do I make sure it uses the right kernel? |
Ah damn I tested it with cuda set as default... I'll fix it tomorrow edit. I'll fixed the problem now, however it produces no valid shares :D |
>4GB allocations should be controlled by Not sure if you couldn't also need an updated driver. |
In latest release RaveOS - fix it. OpenCL can allocate more 4GB VRAM |
Do tell what driver you're using. Because every version of amdgpu-pro I try, clinfo says max memory allocation = 3.95GB |
i successfully run a 4gb benchmark using Claymore V15.0 on a 7x Gigabyte RX580 rig... i used the official AMD RX580 Adrenaline drivers that were released on 7/14/2020 for Windows 10... using clinfo it shows that i now have 8gb memory available... now i have to wait until Claymore is updated to mine past DAG #384... |
I confirm the Radeon driver released on 7/14/2020 works perfectly for mining on more than 4gb DAG, tried on Phoenix successfully , Claymore crashes as soon as you apply the -strap parameter. |
Updating driver is the solution, but I lost 5% of speed. |
me too, added "-eres 0" into claymore string and all was good for some days. |
Same here ths morning. Another way is to upgrade drivers, but this means a loss of 5% speed. |
Same here soon as epoch 379 hit. So the only way forward is driver update? |
I realize this is closed but I thought I'd ask : I've got this exact issue. I'm seeing : Is there a version of ethminer I can grab or do I switch to another ethhash miner? Appreciate any comments. Thx. |
You can continue using ethminer if you can build the binary on your own |
Thanks for the quick reply. Yes I can do that with a bit of help from the build README. I'm building the latest master branch? Been using ethminer for over 2 yrs. I'd like to stick with it. |
For some reason, on 8Gb AMD GPUs the OpenCL max single allocation memory size (CL_DEVICE_MAX_MEM_ALLOC_SIZE) is a bit less than 4Gb.
The following variables:
...only put single malloc memory at 4Gb (at about 50%) and not more.
For 4.05 Gb DAG, mining fails. Claymore and Phoenix fail too. Is there anything we can do about this?
And this is why:
This limitation applies both to Windows and Linux.
The text was updated successfully, but these errors were encountered: