Author

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

sr. member
Activity: 453
Merit: 250
dfgfdgfdg
You do not need to install ADL SDK. That's only for building cgminer.

I am trying to build cgminer for Windows, see: https://bitcointalksearch.org/topic/m.2774998
sr. member
Activity: 453
Merit: 250
dfgfdgfdg

...

$ git clone git://github.com/ckolivas/cgminer.git
Cloning into 'cgminer'...

...
$ cd cgminer

I did switch to my working build CGMiner build directory as the instructions said:
     Build cgminer.exe:
     Run the MinGW MSYS shell (Start icon => All Programs => MinGW => MinGW Shell).
     Change the working directory to your CGMiner project folder, \MinGW\msys\1.0\home\Aurum\cgminer-3.3.1

But, what is not stated is where to install other packages such as GTK-Win or Portable Git. It's implied to install them somewhere other than my CGMiner directory because it says "Extract" this and that to the, \MinGW\bin for example. I interpreted "extract" to be copy files rather than move files.

I'm not a UNIX programmer so all I can do is follow instructions and hope they work.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
You do not need to install ADL SDK. That's only for building cgminer.
sr. member
Activity: 453
Merit: 250
dfgfdgfdg
I tried running cgminer on windows 8 for the first time today and I didn't have any luck. It works fine for btc but I can't get scrypt to work. It stopped responding on windows. Is there a known issue with it?
What drivers/SDK? The newer ones don't work.

I'm using Windows 7 and all the latest ATI drivers, SPP and SDK work fine for 7970s. But, I cannot mine scrypt on 5970s to save my life. The documentation confuses me. SCRYPT-README.txt says, "The choice of driver version for your GPU is critical, as some are known to
break scrypt mining entirely while others give poor hashrates. As for the OpenCL SDK installed, for AMD it must be version 2.6 or later.
" But the GPU-README.txt says, "The best version for Radeon 5xxx and 6xxx is v2.5, while 7xxx cards need v2.6 or later, 2.7 seems the best." (2.8.1 works fine with my 7970s.)

So I installed the latest drivers from Catalyst 13.4, the latest SDK v5.0 and SPP v2.5. I compiled CGMiner 3.3.1 and 5970s cannot mine scrypt. I noticed during compiling that "--enable scrypt" is an unrecognized option. I also tried:
           CFLAGS="-O2 -msse2" --disable-option-checking ./configure --enable-scrypt
but that did not work either.

Any help would be greatly appreciated. TIA.

1) Do not use 13.4 with Scrypt. Actually even 13.1 won't work. Uninstall the drivers/SDK on your computer, and install 12.8 drivers (with included SDK).

2) You're building from source on Windows? Have you tried running the available binaries to see if that fixes it?

2. Yes of course I tried the canned CGMiner.exe! Why would anyone go to all this trouble unless they were desperate?!?!?!
I tried every combination of parameters, with and without auto-gpu. BTW, my 5970s run fine, but hot, with the BitMinter Client but gpu BTC mining is dead. I've tried the 5970s one-at-a-time, in pairs and quads. I have plenty of memory and have tried using 4 GB to 32 GB with matched sets of DDR3s. Also, they won't mine SHA-256 with CGMiner either.

1. I've previously tried 12.6 but I'll try again today with 12.8. I'm going to use Win7 to remove Catalyst 13.4 and all of its components. I'll follow with AMD's Cleaner program. Reboot into Safe Mode and run Driver Sweeper. Someone said that installing AMD-APP-SDK-v2.5-Windows-64.exe first is important.

Oops, correction: Should I install ADL_SDK_5.0 or a retro version? Yes, I'll use the Catalyst 12.8 included SDK as you said.

Then I'll install Catalyst 12.8 drivers & SDK only.
hero member
Activity: 774
Merit: 500
Lazy Lurker Reads Alot
Finally got scrypt working with bfgminer AND cgminer with help of Zanatos666, thanks again for helping me find a solution

People who have problems getting scrypt working you need to mess around constant with the "thread-concurrency" leave all other parameters away besides --scrypt and the needed pool parameters and the "thread-concurrency".
Do NOT add worksize, shaders, lookup-gap or vectors let the program do it when it has started and runs you can write a working config from within bfgminer or cgminer

I advice you to make use of any stratum pool because this will somehow make it easier to get it to make the necessary .bin file as long as that is not created you will not get it running.

Zanatos666 his changes to the .conf gave me the idea to tinker with that parameter and i left all other parameters away because the old .conf did not start in any way. So i did enter in the concurrency "8192" but it did not start so i changed it to the max known setting for 7970 gpu "22400" and poof it started
 
I am now experimenting with all of them to see when it fails and try to find the best hash power with changing them one by one, if a scrypt.......... bin NOT has been made try set some of the parameters to set to "0" this seems to make the miners fill that parameter by itself

Before the mess started my scrypt was having the following settings and failed to run all of a sudden completely even though it has worked for a very long time :

"vectors" : "1",
"shaders" : "2048",
"worksize" : "256",
"lookup-gap" : "2",
"thread-concurrency" : "21712",

now it looks like this :

