This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

cgminer starter guide of GPUs v1.21 (02-Sept-2013)

By: TheXev on Mar 20th, 2013  |  syntax: None  |  size: 4.58 KB  |  views: 2,307  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. If you find this guide helpful, please donate to the following address: 1Mh2zFraEkawaNYjVcbwHtyFYs5vmhZJ4p !  A small donation of of even 0.01 BTC is much appreciated!
  2.  
  3. Remember, you can add the above address into your Bitcoin wallet for future reference if you want to donate after you have some coin! :D
  4.  
  5. If you have issues with cgminer starting up and crashing and can not fix them with a simple reinstall of the drivers, please read my "AMD Hardcore driver OpenCL reinstall Guide": http://pastebin.com/riG5H83R
  6.  
  7. Always have https://en.bitcoin.it/wiki/Mining_hardware_comparison accessible, so you know the "baseline" Mh/s rating that your card should have!
  8.  
  9. Always make sure you are running the latest AMD drivers (avoid beta drivers!) http://support.amd.com/us/gpudownload/Pages/index.aspx
  10.  
  11. DO NOT DOWNLOAD AND INSTALL >>ANY<< STREAM APP SDKS! Only use the SDK that comes with the driver you are installing!
  12.  
  13. If you have installed a Stream App SDK, uninstall it, then run AMD Catalystâ„¢ uninstaller ( http://sites.amd.com/us/game/downloads/Pages/catalyst-uninstall-utility.aspx ), then reinstall the lasted non-beta Catalyst drivers!
  14.  
  15. Laptop owners that have Toshiba, Sony, or Panasonic machine, should check their laptop's support site for the latest old drivers.
  16.  
  17.  
  18.  
  19. Setting up CGminer is rather simple.  First download cgminer ( http://ck.kolivas.org/apps/cgminer/ ), and extract the folder somewhere.
  20.  
  21. Now you will create a .bat file.  This can be used just once to help create a configuration file for cgminer to use.  Advanced users may use a command box.
  22.  
  23. Now, open that folder, right click anywhere, select "new=>Txt file."  Rename this text file something like "cgminer-start.bat" (if you can't see file extensions, you'll need to enable them by pressing start, the searching for  "show or hide file extensions" (add the step of clicking "settings" if you have Windows 8 instead of 7)).  Right click on this new bat file and select "edit."
  24.  
  25. <<DO NOT FORGET TO DOUBLE CLICK THE .BAT FILE WHEN YOU ARE DONE, AND NOT CGMINER.EXE!!>>
  26.  
  27. (The following line is for setting up slush's pool!)
  28.  
  29. put in: cgminer -o stratum+tcp://stratum.bitcoin.cz:3333 -u username.workerid -p workerpassword
  30.  
  31. Depending on your video card, you'll want to finish that line with different arguments to get the best performance.
  32. Change -I setting to -I 9 if you won't be using the computer while mining.
  33.  
  34. For 5000 series cards try: -l 5 -I 5 -v 2 -w 128
  35. For 5770 try: -l 5 -I 5 -v 2 -w 64 (card will not start with worksize greater then 64)
  36. For 6000 series cards and APU 7000 series, try: -l 5 -I 5 -v 2 -w 256
  37. For 7000 series cards try: -l 5 -I 5 -v 1 -w 256
  38.  
  39. So if you have a 7950 you can start by trying: cgminer -o stratum+tcp://stratum.bitcoin.cz:3333 -u username.workerid -p workerpassword -l 5 -I 5 -v 1 -w 256
  40.  
  41. If you have more then one card installed on the system, the first setting will be for the first card, and the 2nd for the 2nd card.. etc.  An example:
  42.  
  43. For a system with 2 7950's installed, do: cgminer -o stratum+tcp://stratum.bitcoin.cz:3333 -u username.workerid -p workerpassword -l 5 -I 5,5 -v 1,1 -w 256,256
  44.  
  45. First setting is -l (lowercase L), it sets how many seconds for cgminer to wait to output statistics.  I think 1 sec is the default?
  46.  
  47. -I (upercase i) is intensity.  This setting will adjust how lagging your desktop will get when being used while using cgminer.  I found -I 5 works best when you want to use the machine while still mining at a decent rate.  -I 9 or higher may work better for dedicated mining.
  48.  
  49. -v sets the number of vectors to use at the same time.  6000 series cards, and 7000 series APUs (which use the same core as 6000 series cards) seem to work best with -v set to 2.  The 7950 I tested worked best with -v 1 set.  The only other valid setting is 4, and I have no clue if it works well for any type of cards.
  50.  
  51. For a complete list of all switches, read the readme file included with your cgminer download, or go here: http://ck.kolivas.org/apps/cgminer/README .  You can setup cgminer to overclock your gpu and underclock your memory as well as prevent your GPU from overheating using additional switches!
  52.  
  53. <<<IMPORTANT!!!>>>
  54.  
  55. >>>After cgminer is running, press S (for Settings), then W (to write configuration).  Press enter again, and a default configuration file of "cgminer.conf" will be created.  You will no longer need to run the .bat file after doing this, and can simply run cgminer.exe.<<<
  56.  
  57. I hope this helps you get started with cgminer.  You can experiment with the different settings as necessary, but its pretty easy to get more Mh/s then you were getting out of GUIminer!
  58.  
  59. TheXev
clone this paste RAW Paste Data