Pages:
Author

Topic: KopiemTu 3.0 - ethash & equihash - NVIDIA USB linux distro - page 8. (Read 39802 times)

legendary
Activity: 1292
Merit: 1000

That's OK, GUI is not started by default, while is not necessary for mining,
and you may even not notice that, if you have headless rig

(...)

Code:
systemctl enable lightdm.service
service lightdm start



P.S.
of course if you want to play with OC, then GUI should be activated anyway
even for headless rig, with teamviewer - for proper nvidia-settings operation. e.g.:

http://www.phoronix.com/scan.php?px=MTY1OTM&page=news_item
legendary
Activity: 1292
Merit: 1000

I don't know what happened, but mine boots straight to terminal and I can't get the GUI to work .


That's OK, GUI is not started by default, while is not necessary for mining,
and you may even not notice that, if you have headless rig

but if you have monitor connected, just log into text console (root/live) and type:

Code:
service lightdm start

or

Code:
systemctl enable lightdm.service
service lightdm start

the first will start GUI one time, the second sequence will start and activate it permanently



Code:
root@kopiemtu:~# cat README.txt

One-time graphical interface (as root):
service lightdm start

Permanent graphical interface (as root):
systemctl enable lightdm.service


------------
Quick setup:
------------

cd /etc/kopiemtu; ls -l
nano lbry.conf
...
mine switch|start|stop|status
monitor start|stop|status

tail -f /var/log/syslog
http://your_rig_IP/


=================================
Master setup, on SINGLE RIG ONLY!
=================================

nano /root/.master.conf
mv /root/.master.conf /root/master.conf
init 6

ssh-keygen -q -P "" -f /root/.ssh/id_rsa
scp /root/.ssh/id_rsa.pub localhost:/root/.ssh/authorized_keys
scp /root/.ssh/id_rsa.pub w12:/root/.ssh/authorized_keys
scp /root/.ssh/id_rsa.pub w21:/root/.ssh/authorized_keys
scp /root/.ssh/id_rsa.pub w22:/root/.ssh/authorized_keys
...



Verify your configuration:

mm uptime
mm "nvidia-smi | grep %"
mmnv

mmis
mmos

mmit
mmip
mmih

mmot
mmip

mm ssh

=================================
KopiemTu 3.0 is distributed under six-beers license. If you want to use it - you must send me six beers.
For simplicity - send 0.01 btc to my smartphone: 1JofTuhjgxuQAEtqyCdj7JNwzrZ1f7EXcg
(no doubt I will utilise it for six beers :)

Vertcoin: Vh9VgXbQN9DdcUJzt5mrxZYWHKpoNgemmJ
MobileCash: MBeBwseXEwVmPg8cvQrEFSCXVnL5q3n3LP

root@kopiemtu:~#
full member
Activity: 241
Merit: 100
Hi!
I got 26 MH in ETH using kopiemtu 2.0 mod #4 @ 90W tdp (the lowest TDP possible on the 1070)

haven't had the time to try again to make work kopiemtu 3.0 , will do this weekend.

i used PPA but not all of the oh_pi (thanks for the data btw  Grin ).

jk_14 about automatic restart, i dunno if that is a good idea, i have completely disabled monitor on kopiemtu 2.0 mod #4 because does not work, and i don't have a freeze, or miner unload in weeks!, the only weird thing i got is that some of the cards forget the TPL setting and start using more power, reconfiguring TPL again (nvidia-smi -pl xx) solves it on the fly   Grin but still weird!, and it is always just one of the cards, and it happens after more than a week of operation, but again, more than a week!.

now i remotely reboot the rigs once a week and i have 0 problems.
GTX 1070, love at first sight!, best nvidia cards ever!.



I observed the same process of using more power, so under old distro you can also create that two files:

Code:
root@kopiemtu:~# cat powerlimit.conf
130
root@kopiemtu:~# cat /etc/cron.hourly/powerlimit
#!/bin/sh

DPL=`head -1 /root/powerlimit.conf`

/usr/bin/nvidia-smi -pl $DPL >/dev/null 2>&1

root@kopiemtu:~# chmod 755 /etc/cron.hourly/powerlimit
root@kopiemtu:~#

and that will adjust the power automatically.


I'm not sure if situation with AMD is different now, but I remember how 6x750Ti rig was maintenance-free versus 3x Radeon 7950 rig.
100 days periods without a system restart were common for 750Ti. Fortunately, 1070 is equally good.



I don't know what happened, but mine boots straight to terminal and I can't get the GUI to work .
legendary
Activity: 1292
Merit: 1000
Hi!
I got 26 MH in ETH using kopiemtu 2.0 mod #4 @ 90W tdp (the lowest TDP possible on the 1070)

haven't had the time to try again to make work kopiemtu 3.0 , will do this weekend.

i used PPA but not all of the oh_pi (thanks for the data btw  Grin ).

jk_14 about automatic restart, i dunno if that is a good idea, i have completely disabled monitor on kopiemtu 2.0 mod #4 because does not work, and i don't have a freeze, or miner unload in weeks!, the only weird thing i got is that some of the cards forget the TPL setting and start using more power, reconfiguring TPL again (nvidia-smi -pl xx) solves it on the fly   Grin but still weird!, and it is always just one of the cards, and it happens after more than a week of operation, but again, more than a week!.