"vectors" : "1",
"shaders" : "0",
"worksize" : "0",
"lookup-gap" : "0",
"thread-concurrency" : "22400",

You even can use 13.6 beta 2 latest version and all others somehow cgminer and bfgminer
changing lookup-gap into 2 made it crash again instant
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4

...

$ git clone git://github.com/ckolivas/cgminer.git
Cloning into 'cgminer'...

...
$ cd cgminer
legendary
Activity: 952
Merit: 1000
I tried running cgminer on windows 8 for the first time today and I didn't have any luck. It works fine for btc but I can't get scrypt to work. It stopped responding on windows. Is there a known issue with it?
What drivers/SDK? The newer ones don't work.

I'm using Windows 7 and all the latest ATI drivers, SPP and SDK work fine for 7970s. But, I cannot mine scrypt on 5970s to save my life. The documentation confuses me. SCRYPT-README.txt says, "The choice of driver version for your GPU is critical, as some are known to
break scrypt mining entirely while others give poor hashrates. As for the OpenCL SDK installed, for AMD it must be version 2.6 or later.
" But the GPU-README.txt says, "The best version for Radeon 5xxx and 6xxx is v2.5, while 7xxx cards need v2.6 or later, 2.7 seems the best." (2.8.1 works fine with my 7970s.)

So I installed the latest drivers from Catalyst 13.4, the latest SDK v5.0 and SPP v2.5. I compiled CGMiner 3.3.1 and 5970s cannot mine scrypt. I noticed during compiling that "--enable scrypt" is an unrecognized option. I also tried:
           CFLAGS="-O2 -msse2" --disable-option-checking ./configure --enable-scrypt
but that did not work either.

Any help would be greatly appreciated. TIA.

1) Do not use 13.4 with Scrypt. Actually even 13.1 won't work. Uninstall the drivers/SDK on your computer, and install 12.8 drivers (with included SDK).

2) You're building from source on Windows? Have you tried running the available binaries to see if that fixes it?
hero member
Activity: 774
Merit: 500
Lazy Lurker Reads Alot
I tried all supported versions of catalyst on my win 8 machines

Well with bfgminer it seem to work a bit better then cgminer.

No clue what has changed in last updates but even cgminer --ndevs makes it crash

As soon as scrypt is in the config or command line it ends immediate in a crash even without any other parameters like :

Cgminer --scrypt -I12 makes it crash as soon as i enter a pool i downloaded cgminer several times to make sure nothing is wrong with the files.

