Bitcoin Forum
April 19, 2024, 07:03:49 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 [506] 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5805205 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic. (3 posts by 1+ user deleted.)
kendog77
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500


View Profile
May 15, 2013, 10:37:03 PM
 #10101

How optimized is the mining engine in cgminer? Considering a USB ASICs device can get 300-400 MH/s mining, I can't help but think we should be able to get more performance out of a 7900 series GPU.

I'm a Software Engineer by trade, so I wouldn't mind dabbling around in cgminer development to try to improve GPU mining performance if I thought there was a decent chance of it bearing fruit.

Have very smart folks already spent many hours optimizing the heck out of this code, or is there still room from improvement?
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713510229
Hero Member
*
Offline Offline

Posts: 1713510229

View Profile Personal Message (Offline)

Ignore
1713510229
Reply with quote  #2

1713510229
Report to moderator
1713510229
Hero Member
*
Offline Offline

Posts: 1713510229

View Profile Personal Message (Offline)

Ignore
1713510229
Reply with quote  #2

1713510229
Report to moderator
1713510229
Hero Member
*
Offline Offline

Posts: 1713510229

View Profile Personal Message (Offline)

Ignore
1713510229
Reply with quote  #2

1713510229
Report to moderator
os2sam
Legendary
*
Offline Offline

Activity: 3578
Merit: 1090


Think for yourself


View Profile
May 15, 2013, 11:01:58 PM
 #10102


 [2013-05-15 22:53:04] Started cgminer 3.1.1
 [2013-05-15 22:53:05] ADL found less devices than opencl!
 [2013-05-15 22:53:05] There is possibly more than one display attached to a GPU
 [2013-05-15 22:53:05] Use the gpu map feature to reliably map OpenCL to ADL
 [2013-05-15 22:53:05] WARNING: Number of OpenCL and ADL devices did not match!
 [2013-05-15 22:53:05] Hardware monitoring may NOT match up with devices!
 

Check this thread and see if its the same or similar problem.

https://bitcointalk.org/index.php?topic=178241.msg1857068#msg1857068

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
May 16, 2013, 12:08:50 AM
 #10103

...
The only thing I want to keep is Linux, I really don't want to switch to windows on these boxes if I can avoid it. What kind of Linux, I don't really care as long as I get the temperature, fanspeed and gpu settings to work.

If there is any more data I can deliver, please let me know.
ADL requires correct X access.
Here's something to try see if X access is correct:
DISPLAY=:0 xlsfonts
(of course you need xlsfonts installed - use some other X program if you don't - xlsfonts doesn't open a window - just reports information)

Maybe gpu map is your solution (as it says to use)

Otherwise ... at a guess ... ADL version?

Edit: oh forgot, also on the 2 rig machine, you need to have done (in case you missed it) sudo aticonfig --adapter=all -f --initial as per GPU-README

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
May 16, 2013, 12:40:47 AM
Last edit: May 16, 2013, 12:57:00 AM by kano
 #10104

How optimized is the mining engine in cgminer? Considering a USB ASICs device can get 300-400 MH/s mining, I can't help but think we should be able to get more performance out of a 7900 series GPU.

I'm a Software Engineer by trade, so I wouldn't mind dabbling around in cgminer development to try to improve GPU mining performance if I thought there was a decent chance of it bearing fruit.

Have very smart folks already spent many hours optimizing the heck out of this code, or is there still room from improvement?
Smiley

Check the names, one of them may give you a hint to the answer ...

Edit: and I should mention ... optimising code doesn't help if the code you are optimising doesn't affect performance.
Something I've seen over the many years I've worked on software, is most people don't understanding what needs optimisation.
First and foremost, in cgminer it is only the code that the devices will be waiting on and secondly performance monitoring is mandatory before optimisation - most people optimise code that doesn't affect performance in even a marginal way.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
twmz
Hero Member
*****
Offline Offline

Activity: 737
Merit: 500



View Profile
May 16, 2013, 01:25:45 AM
 #10105

Have very smart folks already spent many hours optimizing the heck out of this code, or is there still room from improvement?

Very smart folks already spent many months optimizing the heck out of this code.  I doubt there is much room from improvement in the GPU mining kernels.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
ChristianRiesen
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
May 16, 2013, 10:20:03 AM
 #10106


 [2013-05-15 22:53:04] Started cgminer 3.1.1
 [2013-05-15 22:53:05] ADL found less devices than opencl!
 [2013-05-15 22:53:05] There is possibly more than one display attached to a GPU
 [2013-05-15 22:53:05] Use the gpu map feature to reliably map OpenCL to ADL
 [2013-05-15 22:53:05] WARNING: Number of OpenCL and ADL devices did not match!
 [2013-05-15 22:53:05] Hardware monitoring may NOT match up with devices!
 

Check this thread and see if its the same or similar problem.

https://bitcointalk.org/index.php?topic=178241.msg1857068#msg1857068

Thank you for the link. I came across this before but it isn't the problem. I tried it with real screens attached (and powered on) and that didn't change anything. The issue is not getting a nagging message, it's ADL not working with that "Failed to ADL_Adapter_ID_Get. Error -1" message.

...
The only thing I want to keep is Linux, I really don't want to switch to windows on these boxes if I can avoid it. What kind of Linux, I don't really care as long as I get the temperature, fanspeed and gpu settings to work.

If there is any more data I can deliver, please let me know.
ADL requires correct X access.
Here's something to try see if X access is correct:
DISPLAY=:0 xlsfonts
(of course you need xlsfonts installed - use some other X program if you don't - xlsfonts doesn't open a window - just reports information)

Maybe gpu map is your solution (as it says to use)

Otherwise ... at a guess ... ADL version?

Edit: oh forgot, also on the 2 rig machine, you need to have done (in case you missed it) sudo aticonfig --adapter=all -f --initial as per GPU-README

Thank you Kano.

DISPLAY=:0 xlsfonts did not work at first as the package was missing as you said. "aptitude install x11-utils" took care of that. Now the result is this:

# DISPLAY=:0 xlsfonts
xlsfonts:  unable to open display ':0'

So there seems to be something not working right here. Any ideas on how to fix this?

I'm certain I did sudo aticonfig --adapter=all -f --initial (tried with one card, then the second) after each install, but just to be sure I did it again and rebooted the machine, with the same results still.
ChristianRiesen
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
May 16, 2013, 10:35:12 AM
 #10107

Thanks guys, your posts have helped me along to the right path. Although I was sure that X was correctly installed and running, it was not. Doing this first, then starting cgminer fixed it all up:
Code:
aptitude install xserver-xorg
X &

Thank you very much. I was starting to loose my mind over this Smiley
AxelMi
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
May 16, 2013, 12:11:41 PM
 #10108

i am mining with cgminer 3.1.0 with an stratum mining pool.
i often get this error: Accepted untracked stratum share from pool 0
What does this mean ?
Can somebody explain the reason for that ?

-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1630


Ruu \o/


View Profile WWW
May 16, 2013, 12:20:10 PM
 #10109

i am mining with cgminer 3.1.0 with an stratum mining pool.
i often get this error: Accepted untracked stratum share from pool 0
What does this mean ?
Can somebody explain the reason for that ?


A perfectly valid question.

When cgminer sends shares via stratum, it does not send the share and then wait for the response as this might slow down the sending of other shares. This means that the response back from the pool is processed separately from the share submission (to make the most of a truly multithreaded environment). However there is never a guarantee that the responses come back in the same order you send them. So cgminer stores a copy of each share as it sends it to the server in its own local database of submitted shares. When it gets a response back about that share from the pool, it deletes the copy of that share. Now stratum is meant to be an uninterrupted connection to the pool, and if you lose that connection, it is assumed that your "session" is no longer valid. So if you send some shares and get disconnected before you get a response, cgminer has to assume that those shares have been lost - otherwise it may end up keeping copies of heaps of shares that it will never get a response to and wastes memory. If you manage to reconnect, sometimes the pool will actually tell you "oh by the way those shares are ok" - however cgminer has now thrown out the record of what those shares were and can only say that the pool said a share was accepted or rejected. Then cgminer just says it's an "untracked share".

Summary: Find a pool/network setup that gives you a more reliable connection.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
karnac
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile WWW
May 16, 2013, 02:32:31 PM
 #10110

i am mining with cgminer 3.1.0 with an stratum mining pool.
i often get this error: Accepted untracked stratum share from pool 0
What does this mean ?
Can somebody explain the reason for that ?
You might also try using the IP of your pool instead of its domain name. just ping it to find out.
toinodascoives
Newbie
*
Offline Offline

Activity: 52
Merit: 0



View Profile
May 16, 2013, 04:21:54 PM
 #10111

I recently moved to cgminer and i noticed that hash rate drop when screen power its turn off, is there a way to avoid that?

Shouldnt be the opposite as GPU no longer need to refresh the screen?


Most likely its some software config or any linux/windows configuration that i'm falling. Sry if its double post i tryed to search and found noothing related with this issue.

Tks in advance for the reply

SkyNet
Member
**
Offline Offline

Activity: 80
Merit: 10



View Profile
May 16, 2013, 06:21:44 PM
 #10112

I recently moved to cgminer and i noticed that hash rate drop when screen power its turn off, is there a way to avoid that?

Shouldnt be the opposite as GPU no longer need to refresh the screen?


Most likely its some software config or any linux/windows configuration that i'm falling. Sry if its double post i tryed to search and found noothing related with this issue.

Tks in advance for the reply



Looks like the GPU is idling for some peculiar reason.
Did you try dummy vga plugs?

Tips: 1JmQ78JprWePM3EapnacPFfAtTrob8ofmU
klotzenhotz
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
May 16, 2013, 06:25:29 PM
 #10113

Short question: Is it possible to mine with several different fpgas at the same time? For instance a ztex board plus a few of these: https://bitcointalk.org/index.php?topic=195004.msg2025318#msg2025318

Works that "out of the box" (start cgminer and that's it) or would that be somehow tricky?
toinodascoives
Newbie
*
Offline Offline

Activity: 52
Merit: 0



View Profile
May 16, 2013, 07:17:02 PM
 #10114

I recently moved to cgminer and i noticed that hash rate drop when screen power its turn off, is there a way to avoid that?

Shouldnt be the opposite as GPU no longer need to refresh the screen?


Most likely its some software config or any linux/windows configuration that i'm falling. Sry if its double post i tryed to search and found noothing related with this issue.

Tks in advance for the reply



Looks like the GPU is idling for some peculiar reason.
Did you try dummy vga plugs?

Tks for the tip, i haven't tryed that but looks easy and i got the resistances, but it will make a little energy drop there.

Im still wondering if there is some solution on software conf. that dont allow the GPU (ATI) to idle and drop near half of the hash power.

Tks for the sugestions /help
juhakall
Sr. Member
****
Offline Offline

Activity: 657
Merit: 250


View Profile WWW
May 16, 2013, 09:34:40 PM
 #10115

I recently moved to cgminer and i noticed that hash rate drop when screen power its turn off, is there a way to avoid that?

Shouldnt be the opposite as GPU no longer need to refresh the screen?


Most likely its some software config or any linux/windows configuration that i'm falling. Sry if its double post i tryed to search and found noothing related with this issue.

Tks in advance for the reply



Looks like the GPU is idling for some peculiar reason.
Did you try dummy vga plugs?

Tks for the tip, i haven't tryed that but looks easy and i got the resistances, but it will make a little energy drop there.

Im still wondering if there is some solution on software conf. that dont allow the GPU (ATI) to idle and drop near half of the hash power.

Tks for the sugestions /help

If you are using cards that support ULPS, disable it. Latest MSI Afterburner has a convenient checkbox for doing so. That's exactly what happens when the display is powered off on an ULPS-enabled card.

Also, with a 2x7970 Crossfire setup, I had to disable monitor power saving totally, just disabling ULPS didn't help there.

I'm currently developing an experimental social AI platform
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
May 16, 2013, 11:30:41 PM
 #10116

Short question: Is it possible to mine with several different fpgas at the same time? For instance a ztex board plus a few of these: https://bitcointalk.org/index.php?topic=195004.msg2025318#msg2025318

Works that "out of the box" (start cgminer and that's it) or would that be somehow tricky?
Yes - I do already.
 https://bitcointalk.org/index.php?topic=99497.msg2129102#msg2129102
and
 https://bitcointalk.org/index.php?topic=99497.msg2137231#msg2137231

However at the moment it also requires options of --icarus-options 115200:1:1 --icarus-timing 2.9761=100

I'm now updating the code to automatically detect all Icarus devices (the AMU - AsicminerUSB is an Icarus device) and it will have similar to those options by default for the AMU and default options for Lancelot and Cairnsmore1 also

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
toinodascoives
Newbie
*
Offline Offline

Activity: 52
Merit: 0



View Profile
May 17, 2013, 12:19:34 PM
 #10117

I recently moved to cgminer and i noticed that hash rate drop when screen power its turn off, is there a way to avoid that?

Shouldnt be the opposite as GPU no longer need to refresh the screen?


Most likely its some software config or any linux/windows configuration that i'm falling. Sry if its double post i tryed to search and found noothing related with this issue.

Tks in advance for the reply



Looks like the GPU is idling for some peculiar reason.
Did you try dummy vga plugs?

Tks for the tip, i haven't tryed that but looks easy and i got the resistances, but it will make a little energy drop there.

Im still wondering if there is some solution on software conf. that dont allow the GPU (ATI) to idle and drop near half of the hash power.

Tks for the sugestions /help

If you are using cards that support ULPS, disable it. Latest MSI Afterburner has a convenient checkbox for doing so. That's exactly what happens when the display is powered off on an ULPS-enabled card.

Also, with a 2x7970 Crossfire setup, I had to disable monitor power saving totally, just disabling ULPS didn't help there.

Tks for the reply, it is a very good tip for those who use several GPUs, i would be happy if it was my case but unfortunately i only use one. I tryed it just in case anyway but it didnt maked any change.

I will try look into Power saving configs. when the screen its turned off to see if there is smth i can change, meanwhile if someone got any idea or know what can be causing the problem it would be welcome some tips Smiley
Economics
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile
May 17, 2013, 02:47:35 PM
 #10118

Let me know if this is unsupported, but I think I found a bug (or my misunderstanding of the capabilities) in cgminer.  I'm running cgminer on BAMT with a GPU mining bitcoins and everything works just fine 24/7. 

I wanted to check out some FreiCoin (sha256d), so I added a second pool to my list of pools in cgminer.conf and then set rotate to 5 minutes.  My expectation is that every five minutes I would alternate between mining BitCoins and FreiCoins.  Everything seemed to work the first day, but the second day the BitCoin pool had some connection problems (stratum connection interrupted) and it kept switching between the pools.  Unfortunately it seemed that it would submit BitCoin work to the FreiCoin pool and vice-versa.  I got quite a few strange errors, including 'H not zero' replies from the pools.  Sorry, I don't have a good log right now.

Is this supposed to work?  Is there a better way to achieve this goal of mining two types of coins on the same hardware?

-E

P.S.  Thanks for the great software.
-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1630


Ruu \o/


View Profile WWW
May 17, 2013, 02:50:16 PM
 #10119

Let me know if this is unsupported, but I think I found a bug (or my misunderstanding of the capabilities) in cgminer.  I'm running cgminer on BAMT with a GPU mining bitcoins and everything works just fine 24/7. 

I wanted to check out some FreiCoin (sha256d), so I added a second pool to my list of pools in cgminer.conf and then set rotate to 5 minutes.  My expectation is that every five minutes I would alternate between mining BitCoins and FreiCoins.  Everything seemed to work the first day, but the second day the BitCoin pool had some connection problems (stratum connection interrupted) and it kept switching between the pools.  Unfortunately it seemed that it would submit BitCoin work to the FreiCoin pool and vice-versa.  I got quite a few strange errors, including 'H not zero' replies from the pools.  Sorry, I don't have a good log right now.

Is this supposed to work?  Is there a better way to achieve this goal of mining two types of coins on the same hardware?

-E

P.S.  Thanks for the great software.
Third line of readme...

You're welcome.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
juhakall
Sr. Member
****
Offline Offline

Activity: 657
Merit: 250


View Profile WWW
May 18, 2013, 01:20:41 AM
 #10120

Let me know if this is unsupported, but I think I found a bug (or my misunderstanding of the capabilities) in cgminer.  I'm running cgminer on BAMT with a GPU mining bitcoins and everything works just fine 24/7. 

I wanted to check out some FreiCoin (sha256d), so I added a second pool to my list of pools in cgminer.conf and then set rotate to 5 minutes.  My expectation is that every five minutes I would alternate between mining BitCoins and FreiCoins.  Everything seemed to work the first day, but the second day the BitCoin pool had some connection problems (stratum connection interrupted) and it kept switching between the pools.  Unfortunately it seemed that it would submit BitCoin work to the FreiCoin pool and vice-versa.  I got quite a few strange errors, including 'H not zero' replies from the pools.  Sorry, I don't have a good log right now.

Is this supposed to work?  Is there a better way to achieve this goal of mining two types of coins on the same hardware?

-E

P.S.  Thanks for the great software.

Run a separate instance of cgminer for each coin, and make a script that uses the API to enable GPUs on some instance, and disable them on all the others.

I'm currently developing an experimental social AI platform
Pages: « 1 ... 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 [506] 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 ... 843 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!