now i remotely reboot the rigs once a week and i have 0 problems.
GTX 1070, love at first sight!, best nvidia cards ever!.



I observed the same process of using more power, so under old distro you can also create that two files:

Code:
root@kopiemtu:~# cat powerlimit.conf
130
root@kopiemtu:~# cat /etc/cron.hourly/powerlimit
#!/bin/sh

DPL=`head -1 /root/powerlimit.conf`

/usr/bin/nvidia-smi -pl $DPL >/dev/null 2>&1

root@kopiemtu:~# chmod 755 /etc/cron.hourly/powerlimit
root@kopiemtu:~#

and that will adjust the power automatically.


I'm not sure if situation with AMD is different now, but I remember how 6x750Ti rig was maintenance-free versus 3x Radeon 7950 rig.
100 days periods without a system restart were common for 750Ti. Fortunately, 1070 is equally good.

newbie
Activity: 5
Merit: 0
K, so what I remember appending to .bashrc

"export PATH=/usr/local/cuda-8.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64:
export PATH=/usr/local/cuda/bin:$PATH"

Dunno if this helps

Think I added these, then ran cmake etc


also:
deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu xenial main
deb-src http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu xenial main
deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu xenial main
deb-src http://ppa.launchpad.net/george-edison55/cmake-3.x/ubuntu xenial main
deb http://ppa.launchpad.net/george-edison55/cmake-3.x/ubuntu xenial main
plus the ppa's for ethereum (qt, dev)
hero member
Activity: 710
Merit: 502
Hi!
I got 26 MH in ETH using kopiemtu 2.0 mod #4 @ 90W tdp (the lowest TDP possible on the 1070)

haven't had the time to try again to make work kopiemtu 3.0 , will do this weekend.

i used PPA but not all of the oh_pi (thanks for the data btw  Grin ).

jk_14 about automatic restart, i dunno if that is a good idea, i have completely disabled monitor on kopiemtu 2.0 mod #4 because does not work, and i don't have a freeze, or miner unload in weeks!, the only weird thing i got is that some of the cards forget the TPL setting and start using more power, reconfiguring TPL again (nvidia-smi -pl xx) solves it on the fly   Grin but still weird!, and it is always just one of the cards, and it happens after more than a week of operation, but again, more than a week!.

now i remotely reboot the rigs once a week and i have 0 problems.
GTX 1070, love at first sight!, best nvidia cards ever!.
legendary
Activity: 1292
Merit: 1000
I will check by bashrc this weekend on that HDD, been busy (I know you all understand).
I am hoping I didn't compile it with double miner instead of dbundle cudaminer. Will check

I remember 27MH/s on my 1070 at ethminer under old distro.
I made some tests with Claymore 7.2 miner.

eth hashrate is 26MH/s there, and that is unchanged regardless of powerlimit, even with 85W

eth+sia -> 26MH/s + 255MH/s using powerlimit 130W
newbie
Activity: 5
Merit: 0
I will check by bashrc this weekend on that HDD, been busy (I know you all understand).
I am hoping I didn't compile it with double miner instead of dbundle cudaminer. Will check
legendary
Activity: 1292
Merit: 1000

I made some research for best 16GB pendrive (at least for master rig, instead of SSD)
The irrevocable winner is:

"The SanDisk Extreme achieved a 4K random write speed of 2.1 MB/s which was over three times faster than the best of the rest"
http://usb.userbenchmark.com/SanDisk-Extreme-USB-30-16GB/Rating/1301

(available for me at ~12$ in discount offer)
legendary
Activity: 1292
Merit: 1000
this distro will work on a 1050 ti?


there is no driver described on Nvidia site as supporting 1050ti yet,
eventually - I will simply release version 3.0a, if current driver won't work with 1050
sr. member
Activity: 427
Merit: 250
this distro will work on a 1050 ti?
legendary
Activity: 1292
Merit: 1000

The major fear here is infinite rolling reboots. But I am also just a hardware guy, more of a hobbyist so I am learning best I can.

Not new to Ubuntu, just busy as are we all and I get where I can.



Of course I would test it some weeks before Smiley
and it's not a problem to have it as an option (only ready to activate)


could you check your .bash_history for that etminer compilation details ?
newbie
Activity: 5
Merit: 0
I could swear that I got genoil working on 16.04 by using the PPA for cmake from this post
http://thecryptoworld.org/how-to-compile-ethminer-on-ubuntu-14-04
I know some info is old but I know I have genoil working but I didn't document how...
Figures, I will try again and see what I find/did

Thanks!, will reflash the original Kopiemtu 3.0 image and try again with these instructions, right now it compiles, but it is not linking properly, gives me a ton of undefined crap regarding with json libraries.

will try that tomorrow and post here results, thanks for the data. Grin


