Diablo-D3 / DiabloMiner

OpenCL miner for Bitcoin
https://bitcointalk.org/index.php?topic=1721.0
GNU General Public License v3.0
538 stars 217 forks source link

MacPro ATI Radeon 5870 1GB Issues #51

Closed notbrain closed 11 years ago

notbrain commented 11 years ago

Saw #50 , wondering if this is also Apple's fault, just posting to be sure. I used -w 64 for the night but got an "Abort trap: 6" halt after an unknown time, with a bunch of intermittent

Spurious CL_INVALID_GLOBAL_OFFSET error, offset: XXXXXXX, work size: XXXXXXX

errors. Then I tried -w 256 and it's working but still throwing them. Sample of just running:

    [12/18/12 6:37:59 AM] Added ATI Radeon HD 5870 (#1) (20 CU, local work size of 256) 
Waiting...      [12/18/12 6:38:03 AM] mint.bitminter.com accepted block 1 from ATI Radeon HD 5870 (#1)/1 
mhash: 313.4/301.7 | accept: 1 | reject: 0 | hw error: 0 [12/18/12 6:38:19 AM] mint.bitminter.com accepted block 2 from ATI Radeon HD 5870 (#1)/1 
mhash: 314.5/307.9 | accept: 2 | reject: 0 | hw error: 0 [12/18/12 6:38:23 AM] mint.bitminter.com accepted block 3 from ATI Radeon HD 5870 (#1)/0 
mhash: 314.5/309.9 | accept: 3 | reject: 0 | hw error: 0 [12/18/12 6:38:25 AM] ERROR: Spurious CL_INVALID_GLOBAL_OFFSET error, offset: 4289527808, work size: 6062080 
mhash: 314.9/311.3 | accept: 3 | reject: 0 | hw error: 0 [12/18/12 6:38:25 AM] ERROR: Spurious CL_INVALID_GLOBAL_OFFSET error, offset: 4293394432, work size: 6094848 
mhash: 348.3/325.5 | accept: 3 | reject: 0 | hw error: 0 [12/18/12 6:38:45 AM] mint.bitminter.com accepted block 4 from ATI Radeon HD 5870 (#1)/0 
mhash: 345.3/326.9 | accept: 4 | reject: 0 | hw error: 0 [12/18/12 6:38:50 AM] ERROR: Spurious CL_INVALID_GLOBAL_OFFSET error, offset: 4292247552, work size: 6881280 
mhash: 345.8/327.2 | accept: 4 | reject: 0 | hw error: 0 [12/18/12 6:38:50 AM] ERROR: Spurious CL_INVALID_GLOBAL_OFFSET error, offset: 4289789952, work size: 6881280 
mhash: 335.9/328.8 | accept: 4 | reject: 0 | hw error: 0 [12/18/12 6:39:01 AM] mint.bitminter.com accepted block 5 from ATI Radeon HD 5870 (#1)/0 
mhash: 337.0/329.0 | accept: 5 | reject: 0 | hw error: 0 [12/18/12 6:39:03 AM] mint.bitminter.com accepted block 6 from ATI Radeon HD 5870 (#1)/0 
mhash: 336.9/329.5 | accept: 6 | reject: 0 | hw error: 0 [12/18/12 6:39:14 AM] mint.bitminter.com accepted block 7 from ATI Radeon HD 5870 (#1)/1 
mhash: 337.1/329.6 | accept: 7 | reject: 0 | hw error: 0 [12/18/12 6:39:15 AM] ERROR: Spurious CL_INVALID_GLOBAL_OFFSET error, offset: 4292116480, work size: 7667712 
mhash: 346.3/329.8 | accept: 7 | reject: 0 | hw error: 0 [12/18/12 6:39:15 AM] ERROR: Spurious CL_INVALID_GLOBAL_OFFSET error, offset: 4291330048, work size: 7667712
Diablo-D3 commented 11 years ago

Interesting. Thats exactly what I was looking for on OSX. I'm not sure if its an OSX bug, but now that I've confirmed whats going on, I think I can fix it.

Diablo-D3 commented 11 years ago

Okay, I'm still not sure why this happens. There is zero reason for it.

<Apple> :trollface:

Diablo-D3 commented 11 years ago

Hey notbrain, try the newest DiabloMiner. I've improved the -54 test. Hopefully I can figure out why it does it.

notbrain commented 11 years ago

Thanks, I just downloaded the new script and got an immediate fail

Exception in thread "main" java.lang.NoClassDefFoundError: com/diablominer/DiabloMiner/DiabloMiner

Do I need to clear my cache or something?

Diablo-D3 commented 11 years ago

Strange, are you sure you unpacked the zip and executed ./DiabloMiner-OSX.sh correctly? That only happens to people who downloaded DM from git and forgot to build it first

Diablo-D3 commented 11 years ago

I believe this bug is fixed now.