xmrig / xmrig-amd

Monero AMD (OpenCL) miner
GNU General Public License v3.0
412 stars 226 forks source link

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

Open redwineforgaea opened 2 years ago

redwineforgaea commented 2 years ago

So I get this message from xmrig:

[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 commented 2 years ago

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