If you have trouble mining on (older) cards that have enough memory, you may need:
export GPU_MAX_ALLOC_PERCENT=95
Some cards have enough memory for Ethereum mining, but have a default max alloc buf size smaller than what's needed. You can check this value with 'geth gpuinfo' or 'ethminer -G --opencl-device 0'
6 ·
Comments
./geth export GPU.... ?
EDIT: Ah... Environment Variables... got it.
Im trying out gpu miner, but I suspect that my card is simply too old for this, can any one make sense of this?
So in short I'm running these commands:
$ export GPU_MAX_ALLOC_PERCENT=100
$ geth gpuinfo
$ geth gpubench 0
Then I see "WARNING: DAG size (1073739904) larger than device max memory allocation size (268435456)." ... What I understand from this is that "Global mem size" of 1 GB doesn't help when "device max memory allocation size" is only 256 MB
It looks like this:
^-- This may solve the problems outlined in this thread for some older cards. You still need enough GDDR to hold the DAG file, but it gets around the allocation size limitations.
I can mine with default driver, but very low perf (I think) =5MH
ethminer --list-devices
CL_DEVICE_GLOBAL_MEM_SIZE: 2 147 483 648
CL_DEVICE_MAX_MEM_ALLOC_SIZE: 1 877 999 616 --> 1.9GB (DAG ok)
With catalyst drivers, seems like whatever option I setx (+ some reboot), it is stuck on 500MB, so I can't create DAG. I understand somehow catalyst soft hardfixe that value.
ethminer --list-devices
CL_DEVICE_GLOBAL_MEM_SIZE: 2 147 483 648
CL_DEVICE_MAX_MEM_ALLOC_SIZE: 536 870 912 -->500MB (DAG FAILS)
I tried to install latest amd drivers only without catalyst soft, but couldn't get the card detected, or just got the value hard stuck.
I will be glad to get any suggestion....
Thank you!