Pages:
Author

Topic: DiabloMiner GPU Miner - page 67. (Read 866596 times)

newbie
Activity: 14
Merit: 0
May 17, 2011, 04:15:58 AM
I'm having an issue on OSX 1.6 x64 using JRE 1.6 SDK 2.4.

Whenever I try to use -v setting besides 6, 21, or not using it at all I receive the following error:

Code:
[5/17/11 6:07:03 PM] Started
[5/17/11 6:07:03 PM] Connecting to: http://mining.bitcoin.cz:8332
Invalid memory access of location 0x111c74000 rip=0x7fff88f1b502

./DiabloMiner-OSX.sh: line 3:  9717 Segmentation fault      java -Xmx16m -cp target/libs/*:target/DiabloMiner.jar -Djava.awt.headless=true -Djava.library.path=target/libs/natives/macosx com.diablominer.DiabloMiner.DiabloMiner $@

I really have no idea what the problem is.

Also, I'm running a Radeon 5770.

If I use no -v then my khash/sec hovers at around 80~86

If I use -v 6 then my khash/sec hovers at around 10~14

If I use -v 21 then my khash/sec hovers at round 30~35


Are these figures normal?  Are they affected by anything else in the system?  Sorry if these types of questions have been addressed before, but I tried to search and it turned up nothing valuable.

Thank you very much in advance Cheesy
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
May 16, 2011, 10:35:40 PM
Make sure you have at least 11.1, and it was installed right, and you built the kernel module and its being loaded before X starts. Your 2D and 3D acceleration is dead, and OpenCL isn't going to work either. And since you'd be on 11.1 or later, make sure you're using SDK 2.4
Thanks for the tips. I have been a bit busy lately, so it might be a day or two before I get to this. Meanwhile, it's limping along CPU-mining :-/
OK, it's been a bit more than "a day or two" :-)

Recap: I have two Radeon HD 6870s running under Debian.

I ended up wiping the system and re-installing from scratch. I have 11.3 installed, with SDK 2.4. It's not crashing any more, but now I get the error "No OpenCL platforms found".

Any suggestions?

Forgot to cd /; sudo tar zxvf /path/to/AMD-APP-SDK-2.4/icd-registration.tgz?
member
Activity: 98
Merit: 20
May 16, 2011, 08:27:52 PM
Make sure you have at least 11.1, and it was installed right, and you built the kernel module and its being loaded before X starts. Your 2D and 3D acceleration is dead, and OpenCL isn't going to work either. And since you'd be on 11.1 or later, make sure you're using SDK 2.4
Thanks for the tips. I have been a bit busy lately, so it might be a day or two before I get to this. Meanwhile, it's limping along CPU-mining :-/
OK, it's been a bit more than "a day or two" :-)

Recap: I have two Radeon HD 6870s running under Debian.

I ended up wiping the system and re-installing from scratch. I have 11.3 installed, with SDK 2.4. It's not crashing any more, but now I get the error "No OpenCL platforms found".

Any suggestions?
ape
newbie
Activity: 19
Merit: 0
May 16, 2011, 12:29:19 AM
Yeah, I'm getting the cpu use bug as well with 11.5a and stream 2.1. I don't want to have any more downtime messing with it (took like an hour yesterday to try a few driver versions and the cpu use persisted).
It's not lagging my desktop, so I'm just living with it for now.
member
Activity: 112
Merit: 10
May 15, 2011, 02:23:22 PM
SDK 2.4 does't have that bug, but its quite possible Catalyst after around 11.3 still does. Someone on IRC had to go the whole way back to 10.11 + SDK 2.1 to make it stop.

Cool deal. Again, no biggie. Thanks for clearing that up.

Also, good job on the miner... I love how easy it was to setup.
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
May 15, 2011, 02:17:22 PM
Just curious, but is it normal for Java to use nearly 100% of my CPU while mining?

I know for certain my GPU is being utilized, as my hash rate is what I'd expect (85 mhash for a Radeon 5670), but my Athlon 64 3200+ is pegged the whole time as well. Is this normal?

I notice that if I use VNC to connect to my mining rig (which runs Win7) that UltraVNC and Java fight for my CPU time and my hash rate drops big time... almost like Java cannot feed the GPU data fast enough?

It's not a big deal, as my mining box is a dedicated machine, but it did strike me as odd. Thoughts?

Don't use SDK 2.2 or 2.3, thats a known bug with them.

Oh...oops... I thought I mentioned it in my post, but apparently I didn't... I am using SDK 2.4... does that change anything?

SDK 2.4 does't have that bug, but its quite possible Catalyst after around 11.3 still does. Someone on IRC had to go the whole way back to 10.11 + SDK 2.1 to make it stop.
member
Activity: 112
Merit: 10
May 15, 2011, 02:14:36 PM
Just curious, but is it normal for Java to use nearly 100% of my CPU while mining?

I know for certain my GPU is being utilized, as my hash rate is what I'd expect (85 mhash for a Radeon 5670), but my Athlon 64 3200+ is pegged the whole time as well. Is this normal?

I notice that if I use VNC to connect to my mining rig (which runs Win7) that UltraVNC and Java fight for my CPU time and my hash rate drops big time... almost like Java cannot feed the GPU data fast enough?

It's not a big deal, as my mining box is a dedicated machine, but it did strike me as odd. Thoughts?

Don't use SDK 2.2 or 2.3, thats a known bug with them.

Oh...oops... I thought I mentioned it in my post, but apparently I didn't... I am using SDK 2.4... does that change anything?
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
May 15, 2011, 02:13:15 PM
Just curious, but is it normal for Java to use nearly 100% of my CPU while mining?

I know for certain my GPU is being utilized, as my hash rate is what I'd expect (85 mhash for a Radeon 5670), but my Athlon 64 3200+ is pegged the whole time as well. Is this normal?

I notice that if I use VNC to connect to my mining rig (which runs Win7) that UltraVNC and Java fight for my CPU time and my hash rate drops big time... almost like Java cannot feed the GPU data fast enough?

It's not a big deal, as my mining box is a dedicated machine, but it did strike me as odd. Thoughts?

Don't use SDK 2.2 or 2.3, thats a known bug with them.
member
Activity: 112
Merit: 10
May 15, 2011, 10:02:02 AM
Just curious, but is it normal for Java to use nearly 100% of my CPU while mining?

I know for certain my GPU is being utilized, as my hash rate is what I'd expect (85 mhash for a Radeon 5670), but my Athlon 64 3200+ is pegged the whole time as well. Is this normal?

I notice that if I use VNC to connect to my mining rig (which runs Win7) that UltraVNC and Java fight for my CPU time and my hash rate drops big time... almost like Java cannot feed the GPU data fast enough?

It's not a big deal, as my mining box is a dedicated machine, but it did strike me as odd. Thoughts?
full member
Activity: 219
Merit: 120
May 15, 2011, 07:42:15 AM
Interesting, -v 19 seems to be faster than -v 2 on SDK 2.4. -v 2 gets me about 286, -v 19 gets me about 296 (== 280 @ 725).

So, yes, jedi95, -v can make up the difference if used right. Wink

Ah, I didn't realize you modify the kernel source at runtime to apply the vectors option. I only really looked at DiabloMiner.cl before.
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
May 15, 2011, 07:16:48 AM
Interesting, -v 19 seems to be faster than -v 2 on SDK 2.4. -v 2 gets me about 286, -v 19 gets me about 296 (== 280 @ 725).

So, yes, jedi95, -v can make up the difference if used right. Wink
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
May 15, 2011, 06:30:18 AM
Update: BFI_INT support.

I now have the fastest miner known to man.

On my Radeon 5850 @ 765 /w SDK 2.1

Phoenix DEVICE=1 VECTORS WORKSIZE=128 BFI_INT AGGRESSION=5, 7, 11, 13, with or without FASTLOOP = 273

poclbm -v -w 128 -f 60 = 292

DiabloMiner -v 2 -w 128 -f 60 = 302
I don't think so Tim.

On my Radeon 5850 @ 725 /w SDK 2.4 on Win7 x64

DiabloMiner -v 2 -w 128 -f 60 254 MHash/s
DiabloMiner -v 2 -w 128 -f 1 270 MHash/s
Phoenix 1.47 -k phatk DEVICE=0 VECTORS WORKSIZE=128 BFI_INT AGGRESSION=12 282 MHash/s

I haven't found the optimum settings for 2.4 yet. Try playing with the settings and see if you can get higher numbers. Every machine is different.

I don't think any combination of -v -w and -f is going to make up that difference in speed. The .cl itself needs to be modified to maximize ALU usage on SDK 2.4. This is what the phatk kernel does. (1418 vs 1484 ALU ops) (for reference poclbm on SDK 2.1 (Linux) is 1421 ALU ops) For me the speed difference with phatk is 409 Mhash/sec vs 394 Mhash/sec with poclbm. Assuming the same performance increase this gives (409/394) * 270 = 280 Mhash/sec

Except comparing my kernel/poclbm (nearly identical), and phatk, all I can't see much of a difference. Also, -v DOES make a speed difference. Phoenix can't do the vector mutating I do. 69xx seems to run a fair bit faster with -v 3 over -v 2 (which is identical to what Phoenix and poclbm do).
full member
Activity: 219
Merit: 120
May 15, 2011, 02:39:10 AM
Update: BFI_INT support.

I now have the fastest miner known to man.

On my Radeon 5850 @ 765 /w SDK 2.1

Phoenix DEVICE=1 VECTORS WORKSIZE=128 BFI_INT AGGRESSION=5, 7, 11, 13, with or without FASTLOOP = 273

poclbm -v -w 128 -f 60 = 292

DiabloMiner -v 2 -w 128 -f 60 = 302
I don't think so Tim.

On my Radeon 5850 @ 725 /w SDK 2.4 on Win7 x64

DiabloMiner -v 2 -w 128 -f 60 254 MHash/s
DiabloMiner -v 2 -w 128 -f 1 270 MHash/s
Phoenix 1.47 -k phatk DEVICE=0 VECTORS WORKSIZE=128 BFI_INT AGGRESSION=12 282 MHash/s

I haven't found the optimum settings for 2.4 yet. Try playing with the settings and see if you can get higher numbers. Every machine is different.

I don't think any combination of -v -w and -f is going to make up that difference in speed. The .cl itself needs to be modified to maximize ALU usage on SDK 2.4. This is what the phatk kernel does. (1418 vs 1484 ALU ops) (for reference poclbm on SDK 2.1 (Linux) is 1421 ALU ops) For me the speed difference with phatk is 409 Mhash/sec vs 394 Mhash/sec with poclbm. Assuming the same performance increase this gives (409/394) * 270 = 280 Mhash/sec
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
May 15, 2011, 02:19:08 AM
Update: BFI_INT support.

I now have the fastest miner known to man.

On my Radeon 5850 @ 765 /w SDK 2.1

Phoenix DEVICE=1 VECTORS WORKSIZE=128 BFI_INT AGGRESSION=5, 7, 11, 13, with or without FASTLOOP = 273

poclbm -v -w 128 -f 60 = 292

DiabloMiner -v 2 -w 128 -f 60 = 302
I don't think so Tim.

On my Radeon 5850 @ 725 /w SDK 2.4 on Win7 x64

DiabloMiner -v 2 -w 128 -f 60 254 MHash/s
DiabloMiner -v 2 -w 128 -f 1 270 MHash/s
Phoenix 1.47 -k phatk DEVICE=0 VECTORS WORKSIZE=128 BFI_INT AGGRESSION=12 282 MHash/s

I haven't found the optimum settings for 2.4 yet. Try playing with the settings and see if you can get higher numbers. Every machine is different.
legendary
Activity: 3878
Merit: 1193
May 14, 2011, 09:43:30 PM
Good work on the new features. I haven't yet found a set of DiabloMiner options to beat Phoenix, but it's definitely neck-and-neck now. DiabloMiner is much easy to install and configure, so that's a big bonus.

Another donation on its way to you.
member
Activity: 112
Merit: 10
May 14, 2011, 02:26:35 PM
Thank you for the miner, it works great!

I have a Radeon HD 5670 and it's overclocked to 900MHz. With the DiabloMiner on Win7 I am getting 85 Mhash/sec using -v 2 -f 2 -w 128 using the 2.4 SDK.  Cheesy
full member
Activity: 235
Merit: 100
May 14, 2011, 12:35:52 PM
Update: BFI_INT support.

I now have the fastest miner known to man.

On my Radeon 5850 @ 765 /w SDK 2.1

Phoenix DEVICE=1 VECTORS WORKSIZE=128 BFI_INT AGGRESSION=5, 7, 11, 13, with or without FASTLOOP = 273

poclbm -v -w 128 -f 60 = 292

DiabloMiner -v 2 -w 128 -f 60 = 302
I'll give it a try again then, I hope it's faster then Phoenix with phatk for me. If not you still have a bit more work to do.  Grin
newbie
Activity: 14
Merit: 0
May 14, 2011, 12:11:40 PM
Update: BFI_INT support.

I now have the fastest miner known to man.

On my Radeon 5850 @ 765 /w SDK 2.1

Phoenix DEVICE=1 VECTORS WORKSIZE=128 BFI_INT AGGRESSION=5, 7, 11, 13, with or without FASTLOOP = 273

poclbm -v -w 128 -f 60 = 292

DiabloMiner -v 2 -w 128 -f 60 = 302
I don't think so Tim.

On my Radeon 5850 @ 725 /w SDK 2.4 on Win7 x64

DiabloMiner -v 2 -w 128 -f 60 254 MHash/s
DiabloMiner -v 2 -w 128 -f 1 270 MHash/s
Phoenix 1.47 -k phatk DEVICE=0 VECTORS WORKSIZE=128 BFI_INT AGGRESSION=12 282 MHash/s
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
May 14, 2011, 11:27:42 AM
Update: BFI_INT support.

I now have the fastest miner known to man.

On my Radeon 5850 @ 765 /w SDK 2.1

Phoenix DEVICE=1 VECTORS WORKSIZE=128 BFI_INT AGGRESSION=5, 7, 11, 13, with or without FASTLOOP = 273

poclbm -v -w 128 -f 60 = 292

DiabloMiner -v 2 -w 128 -f 60 = 302
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
May 14, 2011, 08:04:36 AM
Thank you so much, I finally got it to work. My mining speed is currently about 40 Mhash/s, and as far as I know, that's not very good. Any idea how I can get a better speed? I also keep getting these "Block x found on ATI Radeon HD 5670 (#1)". I suppose that doesn't mean I've actually found a block, as I've gotten 7 of them already - the last two with a three second interval. I'm mining as a part of the Eligius pool atm, if that has anything to say. Also, my usually überfast Mac got reeeeally slow now, but I guess that's a prize I have to pay for mining Bitcoins.

EDIT: One more noob-question: How do I quit DiabloMiner? By quitting Terminal?

If you're on a pool, those are shares (aka equivalent to difficulty 1 blocks). If you're on OSX, you lose a significant amount of your GPU power. A 5670 normally would get at least 70, but OSX's OpenCL implementation is so bad, who knows.

To quit the miner, just press control-c.
Pages:
Jump to: