you can use the linux nvidia tools to get the infos /usr/bin/nvidia-smi --query-gpu=index,temperature.gpu,fan.speed --format=csv,noheader,nounits
Thank you but I can already read the GPU (Gainward GTX 750 Ti GS) info from the Nvidia Settings GUI. The problem is, I'm running the nvidia-331 / nvidia-340 driver but the "Fan Info" shows for "Speed (RPM)" unsupported, "Speed (%)" 30 and more (=works) but below there should be a bar where I could set the fan speed in percent, so I guess it doesn't show up because of "Speed (RPM)" unsupported. If I let everything at default and start ccMiner with nvidia-331 the heat rises only and the watts for a PC with one SSD and one 750 Ti jumps after a few minutes from about 95-105 watts to about 140 watts. Here the output of nvidia-smi: user@miner:~$ nvidia-smi Thu Jul 24 17:05:46 2014 +------------------------------------------------------+ | NVIDIA-SMI 331.89 Driver Version: 331.89 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce GTX 750 Ti Off | 0000:01:00.0 N/A | N/A | | 31% 39C N/A N/A / N/A | 55MiB / 2047MiB | N/A Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Compute processes: GPU Memory | | GPU PID Process name Usage | |=============================================================================| | 0 Not Supported | +-----------------------------------------------------------------------------+ Update 1: I thought I have found a solution but didn't work. nvidia-settings -a [gpu:0]/GPUFanControlState=1 nvidia-settings -a [fan:0]/GPUCurrentFanSpeed=80 user@miner:~$ nvidia-settings -a "[fan:0]/GPUCurrentFanSpeed=80"
ERROR: Error assigning value 80 to attribute 'GPUCurrentFanSpeed' (miner:0[fan:0]) as specified in assignment '[fan:0]/GPUCurrentFanSpeed=80' (Unknown Error). Update 2: WORKS http://www.gpugrid.net/forum_thread.php?id=2925
Fan control in Linux, the easy way:
Open a Terminal and type,
cd /etc/X11 sudo nvidia-xconfig --cool-bits=4
This will take effect after a restart and open NVIDIA Server Settings / Thermal Settings BTW if I run the nvidia-340 driver I get the following error. Any hints? ./ccminer: error while loading shared libraries: libcudart.so.6.0: cannot open shared object file: No such file or directory
|
|
|
Is it possible to change the fan speed, GPU engine etc and read the GPU temps with ccMiner (Xubuntu)?
|
|
|
Thank you checking for EVP_DigestFinal_ex in -lcrypto... yes ./configure: line 6186: syntax error near unexpected token `,' ./configure: line 6186: `LIBCURL_CHECK_CONFIG(, 7.15.2, ,' Line 6186, right?
|
|
|
This is an syntax error. Go to 6181 line and delete it. Where? And make sure you have libcurl installed.
Ok, I will try that. Thank you
|
|
|
Ok, this is now my current howto on Xubuntu 14.10. My old 13.10 didn't boot anymore, didn't install with my new Nvidia GPU, so I had to choose 14.10. I. Install Xubuntu 14.10 II. sudo apt-get update sudo apt-get upgrade reboot III. sudo apt-get install nvidia-331 reboot IV. Retrieve the CUDA repository DEB package for Ubuntu 12.04: https://developer.nvidia.com/cuda-downloads#linuxV. cd Downloads sudo dpkg -i cuda-repo-ubuntu1204_6.0-37_amd64.deb sudo apt-get update sudo apt-get install cuda reboot VI. Execute the following commands: export CUDA_HOME=/usr/local/cuda-6.0 export LD_LIBRARY_PATH=${CUDA_HOME}/lib64 PATH=${CUDA_HOME}/bin:${PATH} export PATH cuda-install-samples-6.0.sh ~ cd ~/NVIDIA_CUDA-6.0_Samples make VII. Download and extract ccMiner: https://github.com/djm34/ccminerVIII. sudo apt-get install automake sudo apt-get install libssl-dev cd ccminer-djm34-0721 chmod +x configure autogen.sh IX. https://github.com/cbuchner1/ccminer/issues/8This is easily fixed by adding to Makefile.am: AUTOMAKE_OPTIONS = subdir-objects X. ./autogen.sh && ./configure && make But I get the following error:user@ubuntu:~/ccminer-djm34-0721$ ./autogen.sh && ./configure && make checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /home/user/ccminer-djm34-0721/missing: Unknown `--is-lightweight' option Try `/home/user/ccminer-djm34-0721/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking how to run the C preprocessor... gcc -std=gnu99 -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc -std=gnu99 needs -traditional... no checking dependency style of gcc -std=gnu99... gcc3 checking for ranlib... ranlib checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for gcc -std=gnu99 option to support OpenMP... -fopenmp checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for sys/sysctl.h... yes checking whether be32dec is declared... no checking whether le32dec is declared... no checking whether be32enc is declared... no checking whether le32enc is declared... no checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for getopt_long... yes checking whether we can compile AVX code... yes checking whether we can compile XOP code... yes checking whether we can compile AVX2 code... yes checking for json_loads in -ljansson... no checking for pthread_create in -lpthread... yes checking for SSL_library_init in -lssl... yes checking for EVP_DigestFinal_ex in -lcrypto... yes ./configure: line 6186: syntax error near unexpected token `,' ./configure: line 6186: `LIBCURL_CHECK_CONFIG(, 7.15.2, ,'
Thanks for any further hints!
|
|
|
Doesn't work ubuntu@server:~$ sudo apt-get install cuda Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies: cuda : Depends: cuda-6-0 (= 6.0-37) but it is not going to be installed E: Unable to correct problems, you have held broken packages. Edit: Some dependencies like cuda-6.0 and cuda-drivers were missing. Let's see how far it goes. sudo apt-get install nvidia-libopencl1-331 sudo apt-get install cuda-drivers sudo apt-get install cuda-6-0 Edit: Mixing the Nvidia 340 driver and Cuda 331 dependencies wasn't a good idea
|
|
|
What's your OS? Which algorithm do you want to mine? Your link mentiones X11 not X13. My rig with Xubuntu 13.10 64bit, Catalyst 14.6 Beta, SGMiner 5, 8 GB Ram: R9 290 Scrypt = 905 kHs, 350 Watt R9 290 X11 = 4600 kHs, 220 Watt R9 290 X13 = 3500 kHs, 225 Watt R9 290 X15 = 3000 kHs, 225 Watt
|
|
|
I've already tried to install the 13.04 DEB package for Ubuntu 13.10 without success but will give your tutorial a shot What I've recognized with ccMiner or Cuda tutorials very often is the fact that they mention always the /usr/local/cuda directory but I don't have a Cuda folder in the /user/local/ directory and I'm pretty sure the damn easy installation through PPA (Cuda 5.5) or even with the Ubuntu standard archive packages (Cuda 5.0) worked. I have a Cuda toolkit folder in /usr/lib/ but again I don't have a lib64 folder /usr/lib/nvidia-cuda-toolkit/ but probably I should have one because I'm running Ubuntu 13.10 64bit.
|
|
|
Does someone know what "extranonce change requested" means. I'm mining X13 at port 3337. Thank you
|
|
|
I've tried now more than one week to compile ccMiner from https://github.com/djm34/ccminer for Ubuntu 13.10, but I'm stucking since days at the point where I start ccMiner and get the following output. ./ccminer-djm-0712-trade-x13-5a.sh *** ccMiner for nVidia GPUs by Christian Buchner and Christian H. *** This is version 1.2 (beta) based on pooler-cpuminer 2.3.2 (c) 2010 Jeff Garzik, 2012 pooler based on pooler-cpuminer extension for HVC from https://github.com/heavycoin/cpuminer-heavycoin and http://hvc.1gh.com/ Cuda additions Copyright 2014 Christian Buchner, Christian H. LTC donation address: LKS1WDKGED647msBQfLBHV3Ls8sveGncnm BTC donation address: 16hJF5mceSojnTD3ZTUDqdRhDyPJzoRakM YAC donation address: Y87sptDEcpLkLeAuex6qZioDbvy1qXZEj4 [2014-07-16 14:29:14] Unable to query CUDA driver version! Is an nVidia driver installed? I guess ccMiner doesn't find the installed Cuda toolkit, but I have no idea how to point to the Cuda toolkit directory, except the way I do it in my Howto. This is my current Howto: sudo add-apt-repository ppa:xorg-edgers/ppa -y sudo apt-get update sudo apt-get install nvidia-340 reboot sudo apt-get install build-essential sudo apt-get install automake sudo apt-add-repository ppa:aaron-haviland/cuda-5.5 sudo apt-get update sudo apt-get install nvidia-cuda-toolkit cd ccminer-master chmod +x configure autogen.sh sudo apt-get install libssl-dev export PATH=$PATH:/usr/lib/nvidia-cuda-toolkit/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/nvidia-cuda-toolkit/lib reboot ./autogen.sh && ./configure && make Thank you for every hint
|
|
|
SGMiner 'Modded' versions are usually nothing more than standard sgminer compiled under 14.6 Beta (rev 1) Drivers.
You're right! But how? I can compile the SPH-SGMiner, but no chance with SGMiner 5. This is my current NOT working howto: copy ADL 6 files to /sgminer-5_0/ADL* cd sgminer-5_0 git clone https://github.com/sgminer-dev/sgminergit init git submodule init git submodule update libtoolize autoreconf -ivf CFLAGS="-O2 -Wall -march=native" ./configure sudo make After "make" a get the same error: https://github.com/sgminer-dev/sgminer/issues/339Realy don't understand the "git thing". Don't need that for compiling SPH-SGMiner, which works fine: cp ADL_SDK_6.0/include/* sph-sgminer_x11mod/ADL_SDK cd sph-sgminer_x11mod ./autogen.sh CFLAGS="-O2 -Wall -march=native" ./configure sudo make install It amazes me how many people have no idea what they are doing, and just look for other peoples mining compiles/software. Do a little work, and you can do it yourself. Plus it is a LOT less risky, than downloading miners that are probably doing hidden mining. I know i am falling on deaf ears, as nearly all you 'miners' are point-and-click warriors, and have no fundamental knowledge on what you are doing. If it wasn't so sad i would laugh. Do you have any sources where a beginner could start with and get some fundamental knowledge?
|
|
|
Multi port for X15 is 4012. Scrypt and N-scrypt don't have multi ports, probably because they are not really that profitable right now. Thank you Combining multi ports with normal ports won't mine the most profitable coin unfortunately. I set sgminer 5 to mine only X11/13/15 and Nist5 for now, since they are the most profitable algos these days.
I didn't know there is a multi multi port for X15, so I've added the X15 settings to my multi multi config with port 6660 and SGMiner 5 is switching between X11/13/15 and Nist5! Didn't work with Scrypt and Nscrypt, but already stopped trying after 5 minutes. We're presently focused on the newer 'low power' algos with our multi-multi setups. Once we implement a user-defined process that lets users determine which algos they would like to use on the multi-multi instead of being forced into all algo's we add to it, we will add in scrypt and nscrypt.
As you guys have seen, 4013 is now live.. to recap the port list for multi-multi: 4010 - X11 4011 - X13 4012 - X15 4013 - Nist5
Thank you and BTW awesome pool !! I still suggest using 4440 as a final failover for TMB in case the multi-multi ports act up, so you'll at least be mining something.
Thanks!
Simply by adding the following code to my conf file? { "name" : "am01 x11 default", "url" : "stratum+tcp://am01.eu.trademybit.com:4440", "user" : "worker", "pass" : "x", "intensity" : "12", "gpu-powertune" : "10", "gpu-threads" : "2", "algorithm" : "darkcoin-mod" }
Should I also add for every algo the second server am02.eu.trademybit.com like this? { "name" : "am01 x11 multi multi", "url" : "stratum+tcp://am01.eu.trademybit.com:4010", "user" : "worker", "pass" : "x", "intensity" : "12", "gpu-powertune" : "10", "gpu-threads" : "2", "algorithm" : "darkcoin-mod" }, { "name" : "am02 x11 multi multi", "url" : "stratum+tcp://am02.eu.trademybit.com:4010", "user" : "worker", "pass" : "x", "intensity" : "12", "gpu-powertune" : "10", "gpu-threads" : "2", "algorithm" : "darkcoin-mod" }
|
|
|
The Multi Multi port 4013 should open today ... does anyone already use it? Edit: Port is now open Multi Multi port 4010 = X11 Multi Multi port 4011 = X13 Multi Multi port 4013 = Nist5 Multi Multi port = X15 Multi Multi port = Scrypt Multi Multi port = Nscrypt Are there any Multi Multi ports for X15, Scrypt and Nscrypt? I've seen a Multi Multi config with 6 ports: 4010, 4011, 7770 now 4013, 3330, 2220, 6660. Such a config starts mining with Scrypt and not the most profitable coin Maybe something is very wrong the last part of my config? ], "gpu-fan" : "86,90,90", "failover-only" : true, "api-allow" : "W:127.0.0.1", "api-listen" : true, "api-mcast-port" : "4028", "api-port" : "4028", "expiry" : "28", "gpu-dyninterval" : "7", "hotplug" : "5", "log" : "5", "queue" : "0", "scan-time" : "7", "temp-hysteresis" : "2", "shares" : "0", "no-submit-stale" : true, "no-restart" : true, "failover-switch-delay" : "30", "show-coindiff" : true, "remove-disabled" : true, "extranonce-subscription" : true }
Thank you for every hint!
|
|
|
user@miner:~$ ./ccminer.sh *** ccMiner for nVidia GPUs by Christian Buchner and Christian H. *** This is version 1.2 (beta) based on pooler-cpuminer 2.3.2 (c) 2010 Jeff Garzik, 2012 pooler based on pooler-cpuminer extension for HVC from https://github.com/heavycoin/cpuminer-heavycoin and http://hvc.1gh.com/ Cuda additions Copyright 2014 Christian Buchner, Christian H. LTC donation address: LKS1WDKGED647msBQfLBHV3Ls8sveGncnm BTC donation address: 16hJF5mceSojnTD3ZTUDqdRhDyPJzoRakM YAC donation address: Y87sptDEcpLkLeAuex6qZioDbvy1qXZEj4 [2014-07-12 13:55:10] Unable to query CUDA driver version! Is an nVidia driver installed? user@miner:~$ sudo apt-get install nvidia-340 [sudo] password for user: Reading package lists... Done Building dependency tree Reading state information... Done nvidia-340 is already the newest version. The following packages were automatically installed and are no longer required: libssl-dev libssl-doc Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. user@miner:~$ Does someone know how to solve the problem?I've installed the nvidia-340 drivers thisway: sudo add-apt-repository ppa:xorg-edgers/ppa -y
sudo apt-get update
sudo apt-get install nvidia-340 and the Cuda toolkit thisway: "download the Cuda toolkit from https://developer.nvidia.com/cuda-toolkit"
cd Downloads
sudo dpkg -i cuda-repo*.deb
cd ..
sudo apt-get update
sudo apt-get install freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libgl1-mesa-glx libglu1-mesa libglu1-mesa-dev
sudo apt-get install nvidia-cuda-toolkit
sudo apt-get install nvidia-nsight
|
|
|
SPH-SGMiner works great with Nist5 How about X15?
|
|
|
Under attack again.
Thank you for the update!! If there is anything the miners could do, just say it! Would love to hunt them down!
|
|
|
Does anybody else recognize huge connection problems to port 3339 (X15) and 3337 (X13)?
|
|
|
You need the Cuda toolkit installed to compile ccMiner. Build essential is not enough on it's own.
You're right! Some pages before I've posted this conclusion after reading the "Cuda Getting Started Linux" PDF from Nvidia and what I would do at the moment if I could access my mining rig. sudo apt-get install build-essential sudo apt-get install automake lspci | grep -i nvidia gcc --version "download the Cuda toolkit from https://developer.nvidia.com/cuda-toolkit" cd Downloads sudo dpkg -i cuda-repo-<distro>_<version>_<architecture>.deb sudo apt-get update sudo apt-get install cuda export PATH=/usr/local/cuda-6.0/bin:$PATH export LD_LIBRARY_PATH=/usr/local/cuda-6.0/lib64:$LD_LIBRARY_PATH cd .. "download and extract ccMiner from https://github.com/djm34/ccminer" cd ccminer-master chmod +x configure autogen.sh ./autogen.sh && ./configure && make Thank you for every improvement suggestion!
|
|
|
I would not use cuda 6.5 until it is officially released and tested. I have seen no difference in performance between 5.5 and 6.0, you need 6.0 to use sm_50 but nothing in ccminer requires that yet.
Your earlier error would appear to be from not having automake installed. Make sure you have everything needed for compiling C++ applications. I am not familiar with the usual setup for this on ubuntu.
Thank you for answering! I've found a website "How to Compile a C/C++ Program on Ubuntu Linux" http://www.wikihow.com/Compile-a-C/C%2B%2B-Program-on-Ubuntu-Linux and it says ... "Open up a terminal on Ubuntu Linux and install the build-essential package by typing the following command in the terminal Type/Copy/Paste: sudo apt-get install build-essential This will install the necessary C/C++ development libraries for your Ubuntu Linux system to create C/C++ programs." ... so probably I will only need the "build-essential" package. Let's see in a few hours
|
|
|
I think it is on the OP for the dependencies and required package (and yes you need cuda... otherwise you won't compile much of anything...) (try from my release, I don't know how Savale forked it: https://github.com/djm34/ccminer; but if you didn't instal any package... better to start from there anyway) Ok, I've downloaded yours ... BTW thank you very much for your awesome work with the SPH-SGMiner !!!! I've downloaded the cuda toolkit 6 for Ubuntu 13.04 from https://developer.nvidia.com/cuda-downloads?sid=553115 too, but will it work properly with 14.04? Any recommendations to use 6.5 RC instead? Can you (or someone else) tell me were I can find a list with all the dependencies (Xubuntu 14.04 maybe 13.10) I need? After that I only need to prompt ... chmod +x configure autogen.sh ./autogen.sh && ./configure && make ... right? Try KopiemTu, linux distro with drivers/cuda and ccminer (XMR/X11/X13/JPC ...) installed. So the ./autogen.sh && ./configure && make will directly work with it for new ccminer
Thank you for the hint but, if possible, I would love to use Xubuntu and installed by my own. Edit:This is my conclusion after reading the "Cuda Getting Started Linux" PDF from Nvidia and what I would do at the moment if I could access my mining rig. lspci | grep -i nvidia gcc --version cd Downloads sudo dpkg -i cuda-repo-<distro>_<version>_<architecture>.deb sudo apt-get update sudo apt-get install cuda export PATH=/usr/local/cuda-6.0/bin:$PATH export LD_LIBRARY_PATH=/usr/local/cuda-6.0/lib64:$LD_LIBRARY_PATH cd .. cd ccminer-master chmod +x configure autogen.sh ./autogen.sh && ./configure && make Thank you for every improvement suggestion!
|
|
|
|