Bitcoin Forum
March 19, 2024, 09:43:33 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 [77] 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5805147 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.)
kripz
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
September 19, 2011, 11:53:46 PM
 #1521

I better check that then, aticonfig i assume.

Had a good idea last night, will attempt to write a quick bashscript to tell cgminer to mine 1000 shares and then get the script to log the final output to a file and repeat with different settings.

pseudocode:

Code:
Array speedstoTest = 0,100,150,200,250,300,350

for i = 0; i < speedstoTest.length; i++
{
if(speedstoTest[i] == 0)
       // run normal cgminer no downclocks
else
       cgminer -m `speedstoTest[i]` --shares 1000 > log
}

 Merged mining, free SMS notifications, PayPal payout and much more.
http://btcstats.net/sig/JZCODg2
1710841413
Hero Member
*
Offline Offline

Posts: 1710841413

View Profile Personal Message (Offline)

Ignore
1710841413
Reply with quote  #2

1710841413
Report to moderator
1710841413
Hero Member
*
Offline Offline

Posts: 1710841413

View Profile Personal Message (Offline)

Ignore
1710841413
Reply with quote  #2

1710841413
Report to moderator
1710841413
Hero Member
*
Offline Offline

Posts: 1710841413

View Profile Personal Message (Offline)

Ignore
1710841413
Reply with quote  #2

1710841413
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
-ck (OP)
Legendary
*
Offline Offline

Activity: 4046
Merit: 1622


Ruu \o/


View Profile WWW
September 19, 2011, 11:56:08 PM
 #1522

I better check that then, aticonfig i assume.
This is why cgminer reports back the actual speeds to you after you set them on the fly in the menu, as the driver can lie, saying it set the speed fine but the card just refuses it.

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

Activity: 1762
Merit: 1010


View Profile
September 20, 2011, 12:40:33 AM
 #1523


I'd compare the differences in wattage at those different memory clock speeds. It might still net you more bitcoins to run the memory clock as low as possible, after accounting for electricity costs.

Not sure if you're interpreting the graph correctly. The point of my post is that according to the graph, if you have the mem clocks at 300 (which most miners do), it's best to run VECTORS2 with worksize of 128 or 256 (depending on the bus width of your graphics card).

Right, what I'm saying is supplemental to that -- a third factor if you will. What I'm saying is that even though you might get slightly higher hash rates at, say 300 with that worksize as a sweet spot, that depending on your electricity costs, you might benefit more from setting the memory clock as low as it will go, say to 150, even though your hash rate will drop slightly.
kripz
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
September 20, 2011, 12:41:33 AM
 #1524

Well cgminer is reporting 128mhz Cheesy

Updated above post with 12hour report, seems 128mhz has no effect on utility or hash rates. I'll have to do a proper test on my single card machine as the one below puts out too much heat and is constantly throttled.

Code:
cgminer version 2.0.3 - Started: [2011-09-19 23:58:37]
--------------------------------------------------------------------------------
 (5s):1287.1 (avg):1278.0 Mh/s | Q:6109  A:11210  R:29  HW:0  E:183%  U:17.54/m
 TQ: 8  ST: 9  SS: 0  DW: 424  NB: 58  LW: 29525  GF: 0  RF: 0  I: 8
 Connected to http://us.eclipsemc.com:8337 with LP as user kripz_miner
 Block: 000008663d81f4c02b0623cc45a8a72b...  Started: [10:07:52]
--------------------------------------------------------------------------------
 [P]ool management [G]PU management ettings [D]isplay options [Q]uit
 GPU 0: 65.0C 2969RPM | 338.6/339.0Mh/s | A:2981 R:6 HW:0 U:4.66/m
 GPU 1: 87.0C 3083RPM | 299.2/296.0Mh/s | A:2546 R:12 HW:0 U:3.98/m
 GPU 2: 72.0C 2999RPM | 340.4/340.3Mh/s | A:3067 R:9 HW:0 U:4.80/m
 GPU 3: 87.0C 3164RPM | 305.7/302.8Mh/s | A:2617 R:2 HW:0 U:4.09/m
--------------------------------------------------------------------------------

Quote
Right, what I'm saying is supplemental to that -- a third factor if you will. What I'm saying is that even though you might get slightly higher hash rates at, say 300 with that worksize as a sweet spot, that depending on your electricity costs, you might benefit more from setting the memory clock as low as it will go, say to 150, even though your hash rate will drop slightly.

I see, but it's probably more beneficial to play with volts and the core for that. I dont think memory clocks use a big amount of power.

 Merged mining, free SMS notifications, PayPal payout and much more.
http://btcstats.net/sig/JZCODg2
kripz
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
September 20, 2011, 02:32:05 AM
 #1525

But going 300 to 150 is arguably negligible. I saved 2w according to my meter. Until i get my script written when i get home i wouldn't bother with it, not worth the time imo.

 Merged mining, free SMS notifications, PayPal payout and much more.
http://btcstats.net/sig/JZCODg2
kano
Legendary
*
Offline Offline

Activity: 4438
Merit: 1794


Linux since 1997 RedHat 4


View Profile
September 20, 2011, 08:40:46 AM
 #1526

Also note that testing how long it will take using a Share count is not consistent.
On the same setup, 1000 Shares can take varying amounts of time.
A share is random, just like a block (it is a difficulty "1" block)
Utility will vary also.
Only the actual average hash rate should be somewhat consistent.

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
kripz
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
September 20, 2011, 09:54:28 AM
 #1527

Something like this then?

Code:
#!/bin/bash
cd ~/cgminer
DISPLAY=:0 ./cgminer -c p1.json -c p2.json & 2>> log
sleep 1h
killall cgminer

DISPLAY=:0 ./cgminer -c p1.json -c p2.json --gpu-memclock 300 & 2>> log
sleep 1h
killall cgminer

DISPLAY=:0 ./cgminer -c p1.json -c p2.json --gpu-memclock 250 & 2>> log
sleep 1h
killall cgminer

DISPLAY=:0 ./cgminer -c p1.json -c p2.json --gpu-memclock 200 & 2>> log
sleep 1h
killall cgminer

DISPLAY=:0 ./cgminer -c p1.json -c p2.json --gpu-memclock 150 & 2>> log
sleep 1h
killall cgminer

DISPLAY=:0 ./cgminer -c p1.json -c p2.json --gpu-memclock 100 & 2>> log
sleep 1h
killall cgminer

DISPLAY=:0 ./cgminer -c p1.json -c p2.json --gpu-memclock 50 & 2>> log
sleep 1h
killall cgminer

Though not sure what 2> will actually log. I would prefer to only capture the final summarized output.

 Merged mining, free SMS notifications, PayPal payout and much more.
http://btcstats.net/sig/JZCODg2
Sekioh
Full Member
***
Offline Offline

Activity: 181
Merit: 100



View Profile
September 20, 2011, 12:45:12 PM
 #1528

Don't know the *nix equivalent for a bash loop would be, but seems really inefficient to copy-paste the setup over and over, and even then after what 6-8hrs it'd never restart again? I'd think something like

Code:
:myloop

DISPLAY=:0 ./cgminer -c p1.json -c p2.json & 2>> log
sleep 1h
killall cgminer

goto myloop

would be wayyyy better and shorter code :]

<OPEN MONEY | Powering Blockchain Acceptance [ICO]
███████████████    ▬▬▬▬▬▬ Blockchain Meets Mainstream! ▬▬▬▬▬▬    ███████████████
Whitepaper  ●  Slack  ●  Facebook  ●  Twitter  ●  Reddit  ●  Telegram>
kripz
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
September 20, 2011, 12:52:11 PM
 #1529

I realised you dont need anything fancy just to test 5 different memory speeds, cut and paste is sufficient.

Short/long neat/messy efficient or not doesnt matter for this test, it's a once off thing.

 Merged mining, free SMS notifications, PayPal payout and much more.
http://btcstats.net/sig/JZCODg2
BadPenny
Member
**
Offline Offline

Activity: 70
Merit: 10



View Profile
September 20, 2011, 02:20:40 PM
 #1530

Stupid Question:
I have an HD6850 running by itself.  If I add a second card, say an HD6750, and fire CGMiner back up, will it detect both cards, or do I need to add something to the .bat file?  I am using Catalyst 11.8 drivers.

I owe my soul to the company store.
os2sam
Legendary
*
Offline Offline

Activity: 3577
Merit: 1090


Think for yourself


View Profile
September 20, 2011, 02:36:44 PM
 #1531

Stupid Question:
I have an HD6850 running by itself.  If I add a second card, say an HD6750, and fire CGMiner back up, will it detect both cards, or do I need to add something to the .bat file?  I am using Catalyst 11.8 drivers.

When I added my second card, a 5770, the Catalyst drivers picked it up automatically.

I had to use a dummy plug to simulate a monitor and extend the screen to use it since I was using Win7 and older Catalyst drivers.

But yes the miner saw it and started using it automatically.
Sam

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?
cablepair
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
September 20, 2011, 07:33:15 PM
 #1532

I thought for the heck of it I would have my bitcoin wallet accept connections and then set it up as solo mining and only use it as my failover. the idea is cgminer would slip it a few shares every now and then and maybe some day I would get lucky and hit the jackpot (im a gambling man)

I managed to get cgminer to connect to my bitcoin wallet but it says REJECTED for every single share in cgminer

any ideas folks?

thanks
DBordello
Sr. Member
****
Offline Offline

Activity: 349
Merit: 250


BTCPak.com - Exchange your Bitcoins for MP!


View Profile WWW
September 20, 2011, 07:48:13 PM
 #1533

When solo mining, all shares are rejected, except when you solve a block.  This is normal.

www.BTCPak.com - Exchange your bitcoins for MP: Secure, Anonymous and Easy!
cablepair
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
September 20, 2011, 08:26:10 PM
 #1534

ahh I did not know that. Thank you! Now I feel like an idiot!
nhehehe thanks again.
runeks
Legendary
*
Offline Offline

Activity: 980
Merit: 1008



View Profile WWW
September 21, 2011, 01:27:03 AM
 #1535

I can't get cgminer to work from within Linuxcoin. I get the following message when I try to run it:
Code:
user@linuxcoin:~/Desktop/cgminer-2.0.3$ cgminer --ndevs
[2011-09-21 01:20:58] Error: Getting Device IDs (num)                   
[2011-09-21 01:20:58] clDevicesNum returned error, none usable                   
0 GPU devices detected

Phoenix miner detects my GPU and can mine without problems:
Code:
[21/09/2011 01:15:20] Phoenix r116 starting...
[21/09/2011 01:15:20] Connected to server
[21/09/2011 01:15:44] Result: 12c54cbf accepted         
[21/09/2011 01:15:49] Result: bb7dccd0 accepted         
[21/09/2011 01:16:52] Result: 1f03481a accepted         
[21/09/2011 01:16:53] Result: a388f657 accepted         
[21/09/2011 01:16:53] Result: 1c510d1c accepted                 
[217.05 Mhash/sec] [20 Accepted] [0 Rejected] [RPC (+LP)]

This is what aticonfig has to say:
Code:
user@linuxcoin:~/Desktop/cgminer-2.0.3$ DISPLAY=:0 sudo aticonfig --list-adapters
* 0. 01:00.0 ATI Radeon HD 5700 Series

* - Default adapter

Any ideas on what could be wrong?
kripz
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
September 21, 2011, 02:49:04 AM
 #1536

DISPLAY=:0 cgminer --ndevs

 Merged mining, free SMS notifications, PayPal payout and much more.
http://btcstats.net/sig/JZCODg2
indolering
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
September 21, 2011, 02:56:22 AM
 #1537

I am trying to use the config file, but ran into 3 config switches which refuse to work.

All of the following auto-fan/gpu permutations fail:
Code:
"auto-fan" : "true",
Code:
"auto-fan" : "1",
Code:
"auto-fan" : "",

Trying to select for a single device is troublesome:
Code:
"device" : "1",
Results in GPU 0 and 2 being disabled.

Code:
"device" : "2",
Results in GPU 0 and 1 being disabled.

Code:
"device" : "2",
"device" : "1",
Results in GPU 0 and 1 being disabled.

Can you clarify the syntax for these commands?

Also, can you query for what the automatically detected values for vectors and worksize?
kripz
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
September 21, 2011, 03:00:50 AM
 #1538

You cannot query it inside cgminer AFAIK, ls *.bin and the bin file well indicate what it's running.

 Merged mining, free SMS notifications, PayPal payout and much more.
http://btcstats.net/sig/JZCODg2
runeks
Legendary
*
Offline Offline

Activity: 980
Merit: 1008



View Profile WWW
September 21, 2011, 09:47:05 AM
 #1539

DISPLAY=:0 cgminer --ndevs
Thanks! That did the trick.
kano
Legendary
*
Offline Offline

Activity: 4438
Merit: 1794


Linux since 1997 RedHat 4


View Profile
September 22, 2011, 03:15:46 AM
Last edit: September 22, 2011, 05:20:09 AM by kano
 #1540

Just a little aside information that some may not realise ...

The value shown after Accept/Reject in the cgminer log is the hex nonce.

If you get a block (pool or solo), then the nonce in the block will match that value exactly.
(this is firstly based on reading the code and working out where the value comes from, and secondly looking at my one and only pool block I have and seeing that it does match as expected)

This means that anyone wondering if they can tell if they got a particular block, they can with reasonable certainty by comparing the block nonce with the log nonce (and of course there should be a LONGPOLL for the block almost straight after it in the log)
Of course it isn't 100% guaranteed since the nonce value is not unique per share, but if it is roughly at the same time as the block and a LONGPOLL shows just after it - it's extremely likely to be the block.

... and another side Smiley
My latest pull request makes it show 3/8 of the actual hash rather than the nonce and also says " BLOCK!" after it if it is a valid block difficulty share
(which also may cause some distress if anyone ever actually gets a Rejected block in the log ...)
If you want that branch change before it gets into the main code it's available in my kano branch here:
https://github.com/kanoi/cgminer/tree/kano (main.c, util.c and miner.h)
N.B. that difficulty test code is my original in case anyone wonders where it came from

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
Pages: « 1 ... 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 [77] 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 ... 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!