What i saw is that somehow cgminer seems to get some garbled pool info even though i put it in exact as should.
The tests i set it as : http://pool:port
When i use a config file it errors out and gives me no pool defined after {
While i took from many helpfull people here their supplied copy of working configs and just replaced the pool name and login info with the ones i wanted to try
i even made several other litecoin pool logins and tried all of them and guess what all the same issues

Again this involves both cgminer and bfgminer which absolutely not wanna run anymore on scrypt
I really have tried everything but from catalyst win8 beta till 13.6 cgminer no longer wants to run
The weirdest of it all is, that as long as i can remember i have been mining scrypt succesfull for many weeks several months ago.

I will take one of my old harddrives and will install freaking ubuntu even though i hate that unfriendly linux to see if that does run normal but its still absolute weird.

Before someone says uninstall catalyst with blahblah i have been using guru3d driver sweeper, between each and every version to make sure no residue from previous versions where left behind   
 
sr. member
Activity: 453
Merit: 250
dfgfdgfdg
I tried running cgminer on windows 8 for the first time today and I didn't have any luck. It works fine for btc but I can't get scrypt to work. It stopped responding on windows. Is there a known issue with it?
What drivers/SDK? The newer ones don't work.

I'm using Windows 7 and all the latest ATI drivers, SPP and SDK work fine for 7970s. But, I cannot mine scrypt on 5970s to save my life. The documentation confuses me. SCRYPT-README.txt says, "The choice of driver version for your GPU is critical, as some are known to
break scrypt mining entirely while others give poor hashrates. As for the OpenCL SDK installed, for AMD it must be version 2.6 or later.
" But the GPU-README.txt says, "The best version for Radeon 5xxx and 6xxx is v2.5, while 7xxx cards need v2.6 or later, 2.7 seems the best." (2.8.1 works fine with my 7970s.)

So I installed the latest drivers from Catalyst 13.4, the latest SDK v5.0 and SPP v2.5. I compiled CGMiner 3.3.1 and 5970s cannot mine scrypt. I noticed during compiling that "--enable scrypt" is an unrecognized option. I also tried:
           CFLAGS="-O2 -msse2" --disable-option-checking ./configure --enable-scrypt
but that did not work either.

Any help would be greatly appreciated. TIA.
legendary
Activity: 952
Merit: 1000
I tried running cgminer on windows 8 for the first time today and I didn't have any luck. It works fine for btc but I can't get scrypt to work. It stopped responding on windows. Is there a known issue with it?
What drivers/SDK? The newer ones don't work.
sr. member
Activity: 453
Merit: 250
dfgfdgfdg
I'm plagued with these stratum interrupted disconnects. Several of my miners will print a couple more lines and then just stop. Anything I can do to keep them running??? TIA
There's a bug in there somewhere which only recently got fixed in the git master code, so no official release has the fix. If you're building your own cgminer you can try it from git. Usually trying a different pool will make them go away as a workaround - it's a temporarily blocked network connection and pools with more resources don't suffer from it. There is also a stratum disconnect issue on windows from which cgminer never recovers, no idea if this one has been fixed with the latest changes or not.

Thanks, that's the only thing that correlates. Of my ten miners the ones on bigger LTC never seem to hang, but, the ones mining microcoins do.
I'm trying to install Git and pull the latest changes, but, git pull isn't working. I did the following (from Windows-Build readme.txt) and it seemed (me neophyte) to work fine:

Install Git into MinGW/MSYS:
http://msysgit.github.io/, click Downloads tab for the latest "Portable" git archive.
Copy the git*.exe files from the bin folder and put them into \MinGW\bin.
Copy the share\git-core folder to \MinGW\share.
To test if it is working, open a MinGW shell and type the following:
     git config --global core.autocrlf false (note: one time run only)
     git clone git://github.com/ckolivas/cgminer.git

$ git clone git://github.com/ckolivas/cgminer.git
Cloning into 'cgminer'...
remote: Counting objects: 15869, done.
remote: Compressing objects: 100% (7353/7353), done.
remote: Total 15869 (delta 10238), reused 14028 (delta 8504)
Receiving objects: 100% (15869/15869), 10.79 MiB | 44.00 KiB/s, done.
Resolving deltas: 100% (10238/10238), done.

Then I tried permutations of the following and nothing worked:
If you just want to update the source after you have already cloned, type:
     git pull
   "git pull" did not work for me. Try the following which does the same thing:
     git fetch && git merge FETCH_HEAD
Now you can get the latest source directly from github.

$ git pull
git: 'pull' is not a git command. See 'git --help'.

$ git pull origin master
git: 'pull' is not a git command. See 'git --help'.

$ git fetch && git merge FETCH_HEAD
fatal: Not a git repository (or any of the parent directories): .git
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
I tried running cgminer on windows 8 for the first time today and I didn't have any luck. It works fine for btc but I can't get scrypt to work. It stopped responding on windows. Is there a known issue with it?
Yes. Try lower intensity and shaders/thread concurency. Also monitor temperature and power consumption.
SHA mining is pretty safe, SCRYPT can hand windows.
hero member
Activity: 518
Merit: 500
I tried running cgminer on windows 8 for the first time today and I didn't have any luck. It works fine for btc but I can't get scrypt to work. It stopped responding on windows. Is there a known issue with it?
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
This must be a simple mistake but why can CGminer run BTC all day but crashes on --scrypt in 3 seconds

Im missing some part of the drivers maybe ?
Different drivers work better for different mining types.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I'm plagued with these stratum interrupted disconnects. Several of my miners will print a couple more lines and then just stop. Anything I can do to keep them running??? TIA
There's a bug in there somewhere which only recently got fixed in the git master code, so no official release has the fix. If you're building your own cgminer you can try it from git. Usually trying a different pool will make them go away as a workaround - it's a temporarily blocked network connection and pools with more resources don't suffer from it. There is also a stratum disconnect issue on windows from which cgminer never recovers, no idea if this one has been fixed with the latest changes or not.
STT
legendary
Activity: 4102
Merit: 1454
This must be a simple mistake but why can CGminer run BTC all day but crashes on --scrypt in 3 seconds

Im missing some part of the drivers maybe ?
sr. member
Activity: 453
Merit: 250
dfgfdgfdg
I'm plagued with these stratum interrupted disconnects. Several of my miners will print a couple more lines and then just stop. Anything I can do to keep them running??? TIA
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
They would be properly priced at $25, NOT $300. Just an expensive toy.

Maybe they would if not for the principle of supply and demand.
This discussion's been done to death in numerous other threads. Let's leave it that way.
legendary
Activity: 3586
Merit: 1099
Think for yourself
They would be properly priced at $25, NOT $300. Just an expensive toy.

Maybe they would if not for the principle of supply and demand.
sr. member
Activity: 453
Merit: 250
dfgfdgfdg
For erupter/icarus problems, try current git (with a USB2 hub)

I do know that Raspbian fails badly.

What the details of the problem are is that since the Icarus devices never return a finished message, if they don't find a share, they never return anything.
This is of course expected, however, it would seem that certain linux kernels on certain hardware do not support a usb request timeout on USB1.1 devices (yes weird isn't it)
On these kernels, cgminer simply never gets a reply form the call to libusb (or more correctly, the call to libusb never returns)

I've found on my RPi when I switched from Raspbian to Arch the problem went away.
http://www.kano-kun.net/?p=87

Have the issues I see in this thread seem to be focused around those Block Erupters. Seems they're more trouble than they're worth?
Worth? Smiley
Way too much and return way too little.
They currently mine only 0.00640097 BTC a day ... ouch!

They would be properly priced at $25, NOT $300. Just an expensive toy.
Jump to: