GTX 10 series new miner help

I was just looking at conflicting dirvers issues on Ubuntu…this is what Imeant aboutr the correct driver for cuda 8.0 installed for your card you have 381.22 and you may need 382.05 or a different driver version…install the one for the 1080 and the one for the 1070…

I went to this site: CUDA Toolkit 12.0 Update 1 Downloads | NVIDIA Developer and plugged in your info and it said this: Run `sudo sh cuda_8.0.61_375.26_linux.run

as you see this is saying version 375.26…this is just the toolkit not the driver
you need both the tool kit and the drivers for both cards installed…so if you can download the GeForce software it should recognize your cards and give you options to update two separate drivers…I’m sure the 1080 will use the 1070 driver but the 1070 will not work with the 1080 driver if that makes sense…

check this site out: Download The Latest Official GeForce Drivers
it says you need 384.69 and it should work with both

i ran that and same result… :frowning: i had it working before with decent rates… i feel like i screwed something up with the nvidia settings that aren’t getting resolved with a fresh install… (following all the same steps as before)

it says you lowered the wattage to 100 from 180…that will cause a huge problem if the card isn’t getting enough power

also that there is no protocol specified…try reinstalling minergate…also do what ccminer is telling you and run
NVidia-settings --help
and make sure you have that newest 384.69 driver installed as well as the 8.0 toolkit for your card 375.26
and make sure you have your clock settings correct…which will effect your wattage as well…if the card runs a 1850mhz clock at 180 watts for instance it wont connect if its below 85%

retracing your steps and undoing what you did usually helps…hope you get it working…headed to work…good luck

I dont think its talking about minergate the software unless you are using minergate the software as a proxy server it might mean your connection to the pool /proxy server or specify the correct algorithm

Hope you get my edits…because I edit my posts a lot rather than replying 1000 times

Nothing seeming to work, backing up some docs now and smoking a bit before i go crazy and reinstall ubuntu from scratch…

Ok fresh install of Ubuntu 16.04 and could not get the driver to install via the run or deb file… finally i remembered that i noticed that the cuda install seemed to install its own nvidia drivers and such so i gambled and didn’t bother with the Nvidia drivers at all, and just ran:

sudo dpkg -i cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb
sudo apt-get update
sudo apt-get install cuda

BAM all my cards are working… now to install ccminer and see… wish me luck

I can reboot without getting caught in a login loop but ccminer is giving me awful hashrates still

HELP ME!

xorg.conf

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "keyboard"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor2"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 1080"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 1070"
    BusID          "PCI:4:0:0"
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 1070"
    BusID          "PCI:7:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Device2"
    Monitor        "Monitor2"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection





root@JoanClarke:~/ccminer# lshw -c video
  *-display               
   description: VGA compatible controller
   product: NVIDIA Corporation
   vendor: NVIDIA Corporation
   physical id: 0
   bus info: pci@0000:01:00.0
   version: a1
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
   configuration: driver=nvidia latency=0
   resources: irq:128 memory:f6000000-f6ffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:e000(size=128) memory:f7000000-f707ffff
  *-display
   description: VGA compatible controller
   product: Intel Corporation
   vendor: Intel Corporation
   physical id: 2
   bus info: pci@0000:00:02.0
   version: 06
   width: 64 bits
   clock: 33MHz
   capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
   configuration: driver=i915 latency=0
   resources: irq:126 memory:f1000000-f1ffffff memory:80000000-8fffffff ioport:f000(size=64) memory:c0000-dffff
  *-display
   description: VGA compatible controller
   product: NVIDIA Corporation
   vendor: NVIDIA Corporation
   physical id: 0
   bus info: pci@0000:04:00.0
   version: a1
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
   configuration: driver=nvidia latency=0
   resources: irq:130 memory:f4000000-f4ffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:d000(size=128) memory:f5000000-f507ffff
  *-display
   description: VGA compatible controller
   product: NVIDIA Corporation
   vendor: NVIDIA Corporation
   physical id: 0
   bus info: pci@0000:07:00.0
   version: a1
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
   configuration: driver=nvidia latency=0
   resources: irq:131 memory:f2000000-f2ffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:c000(size=128) memory:f3000000-f307ffff

nvidia-smi 
Wed Sep 13 14:50:49 2017       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.66                 Driver Version: 384.66                    |
|-------------------------------+----------------------+----------------------+
| 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 1080    Off  | 00000000:01:00.0 Off |                  N/A |
| 27%   32C    P0    39W / 180W |    682MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 1070    Off  | 00000000:04:00.0 Off |                  N/A |
|  0%   50C    P0    35W / 151W |      2MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 1070    Off  | 00000000:07:00.0 Off |                  N/A |
| 27%   34C    P0    31W / 151W |      2MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|    0       963    G   /usr/lib/xorg/Xorg                             348MiB |
|    0      1968    G   compiz                                         330MiB |
|    0      5361    G   /usr/bin/nvidia-settings                         0MiB |
+-----------------------------------------------------------------------------+

UPDATE
after playing around, i kept getting caught in login loops or under utilized cards… very frustrating, but we learn right? Ok… so was looking at that

sudo sh cuda_8.0.61_375.26_linux.run

before my last build bit the bullet to another loginloop and it looks like that run file actually gives you the option to install the nvidia drivers as well… i couldn’t get it to install as it kept complaining that X server was runnning even thought i was logged out and had run

service lightdm stop

figured i messed something up with all the failed driver installs so starting over from scratch.

So here we GO!

  1. Fresh install of Ubuntu 16.04 only running the following on first boot:
    apt-get update && apt-get dist-upgrade

  2. downloaded cuda_8.0.61_375.26_linux.run from CUDA Toolkit 12.0 Update 1 Downloads | NVIDIA Developer

  3. logged out and and entered tty mode (ctrl + alt + f1)

  4. shutdown x server with ‘service lightdm stop’ and ran the cuda run file. (clicked yes for all options including install nvidia drivers, except for install cuda samples)

  5. rebooted… No login loop so far… but it appears i don’t have the nvidia-settings yet installed… but i can see the cards…

    erik@JoanClarke:~$ ubuntu-drivers devices
    == /sys/devices/pci0000:00/0000:00:1c.4/0000:07:00.0 ==
    modalias : pci:v000010DEd00001B81sv000010DEsd0000119Dbc03sc00i00
    vendor : NVIDIA Corporation
    driver : nvidia-375 - distro non-free recommended
    driver : xserver-xorg-video-nouveau - distro free builtin

    == cpu-microcode.py ==
    driver : intel-microcode - distro non-free

    erik@JoanClarke:~$ ubuntu-drivers list
    nvidia-375
    intel-microcode
    erik@JoanClarke:~$ sudo lshw -C display
    [sudo] password for erik:
    *-display
    description: VGA compatible controller
    product: NVIDIA Corporation
    vendor: NVIDIA Corporation
    physical id: 0
    bus info: pci@0000:01:00.0
    version: a1
    width: 64 bits
    clock: 33MHz
    capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
    configuration: driver=nouveau latency=0
    resources: irq:125 memory:f6000000-f6ffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:e000(size=128) memory:f7000000-f707ffff
    *-display
    description: VGA compatible controller
    product: Intel Corporation
    vendor: Intel Corporation
    physical id: 2
    bus info: pci@0000:00:02.0
    version: 06
    width: 64 bits
    clock: 33MHz
    capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
    configuration: driver=i915 latency=0
    resources: irq:127 memory:f1000000-f1ffffff memory:80000000-8fffffff ioport:f000(size=64) memory:c0000-dffff
    *-display
    description: VGA compatible controller
    product: NVIDIA Corporation
    vendor: NVIDIA Corporation
    physical id: 0
    bus info: pci@0000:04:00.0
    version: a1
    width: 64 bits
    clock: 33MHz
    capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
    configuration: driver=nouveau latency=0
    resources: irq:128 memory:f4000000-f4ffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:d000(size=128) memory:f5000000-f507ffff
    *-display
    description: VGA compatible controller
    product: NVIDIA Corporation
    vendor: NVIDIA Corporation
    physical id: 0
    bus info: pci@0000:07:00.0
    version: a1
    width: 64 bits
    clock: 33MHz
    capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
    configuration: driver=nouveau latency=0
    resources: irq:129 memory:f2000000-f2ffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:c000(size=128) memory:f3000000-f307ffff

  6. ran - ‘ubuntu-drivers autoinstall’

  7. ran nvidia-settings and no cards are showing up :frowning:

  8. cross fingers that i don’t go to login loop and reboot… success! logged in and can see my cards in nvidia-settings… now to reinstall ccminer.

To install ccminer i had to update the paths from your link to be /usr/local/cudo-8.0/bin and /usr/local/cudo-8.0/lib64 because i ran the default install. I had an option to set the path during install which in hindsight would have been beneficial as even updating the paths, somewhere in the make script it was looking for include files in a seemingly hardcoded /usr/local/cudo/include and i ended up having to rename the directory to finally get a make… its making… now, will update when its done.

I know this is really long, but i needed to document this somewhere step by step… :slight_smile: hopefully in the end this will save others the nightmare

after all this sadly i still not anywhere close to where i was when i originally got this working -

./ccminer -a cryptonight -o stratum+tcp://bcn.pool.minergate.com:45550 -u {my email} -p x
*** ccminer 2.2.1 for nVidia GPUs by tpruvot@github ***
    Built with the nVidia CUDA Toolkit 8.0 64-bits

  Originally based on Christian Buchner and Christian H. project
  Include some algos from alexis78, djm34, sp, tsiv and klausT.

BTC donation address: 1AJdfCpLWPNoAMDfHF1wD5y8VgKSSTHxPo (tpruvot)
[2017-09-13 18:50:56] Using JSON-RPC 2.0
[2017-09-13 18:50:56] Starting on stratum+tcp://bcn.pool.minergate.com:45550
[2017-09-13 18:50:56] 3 miner threads started, using 'cryptonight' algorithm.
[2017-09-13 18:50:56] Stratum difficulty set to 1063 (1.063)
[2017-09-13 18:51:18] GPU #0: GeForce GTX 1080, 7494 MB available, 20 SMX
[2017-09-13 18:51:18] GPU #0: 1280 threads (10.25) with 80 blocks
[2017-09-13 18:51:18] GPU #1: GeForce GTX 1070, 8015 MB available, 15 SMX
[2017-09-13 18:51:18] GPU #1: 960 threads (9.875) with 60 blocks
[2017-09-13 18:51:18] GPU #2: GeForce GTX 1070, 8015 MB available, 15 SMX
[2017-09-13 18:51:18] GPU #2: 960 threads (9.875) with 60 blocks
[2017-09-13 18:52:05] Stratum difficulty set to 7874 (7.874)
[2017-09-13 18:52:06] Stratum difficulty set to 8169 (8.169)
[2017-09-13 18:52:08] GPU #2: GeForce GTX 1070, 590.76 H/s
[2017-09-13 18:52:08] accepted: 54/54 (diff 18.417), 1715.13 H/s yes!
[2017-09-13 18:52:11] GPU #0: GeForce GTX 1080, 508.85 H/s
[2017-09-13 18:52:11] accepted: 55/55 (diff 29.346), 1714.99 H/s yes!
[2017-09-13 18:52:14] GPU #2: GeForce GTX 1070, 609.68 H/s
[2017-09-13 18:52:14] accepted: 56/56 (diff 15.223), 1716.61 H/s yes!
[2017-09-13 18:52:24] GPU #2: GeForce GTX 1070, 613.81 H/s
[2017-09-13 18:52:24] accepted: 57/57 (diff 11.628), 1718.34 H/s yes!
[2017-09-13 18:52:28] accepted: 58/58 (diff 11.954), 1719.11 H/s yes!
[2017-09-13 18:52:30] Stratum difficulty set to 10604 (10.604)
[2017-09-13 18:52:37] GPU #1: GeForce GTX 1070, 609.75 H/s
[2017-09-13 18:52:39] accepted: 59/59 (diff 33.509), 1720.13 H/s yes!
[2017-09-13 18:52:39] accepted: 60/60 (diff 33.344), 1720.13 H/s yes!
[2017-09-13 18:52:47] GPU #2: GeForce GTX 1070, 613.79 H/s
[2017-09-13 18:52:47] accepted: 61/61 (diff 31.297), 1721.27 H/s yes!
[2017-09-13 18:52:51] Stratum difficulty set to 11416 (11.416)
[2017-09-13 18:52:54] GPU #1: GeForce GTX 1070, 600.35 H/s
[2017-09-13 18:52:54] accepted: 62/62 (diff 52.026), 1721.27 H/s yes!
[2017-09-13 18:52:55] GPU #2: GeForce GTX 1070, 608.55 H/s
[2017-09-13 18:52:56] accepted: 63/63 (diff 13.566), 1721.72 H/s yes!
[2017-09-13 18:53:07] GPU #0: GeForce GTX 1080, 521.56 H/s
[2017-09-13 18:53:07] accepted: 64/64 (diff 56.408), 1722.34 H/s yes!
[2017-09-13 18:53:10] accepted: 65/65 (diff 16.123), 1722.03 H/s yes!
[2017-09-13 18:53:11] GPU #1: GeForce GTX 1070, 614.44 H/s
[2017-09-13 18:53:11] accepted: 66/66 (diff 33.716), 1723.58 H/s yes!
[2017-09-13 18:53:13] GPU #2: GeForce GTX 1070, 614.21 H/s
[2017-09-13 18:53:13] accepted: 67/67 (diff 51.762), 1724.43 H/s yes!

root@JoanClarke:/usr/local# nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Tue_Jan_10_13:22:03_CST_2017
Cuda compilation tools, release 8.0, V8.0.61

check your intensity settings and clock of the cards…seems like its for sure a clocking issue with that low of a hash rate…those are monero numbers…lol
also your difficulty is way high for GPU mining…
lower your difficulty by adding ,d=128 to the end of your password on litecoinpool.org ( password x=,d=128 or x,d=512 …don’t go higher than 1024) this will give you a fixed difficulty so your cards should start turning in more shares faster
if its not a clocking issue then running a local proxy and setting a lower difficulty could help a lot…also NAT settings and firewall settings can rob your packet sizes sometimes… look up “offloading”

Also check your BIOS and make sure your settings didn’t change when you over clocked the cards manually…

I just thought of something…it says your minng with cryptonight algorithm and litecoin is scrypt algorithm…

if you are using minergate (proxy server) then there is nothing wrong at all
minergate pays out what3ever you select but it mines the most profitable coin based on coinwarz.com type data so you got a damn good hash rating if mining monero and getting paid out in btc or ltc

then again if your not mining using minergate as a proxy server then this is not the issue…

it says your mining cryptonight algorithm in your last post so this is exactly whats going on…
connect ccminer to 104.236.57.24:8080 or 104.236.57.24:3333 which is litecoinpool.org ip address and will bypass NAT as well…

I don’t think you messed up anything by over clocking if you have been using miner gate the whole time…and the only reason you’d be in a login loop is because you are using miner gate as a proxy server on the same machine the cards are on…if you run miner gate on a separate machine or on a raspberry pi separately as a proxy server then connect your mining rig to it through longpolling I bet this solves your issue

this is actually a very very high hashrate for cryptonight algorithm

Im sorry, yes i was showing you minergate stats… trying litecoin now with the following bash:

./ccminer --algo=scrypt --url=stratum+tcp://us.litecoinpool.org:3333 --userpass=me.worker:password

it performed the optimization test on all three cards, but for a while it seemed to only be running the 1080 at 620 kH/s

finally all three cards kicked in totally about 2154.37 kH/s

[2017-09-14 11:53:56] GPU #0: GeForce GTX 1080, 623.67 kH/s
[2017-09-14 11:53:56] accepted: 327/327 (diff 0.004), 2158.89 kH/s yes!
[2017-09-14 11:53:59] GPU #2: GeForce GTX 1070, 783.31 kH/s
[2017-09-14 11:53:59] accepted: 328/328 (diff 0.005), 2158.96 kH/s yes!
[2017-09-14 11:54:04] GPU #1: GeForce GTX 1070, 764.81 kH/s
[2017-09-14 11:54:04] accepted: 329/329 (diff 0.002), 2159.03 kH/s yes!
[2017-09-14 11:54:06] accepted: 330/330 (diff 0.009), 2158.95 kH/s yes!

do you think i can get higher? if so how would you set up the bash script?

NOTE
i was on track to make about $3 USD a day on minergate averaging about 300w power consumption, ccminer on litecoinpool with the above bash is upwards of 530ws and i seem to be making less $s

Yes you will make more mining monero with a gpu than litecoin at current difficulty…

At current difficulty my asics hardly make anything anymore…
But you should get a higher hashrate using the proxy you can download on litecoinpool.org getting started page and just run ccminer locally to 127.0.0.1 and set the proxy to litecoinpool.org’s up address…this will bypass NAT and give you local cache…which should give a higher hashrate

Litecoinpool.org has a link that will write the script for you on their getting started page at the bottom of beginers guide where they talk about which mining software they recommend using…
Type .ccminer --help
And make your own scripts for best results

Im only running one machine, is using a proxy really right for me? i thought it was for multiple rigs on a given network. this is just a single machine with 3 cards… I was looking into overclocking… https://forums.geforce.com/default/topic/1024705/ubuntu-16-04-gtx-1070-x2-and-gtx-1080-x1-oc-how/#5214955

Running the proxy will give you cache so you wont have any stale shares and you can send and receive faster…i recommend it for less than gigabit connection…
Even my gigabit connection does upload but 10mb/sec…
It helps for multiple pcs because of cache too…
Also the less routers your connection goes through after it leaves your location the better which is why I type the IP address of the pool rather than the site name to bypass NAT and DNS…also your can forward the port on your router by enabling port forwarding to the machine running the proxy…btw all pools are proxy servers linking mines to a single wallet…having the work waiting for your card to pick it up makes it mie faster than your card waiting on a response from the pool all the time…i made a post a few months back about “Ridiculous hashing power on p2pool” which is when I found all this out…posted pics too…i will forward tonight

1 Like