WAIT, I think I used only the PPAs, don't do all of it, I should have specified what I tried.
I know I added the PPA for cmake, unsure about the other steps.
I also added the PPAs for ethereum/ethereum, /ethereum-dev, /ethereum-qt, and/or /cpp-ethereum, YMMV, I have it working on Linux Mint (I like the easy installs of codecs, call me lazy), something or other.
I will check to see what PPAs I have added and see if I can replicate it, primarily I want to do this on an install using Ubuntu Server (alternative iso ("mini.iso)) I prefer to install using the netywork installer, Everything is as current that way though installer is slow.
Yadda yadda, I will look to see what I can find for steps via replicating what I can


UPDATE:
I chated with Genoil and he has no idea about the linkling errors, so we are in the dark here, i am doing my best but, i am a hardware guy  Grin Grin my coding skills are limited hehe.


and I'm a bit busy right now...

one hint regarding monitor page - how to quickly discover that something goes wrong with GPU.
e.g.: low range temperature is zero and system load is high

system restart seems to be the unfailing solution (even syslog message propose that)
- so I'm thinking about automatic detection & restart in such case

The major fear here is infinite rolling reboots. But I am also just a hardware guy, more of a hobbyist so I am learning best I can.

Not new to Ubuntu, just busy as are we all and I get where I can.
legendary
Activity: 1292
Merit: 1000
UPDATE:
I chated with Genoil and he has no idea about the linkling errors, so we are in the dark here, i am doing my best but, i am a hardware guy  Grin Grin my coding skills are limited hehe.


and I'm a bit busy right now...

one hint regarding monitor page - how to quickly discover that something goes wrong with GPU.
e.g.: low range temperature is zero and system load is high

system restart seems to be the unfailing solution (even syslog message propose that)
- so I'm thinking about automatic detection & restart in such case
hero member
Activity: 710
Merit: 502
UPDATE:
I chated with Genoil and he has no idea about the linkling errors, so we are in the dark here, i am doing my best but, i am a hardware guy  Grin Grin my coding skills are limited hehe.
hero member
Activity: 710
Merit: 502
I could swear that I got genoil working on 16.04 by using the PPA for cmake from this post
http://thecryptoworld.org/how-to-compile-ethminer-on-ubuntu-14-04
I know some info is old but I know I have genoil working but I didn't document how...
Figures, I will try again and see what I find/did

Thanks!, will reflash the original Kopiemtu 3.0 image and try again with these instructions, right now it compiles, but it is not linking properly, gives me a ton of undefined crap regarding with json libraries.

will try that tomorrow and post here results, thanks for the data. Grin
newbie
Activity: 5
Merit: 0
I could swear that I got genoil working on 16.04 by using the PPA for cmake from this post
http://thecryptoworld.org/how-to-compile-ethminer-on-ubuntu-14-04
I know some info is old but I know I have genoil working but I didn't document how...
Figures, I will try again and see what I find/did
sr. member
Activity: 330
Merit: 252
it seems Cuda 8.0 is ok for my configuration...

P.S.
I have found some small bug, but easy to remove: after first boot monitor process should be stopped for 1-2 minutes...

Its algo dependent. lbry, skein and blake for example are pretty well on cuda8 with the right miner (tpruvot's release).
But some older algos or older miners could perform bad.

Because of the monitor. I noticed this too. The webinterface was not shown after first start.
After restart the monitor a few timews while switching some algos it worked.


cheers!
legendary
Activity: 1292
Merit: 1000

too bad you flash image get fucked up, can you use the one you give to us? or don't have it anymore?, if that is the case i can make it available, but my upload speed (256Kbps) is a pain and may take like 24 hours to upload.


What kind of problem is with the image?

I made two bug fixing in the fly, not significant, so I didn't change it to e.g. 3.0a,
(just change typo:
"rotate3 " to
"rotate 3" in /etc/logrotate.conf )

but my new image is working...
I'm just re-downloading current image to see if I have any problems.
hero member
Activity: 710
Merit: 502
one thing i forgot to explain!

another issue is that OpenCL fails to compile because it cannot find CL/cl.hpp , even if you put it there, it won't see it. (which i did of course!)

so edit CMakeLists.txt
the line that says:

Code:
elseif (BUNDLE STREQUAL "cudaminer")
       set (D_ETHASHCL ON)

set it to OFF

one less thing to worry about .... no OpenCL allowed here  Grin

--== EDIT ==--

Reading a LOT on the compiling errors about JSON, i found out that it is not a compiling error, the code IS compiling but it is not linking, so i am looking for references to unexisting libraries regarding json, but i am in the dark here, i have no idea where these libraries are.

too bad you flash image get fucked up, can you use the one you give to us? or don't have it anymore?, if that is the case i can make it available, but my upload speed (256Kbps) is a pain and may take like 24 hours to upload.

I have a separate high speed usb flash drive for kopiemtu 3 , from the compiemtu 2 mod #4 which is mining right now in ETH in all my rigs.

on top of that, once i have an operational mining rig, i power it off and do an image file with dd or win32diskimage of every single miner flash drive.
may look excessive but saves a lot of headaches when there is trouble, specially in my area where power outages are very frequent, and flash drives don't like it  Grin
Pages:
Jump to: