Bitcoin Forum
December 11, 2016, 08:32:08 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 [453] 454 455 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 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4827996 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.
OtaconEmmerich
Full Member
***
Offline Offline

Activity: 237



View Profile
March 16, 2013, 09:13:39 AM
 #9041

So I figured I'd try getting some LTC as I haven't mined them in ages and I wanted to try it on my new GPU. What are some args and Clocks that would be workable with a 7850? using --scrypt -I 13 -w 256 -g 1 --shaders 1024 right now and getting around 240Kh/s with 1000/1375 clocks. I've heard that pushing past 13 intensity is bad, is this true? If so..I think I can get 340~ Kh/s outta this card.
1481445128
Hero Member
*
Offline Offline

Posts: 1481445128

View Profile Personal Message (Offline)

Ignore
1481445128
Reply with quote  #2

1481445128
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
rav3n_pl
Legendary
*
Offline Offline

Activity: 1320


Don`t panic! Organize!


View Profile
March 16, 2013, 10:04:40 AM
 #9042

Try increasing intesity by 1 and see that errors/rejects will happen or not Smiley

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
My SatoshDice bot https://bitcointalk.org/index.php?topic=897685
Lem
Member
**
Offline Offline

Activity: 78


View Profile
March 16, 2013, 11:45:31 AM
 #9043

However -g 1 is now almost mandatory with these higher TCs.

YOU DA MAN!!!! Smiley

Excellent work!!! Smiley

--
Bye
sgravina
Sr. Member
****
Offline Offline

Activity: 442



View Profile
March 16, 2013, 03:27:00 PM
 #9044

Quote
Driver and SDK versions matter but in a different way to those for bitcoin mining. There is no reason you can't ltc mine the same on linux for 5xxx with the right driver/sdk combo. I'd recommend AMD driver 12.8 with SDK 2.7 for litecoin mining.

Thanks for the tip.  I installed driver 12.8 and SDK 2.7 and now litecoin mining works.

But it still works better in Windows.

Same hardware, cgminer 2.11.2, same cgminer parameters:

Ubuntu 11.04             Ubuntu 11.04            Windows 7
AMD 12.8                  AMD 12.8                  AMD 13.1
SDK 2.7                    SDK 2.7
Intensity 16              Intensity 13                Intensity 16
634 kHash/sec          534 kHash/sec            637 kHash/sec
3 accepted/minute    14 accepted/minute     34 accepted/minute
A lot of HW errors     A lot of HW errors        No HW errors

Should I put AMD 13.1 on linux?  Or should I put Windows 7 on my linux boxes?
OtaconEmmerich
Full Member
***
Offline Offline

Activity: 237



View Profile
March 16, 2013, 05:02:07 PM
 #9045

Well I figured it out last night, It's best to use no args with 7850 and 13 intensity, Floats around 340~ Kh/s on average and about 8-10 shares per minute. If I use higher intensities the shares per minute goes to shit. (No rejects..just slower shares being accepted) Great work ckolivas, I hope you will work on the scrypt code soon with ASIC's coming soon. I'm sure there's a way to optimize it a wee bit more.
Wolf0
Legendary
*
Offline Offline

Activity: 1400


Miner Developer


View Profile
March 16, 2013, 05:41:13 PM
 #9046

CGMiner keeps telling me "Disabling extra threads due to dynamic mode." How do I stop it from doing this?
Don't use dynamic mode. Smiley

Gee, thanks. I hadn't thought of that.  Roll Eyes

HOW?
... as it says in the README that no one reads ...
Code:
--intensity|-I <arg> Intensity of GPU scanning (d or -10 -> 10, default: d to maintain desktop interactivity)

That doesn't turn off dynamic mode.

Code:
Donations: BTC: 1Jp2R7dF9gYr872FkXiap2MaYaHNEfwWhZ -- XMR: 42QWoLF7pdwMcTXDviJvNkWEHJ4TXnMBh2Cx6HNkVAW57E48Zfw6wLwDUYFDYJAqY7PLJUTz9cHWB5C4wUA7UJPu5wPf4sZ -- GPG Key ID: 0x88CBE71ADD5FB10F
Krak
Hero Member
*****
Offline Offline

Activity: 591



View Profile WWW
March 16, 2013, 05:50:58 PM
 #9047

That doesn't turn off dynamic mode.
Yes it does. Set a static intensity (9 is about right for most cards), just like it says.

BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
Wolf0
Legendary
*
Offline Offline

Activity: 1400


Miner Developer


View Profile
March 16, 2013, 06:40:46 PM
 #9048

That doesn't turn off dynamic mode.
Yes it does. Set a static intensity (9 is about right for most cards), just like it says.

All right, thanks.

Code:
Donations: BTC: 1Jp2R7dF9gYr872FkXiap2MaYaHNEfwWhZ -- XMR: 42QWoLF7pdwMcTXDviJvNkWEHJ4TXnMBh2Cx6HNkVAW57E48Zfw6wLwDUYFDYJAqY7PLJUTz9cHWB5C4wUA7UJPu5wPf4sZ -- GPG Key ID: 0x88CBE71ADD5FB10F
420
Hero Member
*****
Offline Offline

Activity: 742



View Profile
March 16, 2013, 08:44:52 PM
 #9049

Getting high reject rate in cgminer 2.11.1:

BTC Guild admin says common problem
https://bitcointalk.org/index.php?topic=49417.msg1631802#msg1631802

going to get he latest cgminer

EDIT: I upgraded to cgminer 2.11.2 and my problem is fixed! 0 rejects

Donations: 1JVhKjUKSjBd7fPXQJsBs5P3Yphk38AqPr - TIPS
the hacks, the hacks, secure your bits!
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
March 16, 2013, 09:50:16 PM
 #9050

Quote
Driver and SDK versions matter but in a different way to those for bitcoin mining. There is no reason you can't ltc mine the same on linux for 5xxx with the right driver/sdk combo. I'd recommend AMD driver 12.8 with SDK 2.7 for litecoin mining.

Thanks for the tip.  I installed driver 12.8 and SDK 2.7 and now litecoin mining works.

But it still works better in Windows.

Same hardware, cgminer 2.11.2, same cgminer parameters:

Ubuntu 11.04             Ubuntu 11.04            Windows 7
AMD 12.8                  AMD 12.8                  AMD 13.1
SDK 2.7                    SDK 2.7
Intensity 16              Intensity 13                Intensity 16
634 kHash/sec          534 kHash/sec            637 kHash/sec
3 accepted/minute    14 accepted/minute     34 accepted/minute
A lot of HW errors     A lot of HW errors        No HW errors

Should I put AMD 13.1 on linux?  Or should I put Windows 7 on my linux boxes?
Pretty sure with the right driver and SDK combo there should be no difference between the  OSes. However win7 does offer some extra options for overclocking/undervolting that many find advantageous for mining, and apart from OS stability, there is no mining performance advantage to linux. It's up to you.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
lastbit
Full Member
***
Offline Offline

Activity: 203


View Profile
March 16, 2013, 10:54:09 PM
 #9051

+1.2 btc. Thank you for your work, ckolivas.
UNOE
Sr. Member
****
Offline Offline

Activity: 259



View Profile
March 16, 2013, 11:43:59 PM
 #9052

On another thread you mentioned 7970 fixes for litecoin.  What version is that ?
-i higher than 13 ?

How is the performance now ?

I got some water cooled cards I want to push a nice OC.

-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
March 17, 2013, 12:26:23 AM
 #9053

On another thread you mentioned 7970 fixes for litecoin.  What version is that ?
-i higher than 13 ?

How is the performance now ?

I got some water cooled cards I want to push a nice OC.

Current development code only which you can get if you're building from git, but there's a sample executable linked a few posts back for windows. Next version 2.11.3 will have a few scrypt improvements.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
March 17, 2013, 06:03:47 AM
 #9054

New release: 2.11.3, 17th March 2013

Building further on the stability of 2.11 with more bugfixes, and the first significant scrypt update in some time thanks to a surge in its popularity and virtually the first ever donations towards developing and maintaining it since it was first added to cgminer.


Human readable changelog:

- Updated USB detection code by Kano will now show known devices with cgminer -n, and you can manually select devices to mine with using the new --usb option - read the README for full documentation! (Yeah right, no one reads documentation  Tongue)
- Fixes for certain USB communication problems should make them more reliable.
- Workaround for the rare crash on switching pools with stratum with older libcurl builds.
- Adding a pool now from the menu will return quickly while it leaves probing it to the background.
- Internal improvements in scalability in preparation for ASIC devices (must be close now? Roll Eyes)
- Changes to the hashmeter to update it more frequently - for fast devices it will update smoother but for long-return devices (like slow FPGAs) it will look worse. This is in preparation for faster devices...
- Scrypt updates:
 Fixed the failure to create high thread concurrencies.
 Intensities above 13 will not lead to garbage being generated on GCN (7xxx) hardware now.
 Decreased default GPU threads to 1. Intensities above 13 cannot handle more.
 Changed the default choice of thread concurrency if no options are passed to cgminer as a hint, based on amount of available GPU ram.
 Scrypt mining now shows the Work Utility as BTC mining does (total amount of diff 1 work done per minute).
 Extensive updates to the SCRYPT-README file in line with changes to the code and new information (but no one reads documentation anyway Tongue)


Full changelog:

- Update the hashmeter at most 5 times per second.
- Usbutils use its own internal read buffer
- Calculate work utility for devices that support target diffs of greater than
1, and update scrypt code to use it.
- usbutils allow read termination match to be a string
- Set default GPU threads to 1 for scrypt.
- Connect backup stratum pools if the primary pool cannot deliver work.
- Use a new algorithm for choosing a thread concurrency when none or no shader
value is specified for scrypt.
- Do not round up the bufsize to the maximum allocable with scrypt.
- Remove the rounding-up of the scrypt padbuffer which was not effectual and
counter-productive on devices with lots of ram, limiting thread concurrencies
and intensities.
- bufsize is an unsigned integer, make it so for debug.
- Update the hashmeter once per second but only display the extra logs every
opt_log_inteval.
- add a dummy ztex to usbutils so cgminer -n lists ztex also
- nDevs required for -n with usb
- USB device list - convert some common error numbers to messages
- USB -n 'known' text only without ---usb-list-all
- USB modify -n and --usb-dump to only show known devices or use new
--usb-list-all option to see all
- Make pool adding while running asynchronous, using the pool test thread
functionality.
- Only curl easy cleanup a stratum curl if it exists.
- Sacrifice the ram of curl handles in stratum disconnects when we have built
with old libcurl to avoid crashes.
- cgminer -n to include a USB device list
- usbutils allow call of usb_all() from other code
- Convert gbt_lock to a cg_lock.
- Add intermediate variants of cglocks that can be up or downgraded to read or
write locks and use them for stratum work generation.
- Move the stratum and GBT data to be protected under a new cg_lock data_lock.
- Convert the ch_lock to cg_lock.
- Convert the control_lock to a cg_lock.
- Remove unused qd_lock.
- Implement cg_lock write biased rwlocks.
- do usb_initialise() after the started message so we see it
- --usb-dump display brief dump if value = 0
- USB add --usb options to limit USB device selection v0.1

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
stevegee58
Hero Member
*****
Offline Offline

Activity: 783



View Profile
March 17, 2013, 10:42:53 AM
 #9055

I've been experimenting with LTC mining lately with cgminer.  I found some settings that worked best with my little GPU and noticed some changes in changing from 2.11.2 to 2.11.3.  I had found with 2.11.2 that I got best performance with "-g 3" but with 2.11.3 it was best with "-g 1".  Also, my peak performance has improved slightly from 138 kh/s to 141 kh/s between the 2 most recent versions.

You are in a maze of twisty little passages, all alike.
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
March 17, 2013, 10:59:39 AM
 #9056

2.11.3a 2.11.3 recompiled on 64 bit xubuntu 11.04 (as usual) and also on the RPi 32 (2012-12-16-wheezy-raspbian and rpi-update today)

https://github.com/kanoi/cgminer-binaries
(the 64 bit version also works on Fedora 16 and 17)

To get the 64 bit xubuntu 11.04 binary:
wget https://github.com/kanoi/cgminer-binaries/raw/master/Ubuntu_11.04_x86_64/cgminer-2.11.3a
chmod +x cgminer-2.11.3a
md5sum cgminer-2.11.3a

f73035fdd0284cedc8b238869d45a073  cgminer-2.11.3a

To get the RPi 32bit binary:
wget https://github.com/kanoi/cgminer-binaries/raw/master/RPi_32/cgminer-2.11.3a
chmod +x cgminer-2.11.3a
md5sum cgminer-2.11.3a

ab34a2511b3f7325e3ab40d0c6e3424f  cgminer-2.11.3a

For anyone who didn't realise, it's just the executable file to put in place of 'cgminer'
Nothing else needs changing
On xubuntu 11.04 - first get and extract the full binary release from ckolivas and then copy my file in place of 'cgminer'

I've run both binaries without any problems with 1x6950, 1xBFL, 2xICA and 1xMMQ

The same configure options as cvolivas' binary version for 64 bit xubuntu 11.04
In case anyone was wondering:
CFLAGS="-g -W -Wall" ./autogen.sh --enable-icarus --enable-bitforce --enable-ztex --enable-modminer --enable-scrypt
make clean
make

However, the -g (instead of -O2) means it's a debug build so if anyone finds a problem and has core dumps enabled, it will dump a much more useful debug core.

All FPGAs (only) for the RPi 32bit version
CFLAGS="-g -W -Wall" ./autogen.sh --enable-icarus --enable-bitforce --enable-modminer --enable-ztex
make clean
make

You will need to install libusb-1.0.0

Reminders from before:

1
Important re-paste from before:
Now some important information about the BFL USB driver.
On linux, if you wish to switch back to the 2.10.5a, 2.10.4a or earlier version, you'll need to unplug and re-plug in your FPGAs or reboot your rig.
On windows (as described in FPGA-README) you'll need to update your windows USB driver to use the new cgminer


2
OK, if you are running cgminer 2.11.0 (or later) on linux as non-root user you may need to do the following also:

Create /etc/udev/rules.d/01-cgminer.rules
With:
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6014", SUBSYSTEMS=="usb", ACTION=="add", MODE="0666", GROUP="plugdev"
ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0003", SUBSYSTEMS=="usb", ACTION=="add", MODE="0666", GROUP="plugdev"


And also:
sudo usermod -G plugdev -a `whoami`

Then reboot ... (or use udevadm to reload the rules and retrigger the devices - but I couldn't get that to work on my RPi without rebooting)

That is a bit overkill, but for now that's what I suggest unless I come up with a simpler set of rules.

Edit: if your linux distro doesn't have the 'plugdev' group, you can create it like:
sudo groupadd plugdev


3
If you read the FPGA-README, it mentions you need to use the WinUSB driver - not the FTDI one.
As per:
Code:
For ModMinerQuad (MMQ) and BitForce (BFL)
-----------------------------------------

...

The best solution for this is to use a tool called Zadig to set the driver:
 http://sourceforge.net/projects/libwdi/files/zadig/

This allows you set the driver for the device to be WinUSB which is usually
required to make it work if your having problems
Cgminer no longer uses the specific drivers - it's direct USB using the single libusb driver
(for everything 'USB' except Icarus - until I get around to changing that ... possibly one day in the far future Tongue)

Edit: 2 suggestions about zadig:
1) Run it as administrator
2) Menu: Options -> List all devices

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
sgravina
Sr. Member
****
Offline Offline

Activity: 442



View Profile
March 17, 2013, 11:46:41 AM
 #9057

New release: 2.11.3, 17th March 2013


Quick test of scrypt mining on my Windows 7 machine.  Same everything.

2.11.2 - No HW errors.
2.11.3 - Lot of HW errors, very low accepted rate.

Don't have time to play with it so I sticking with 2.11.2 for now.
juve4v
Hero Member
*****
Offline Offline

Activity: 506


View Profile
March 17, 2013, 12:12:15 PM
 #9058

I tried last version too, but nothing changed ..lots of errors same as previous version.Anything above I 13 on my 7950 = lots of errors and at I 19 only errors. WinVista x64 bit, 8 Gb RAM, cgminer  2.11.3, -g 1, -w 256
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
March 17, 2013, 12:22:55 PM
 #9059

Don't suppose you tried the larger thread concurrencies... everything needs retuning.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
romantic1
Member
**
Offline Offline

Activity: 75


View Profile
March 17, 2013, 01:10:41 PM
 #9060

For all you crazy scrypt/LTC mining fanatics, I have finally found the reason you cannot set very high thread concurrencies or intensities on 79x0 cards. It shall be fixed in the next version. I'm able to run my 7970s at TCs of 22392 now.

And how much faster is it? :-p

7970 @ 1135/1890, LG 2, TC 22392:
Code:
GPU 0:  72.0C 3413RPM | 714.6K/715.7Kh/s | A:0 R:1 HW:0 U:0.00/m I:20
No, the memory speed is not a typo. Ignore the accept/reject ratio; I was trying solo.

EDIT: The code is now in git, and here's a windows build with the changes:
http://ck.kolivas.org/apps/cgminer/temp/cgminer.exe
Can you post the bat file ! It doesn't work on my 7970.
My bat file: cgminer -o coinotron.com:9322 -u romantic1.ltc -p 12345 --scrypt --lookup-gap 2 --thread-concurrency 20992 -g 5 -I 20
I tried g 1. It doesn't work too.
I also tried: "cgminer -o coinotron.com:9322 -u romantic1.ltc -p 123 --scrypt --lookup-gap 2 --thread-concurrency 22392 -g 5 -I 20"
Pages: « 1 ... 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 [453] 454 455 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 ... 830 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!