Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 496. (Read 5806088 times)

legendary
Activity: 1795
Merit: 1208
This is not OK.
Hello ckolivas,

any chance to add native support for Stratum mining protocol?

http://mining.bitcoin.cz/stratum-mining

There're already two pools supporting it (me and BtcGuild) and I expect that others will join us soon. I have also support from Python miners developers (poclbm and Guiminer) so we will add native support to their code. Unfortunately I'm not a C++ programmer, so I can give you only some consultations about the protocol itself but I cannot provide you any code.

The major improvement in all this stuff is that miner can produce unique coinbases locally, so creating block headers is done locally, without asking the server. Also the network layer is improved significantly, so you need only up to 10kB/minute of bandwidth even for 18ExaHash/s (10**18) rigs.

Basically you can just bundle mining proxy (pure python) which I provide together with cgminer and run it on the demand, but it is quite ugly solution and native support would be much better.

Let me know what you think about it!

And while you're at it, change the mining API to event-driven Smiley
legendary
Activity: 1386
Merit: 1097
Hello ckolivas,

any chance to add native support for Stratum mining protocol?

http://mining.bitcoin.cz/stratum-mining

There're already two pools supporting it (me and BtcGuild) and I expect that others will join us soon. I have also support from Python miners developers (poclbm and Guiminer) so we will add native support to their code. Unfortunately I'm not a C++ programmer, so I can give you only some consultations about the protocol itself but I cannot provide you any code.

The major improvement in all this stuff is that miner can produce unique coinbases locally, so creating block headers is done locally, without asking the server. Also the network layer is improved significantly, so you need only up to 10kB/minute of bandwidth even for 18ExaHash/s (10**18) rigs.

Basically you can just bundle mining proxy (pure python) which I provide together with cgminer and run it on the demand, but it is quite ugly solution and native support would be much better.

Let me know what you think about it!
sr. member
Activity: 369
Merit: 250
how often does it check if the main pool is back up?

Is there an option?
legendary
Activity: 1484
Merit: 1005
A bug exists for scrypt mining algorithm in which thread concurrencies of above 8192 (required to get better performance on 79xx cards) fail, preventing the GPU from using most of its memory.  This results in a -25% performance hit for 79xx cards mining the scrypt algorithm.
legendary
Activity: 2716
Merit: 1240
I tried an older version of libusb but having the same trouble..

also there is no libudev for mac os x (at least in the macports repositories..):

sudo port search libudev
No match for libudev found

I'll try to google it this evening, maybe there is something special with the mac port of libusb..

Everything works fine btw if i do not use "--enable-ztex"... ztex uses libusb exclusively it seems
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
hey kano,

I'm talking about mac os x Smiley
... and I'm showing you the version numbers on linux.

OSX is VERY similar to linux.
If you ssh into an OSX box it's almost the same.
(and a lot of the software running the non-gui side of OSX comes from linux)
OSX is just unix with a window manager to make it look like an old mac ...

The libusb version number may be the issue.
As you can see, on linux it's 0.1.12 ... not 1.x

Also, you are missing libudev-dev
legendary
Activity: 2716
Merit: 1240
hey kano,

I'm talking about mac os x Smiley
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
libudev-dev ... ?

and ... fyi
Code:
root@erio:~# apt-cache policy libudev-dev libusb-dev
libusb-dev:
  Installed: 2:0.1.12-17
  Candidate: 2:0.1.12-17
  Version table:
 *** 2:0.1.12-17 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
        100 /var/lib/dpkg/status
libudev-dev:
  Installed: 167-0ubuntu3
  Candidate: 167-0ubuntu3
  Version table:
 *** 167-0ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
        100 /var/lib/dpkg/status
root@erio:~#
legendary
Activity: 2716
Merit: 1240
CGMiner 2.7.5 fails to build under mac osx 10.8 with installed macports if I run ./configure with --enable-ztex
because of libusb, even though it is installed:


checking libudev.h usability... no
checking libudev.h presence... no
checking for libudev.h... no
checking for libusb_init in -lusb-1.0... no
configure: error: Could not find usb library - please install libusb


#port list libusb
libusb                         @1.0.9          devel/libusb


It builds fine without --enable-ztex though..

Any thoughts ?
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
...
If you use miner.php ... and give it access to the restart button ... then just press restart.
My address is in my sig Cheesy

it sounds so simple...but...they said that about getting a CM1 board stable as well.

I will DL from GITHUB tonight and have a go at getting it running...if all goes well...a fee for service will becoming your way  Smiley
I wrote miner.php (and the API and API-README)
The file API-README includes a lot of details at the end about how to use miner.php
Those 2 files are in every release of cgminer.
Of course the latest 2 on GIT would, however, be best if you don't have the latest cgminer.

Edit: if you have trouble setting it up, come visit FreeNode IRC #cgminer
ckolivas and I are also in Aus (like you) so similar timezone also
(though ckolivas is absent at the moment as he mentioned already)
hero member
Activity: 810
Merit: 1000
CGMINER recommendation / request....Not sure were the correct place is so I will just chuck the idea out there.

Is it possible to set a "rescan" function within cgminer? e.g. set the miner rescan ports every 30min in an effort to restart mining hardware that has gone offline..

Typical scenario.
As someone with a day job, I am AFK at least 10 hours per day. I watch my mining rates via my pool and sigh when I note a miner has dropped off (CM1 not GPUs typically). I then call my wife, hoping she is home, so she can reset the mining operations by closing cgminer and firing it up again. BUT, if we had a rescan / restart "OFF" mining hardware, then a lot of heart ache could be avoided.


I am prepared to chuck some coins towards someone whom can do this or point out that function if it already exists.

If you use miner.php ... and give it access to the restart button ... then just press restart.
My address is in my sig Cheesy

it sounds so simple...but...they said that about getting a CM1 board stable as well.

I will DL from GITHUB tonight and have a go at getting it running...if all goes well...a fee for service will becoming your way  Smiley
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
CGMINER recommendation / request....Not sure were the correct place is so I will just chuck the idea out there.

Is it possible to set a "rescan" function within cgminer? e.g. set the miner rescan ports every 30min in an effort to restart mining hardware that has gone offline..

Typical scenario.
As someone with a day job, I am AFK at least 10 hours per day. I watch my mining rates via my pool and sigh when I note a miner has dropped off (CM1 not GPUs typically). I then call my wife, hoping she is home, so she can reset the mining operations by closing cgminer and firing it up again. BUT, if we had a rescan / restart "OFF" mining hardware, then a lot of heart ache could be avoided.


I am prepared to chuck some coins towards someone whom can do this or point out that function if it already exists.

If you use miner.php ... and give it access to the restart button ... then just press restart.
My address is in my sig Cheesy
hero member
Activity: 810
Merit: 1000
CGMINER recommendation / request....Not sure were the correct place is so I will just chuck the idea out there.

Is it possible to set a "rescan" function within cgminer? e.g. set the miner rescan ports every 30min in an effort to restart mining hardware that has gone offline..

Typical scenario.
As someone with a day job, I am AFK at least 10 hours per day. I watch my mining rates via my pool and sigh when I note a miner has dropped off (CM1 not GPUs typically). I then call my wife, hoping she is home, so she can reset the mining operations by closing cgminer and firing it up again. BUT, if we had a rescan / restart "OFF" mining hardware, then a lot of heart ache could be avoided.


I am prepared to chuck some coins towards someone whom can do this or point out that function if it already exists.
legendary
Activity: 3586
Merit: 1099
Think for yourself
I have been getting app crash's the last few days.  I'm pretty sure it is only when I'm running balance that it crash's.  Anyone else have that trouble?

My 5830 is running just fine and then I get the app crash and there are a bunch of hardware errors.  I have run this for weeks at a time before without getting any HW Errors.

CGMiner 2.7.5
Win 7 32 bit

Thanks,
Sam
legendary
Activity: 2576
Merit: 1186
Hello everyone, I am using ckolivas's cg miner with an nvidia geforce gt520 and I don't believe I am getting the MH/s rates I shouls be getting as I am currently getting 10.4 - 14.3 MH/s which is pretty much the same speeds I get from my laptop cpu (intel t4400). My current command line is:

"cgminer.exe -o http://mint.bitminter.com:8332 -u c4n10 -p password --gpu-engine 800 --auto-fan --gpu-memclock 800 --gpu-vddc 0.900 --intensity 9"

Can someone please point me in the right direction? Thanks!
Sounds about right. nvidia is garbage
legendary
Activity: 3586
Merit: 1099
Think for yourself
Hello everyone, I am using ckolivas's cg miner with an nvidia geforce gt520 and I don't believe I am getting the MH/s rates I shouls be getting as I am currently getting 10.4 - 14.3 MH/s which is pretty much the same speeds I get from my laptop cpu (intel t4400). My current command line is:

