I am trying to run cgminer on Linux. I do not get any errors, but it just does not run either. Code: lee@dev01:~/Decred/cgminer-decred-linux-x86_64-20160204$ ./cgminer --blake256 --benchmark [2016-02-07 19:43:49] Summary of runtime statistics: [2016-02-07 19:43:49] Started at [2016-02-07 19:43:49] Pool: Benchmark [2016-02-07 19:43:49] Runtime: 404137 hrs : 43 mins : 49 secs [2016-02-07 19:43:49] Average hashrate: 0.0 Kilohash/s [2016-02-07 19:43:49] Solved blocks: 0 [2016-02-07 19:43:49] Best share difficulty: 0 [2016-02-07 19:43:49] Share submissions: 0 [2016-02-07 19:43:49] Accepted shares: 0 [2016-02-07 19:43:49] Rejected shares: 0 [2016-02-07 19:43:49] Accepted difficulty shares: 0 [2016-02-07 19:43:49] Rejected difficulty shares: 0 [2016-02-07 19:43:49] Hardware errors: 0 [2016-02-07 19:43:49] Utility (accepted shares / min): 0.00/min [2016-02-07 19:43:49] Work Utility (diff1 shares solved / min): 0.00/min [2016-02-07 19:43:49] Stale submissions discarded due to new blocks: 0 [2016-02-07 19:43:49] Unable to get work from server occasions: 0 [2016-02-07 19:43:49] Work items generated locally: 0 [2016-02-07 19:43:49] Submitting work remotely delay occasions: 0 [2016-02-07 19:43:49] New blocks detected on network: 0 [2016-02-07 19:43:49] Summary of per device statistics: [2016-02-07 19:43:49] lee@dev01:~/Decred/cgminer-decred-linux-x86_64-20160204$ ./cgminer --blake256 -o https://127.0.0.1:19109 -u user -p pass lee@dev01:~/Decred/cgminer-decred-linux-x86_64-20160204$ What am I missing? Linux, Ubunty 14.03.3 fully patched. the nVidia binary drivers installed and all the supplemental packages anyone has mentioned. openjdk-7-jre openjdk-7-jdk mesa-utils libssh2-1 libjansson4...
This works for me on win7 for gpu #2. Maybe try being more specific? platform 0 would be gpu#1. cgminer.exe --blake256 --benchmark --gpu-platform 1
Tried that and 0 just in case, and no love... Code: lee@dev01:~/Decred/cgminer-decred-linux-x86_64-20160204$ ./cgminer --blake256 --benchmark --gpu-platform 1 [2016-02-07 21:38:27] Summary of runtime statistics: [2016-02-07 21:38:27] Started at [2016-02-07 21:38:27] Pool: Benchmark [2016-02-07 21:38:27] Runtime: 404139 hrs : 38 mins : 27 secs [2016-02-07 21:38:27] Average hashrate: 0.0 Kilohash/s [2016-02-07 21:38:27] Solved blocks: 0 [2016-02-07 21:38:27] Best share difficulty: 0 [2016-02-07 21:38:27] Share submissions: 0 [2016-02-07 21:38:27] Accepted shares: 0 [2016-02-07 21:38:27] Rejected shares: 0 [2016-02-07 21:38:27] Accepted difficulty shares: 0 [2016-02-07 21:38:27] Rejected difficulty shares: 0 [2016-02-07 21:38:27] Hardware errors: 0 [2016-02-07 21:38:27] Utility (accepted shares / min): 0.00/min [2016-02-07 21:38:27] Work Utility (diff1 shares solved / min): 0.00/min [2016-02-07 21:38:27] Stale submissions discarded due to new blocks: 0 [2016-02-07 21:38:27] Unable to get work from server occasions: 0 [2016-02-07 21:38:27] Work items generated locally: 0 [2016-02-07 21:38:27] Submitting work remotely delay occasions: 0 [2016-02-07 21:38:27] New blocks detected on network: 0 [2016-02-07 21:38:27] Summary of per device statistics: [2016-02-07 21:38:27] lee@dev01:~/Decred/cgminer-decred-linux-x86_64-20160204$
Found it! For some reason, cgminer needs root! Nothing else but cgminer, and frankly I can not understand why...
That's interesting. I've never tried to mine under *nix, so I wasn't aware of that either. I suspect it probably has to do with OpenCL needing special access to the GPU driver or something similar.
But you can hit it with user level access. All of my games (and with Steam, I have a LOT...) run in user level access and do not need root. As a security guy, I pay attention to these things. If I keep mining any length of time, I will work on that and see if I can remove the need for root.
cgminer.conf/cgminer can modify GPU core clock. There is your answer. I was messing around with the .conf and set mine from 1010 to 1060 by only changing the .conf file.
I get cgminer: --blake256: unrecognized option when i try to run cgminer --blake256 --benchmark on ubuntu. Am i missing something? I run as root, ubuntu 15.10, installed cgminer 4.9.2, fglrx-amdcccle-updates, run clinfo works and finds graphics card. Have anyone had similar problems. Really like to get it to work since i joined to learn
I had cgminer working in Ubuntu 14.04 with nVidia. You need a driver with openCL support. With nVidia it is the restricted driver. For Intel, this may help. https://wiki.tiker.net/OpenCLHowTo
I didn't understand a lot of what he meant. Can u tell me the commands I need to use to install opencl for mining?
Really, if this does not work for you, then I doubt your can be helped. https://wiki.tiker.net/OpenCLHowTo#Installing_the_Intel_CPU_ICD There are two reasons for this. The big one is that Intel graphics are not that good at 3D so things needing a lot of GPU simply do not use them often. You just do not have the attention of nVidia. Second, if that is beyond you, the next several steps will probably be as well.
The problem with the guide is I am not sure what all have to be installed. Can u throw some light upon them? Also another problem is this guide is too old, Now the intel opencl files are different. Before there was only 1 but now they are split into a lot of different files.
For OpenCL on Linux you will actually want this instead: https://www.freedesktop.org/wiki/Software/Beignet/
And this is my point. No one uses Intel OpenCL, so there is very little community support for it. And what there is has focused on redhat like systems. You can also get better performance out of a $100 nVidia card, so why not use that? (The Beignet will may be better then the Intel drivers, but both are much harder then nVidia.)
Just a somewhat funny input on using AMD's drivers in Ubuntu... After screwing up my fglrx configuration, I actually had to use a root shell in system recovery to uninstall some default Ubuntu drivers before my AMD cards would work. Linux if finicky and it takes a lot of attention to detail and troubleshooting. But to me, that's what makes it enjoyable to use!
"My car continually breaks down on the highway which is why I tow a trailer carrying spare parts, but I really love stopping every twenty minutes to replace something. That's what makes it enjoyable to drive." Sorry, couldn't help myself