xmrig-amd icon indicating copy to clipboard operation
xmrig-amd copied to clipboard

xmrig v6.14.0 - only sees 3G of my 4G in windows 10.

Open redwineforgaea opened this issue 2 years ago • 1 comments

So I get this message from xmrig:

  • OPENCL GPU #0 01:00.0 AMD Radeon (TM) R5 M335 (Hainan) 1070 MHz cu:5 mem:3072/3072 MB

But Windows 10 shows that I have 4G, and xmrig crashes with:

[2021-08-09 19:30:42.227]  opencl   use profile  kawpow  (1 thread) scratchpad 32 KB
|  # | GPU |  BUS ID | INTENSITY | WSIZE | MEMORY | NAME
|  0 |   0 | 01:00.0 |   1310720 |   256 |   3071 | AMD Radeon (TM) R5 M335 (Hainan)
[2021-08-09 19:30:42.287]  opencl   READY threads 1/1 (59 ms)
[2021-08-09 19:30:42.819]  opencl   KawPow program for period 626245 compiled (531ms)
[2021-08-09 19:30:43.181]  opencl   error CL_MEM_OBJECT_ALLOCATION_FAILURE when calling clCreateBuffer with buffer size 3170893824
[2021-08-09 19:30:43.182]  opencl   thread #0 failed with error CL_MEM_OBJECT_ALLOCATION_FAILURE
[2021-08-09 19:30:43.427]  opencl   KawPow program for period 626246 compiled (607ms)

So, how do I go about getting XMRIG to see the 4G that I have? I even went to boot up right away without anything else running. same issue. I have used both gcc and msvc version. is this an issue with OpenCL, ,or XMRIG? I will go research some program to read info via OpenCL. thank you.

redwineforgaea avatar Aug 09 '21 23:08 redwineforgaea

So, i found clinfo for windows, and it actually says: Max memory allocation: 3221225472 Global memory size: 3221225472 Local memory size: 32768 Max work items dimensions: 3 Max work items[0]: 1024 Max work items[1]: 1024 Max work items[2]: 1024

SO, its not xmrig, BUT something else, and yet, windows itself says. 4GB, ,(which is what was sold to me as).

4GB

redwineforgaea avatar Aug 09 '21 23:08 redwineforgaea