"cgminer.exe -o http://mint.bitminter.com:8332 -u c4n10 -p password --gpu-engine 800 --auto-fan --gpu-memclock 800 --gpu-vddc 0.900 --intensity 9"

Can someone please point me in the right direction? Thanks!

The right direction is to get an AMD GPU if you want to GPU mine.  Nvidia GPU's aren't good for Bitcoin mining.
Sam

Edit: To answer your question a bit better check the mining hardware comparison.  There is one GT520 listed and it gets 8.9Mhs, so you are doing better than others who have tried that GPU.

https://en.bitcoin.it/wiki/Mining_hardware_comparison

That is pretty sad... So my brand new desktop gpu stands no chance of out-performing my 2 year old laptop cpu...?

Doesn't look like it.  Like I said if you want to GPU mine get an AMD/ATI GPU.  If you have a spare PCIe slot you can add one and mine on it while you still use your Nvidia card for gaming and whatever else you do at the same time.

Or look at the top of that Hardware Comparison chart link to see what FPGA options are available.  They will use much less power.

At 10 Mhs it will take a long time to get anywhere.
Sam
sr. member
Activity: 294
Merit: 250
Hello everyone, I am using ckolivas's cg miner with an nvidia geforce gt520 and I don't believe I am getting the MH/s rates I shouls be getting as I am currently getting 10.4 - 14.3 MH/s which is pretty much the same speeds I get from my laptop cpu (intel t4400). My current command line is:

"cgminer.exe -o http://mint.bitminter.com:8332 -u c4n10 -p password --gpu-engine 800 --auto-fan --gpu-memclock 800 --gpu-vddc 0.900 --intensity 9"

Can someone please point me in the right direction? Thanks!

The right direction is to get an AMD GPU if you want to GPU mine.  Nvidia GPU's aren't good for Bitcoin mining.
Sam

Edit: To answer your question a bit better check the mining hardware comparison.  There is one GT520 listed and it gets 8.9Mhs, so you are doing better than others who have tried that GPU.

https://en.bitcoin.it/wiki/Mining_hardware_comparison

That is pretty sad... So my brand new desktop gpu stands no chance of out-performing my 2 year old laptop cpu...?
legendary
Activity: 1428
Merit: 1001
Okey Dokey Lokey
Has anyone else noticed a higher amount of stale/rejected shares with the newer versions of cgminer?

with 2.7.4 i get Huge 'efficency' but instead of <1% stales im turning in 4-5%!!!

Is this my pool and me not connecting to it fast enough for somereason (like low intensity?) Or is it the Non 2.6.6 version to blame?
legendary
Activity: 3586
Merit: 1099
Think for yourself
Hello everyone, I am using ckolivas's cg miner with an nvidia geforce gt520 and I don't believe I am getting the MH/s rates I shouls be getting as I am currently getting 10.4 - 14.3 MH/s which is pretty much the same speeds I get from my laptop cpu (intel t4400). My current command line is:

"cgminer.exe -o http://mint.bitminter.com:8332 -u c4n10 -p password --gpu-engine 800 --auto-fan --gpu-memclock 800 --gpu-vddc 0.900 --intensity 9"

Can someone please point me in the right direction? Thanks!

The right direction is to get an AMD GPU if you want to GPU mine.  Nvidia GPU's aren't good for Bitcoin mining.
Sam

Edit: To answer your question a bit better check the mining hardware comparison.  There is one GT520 listed and it gets 8.9Mhs, so you are doing better than others who have tried that GPU.

https://en.bitcoin.it/wiki/Mining_hardware_comparison
sr. member
Activity: 294
Merit: 250
Hello everyone, I am using ckolivas's cg miner with an nvidia geforce gt520 and I don't believe I am getting the MH/s rates I shouls be getting as I am currently getting 10.4 - 14.3 MH/s which is pretty much the same speeds I get from my laptop cpu (intel t4400). My current command line is:

"cgminer.exe -o http://mint.bitminter.com:8332 -u c4n10 -p password --gpu-engine 800 --auto-fan --gpu-memclock 800 --gpu-vddc 0.900 --intensity 9"

Can someone please point me in the right direction? Thanks!
Jump to: