Bitcoin Forum
May 14, 2024, 05:22:23 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 ... 417 »
  Print  
Author Topic: [OS] nvOC easy-to-use Linux Nvidia Mining  (Read 417956 times)
fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
April 15, 2017, 02:00:44 PM
 #21

What about a situation like mine though, where I have 2 of one GPU and 2 of another, so I need to be able to specify different OC and powerlimits for the different cards.

v0013 supports individual card OCs; but it doesn't (as is) support individual card powerlimits.  I will add this to the next version.

If you modify oneBash.sh in the following way it will support individual card powerlimits.  You may have to stop and restart the mining process a few times before it initializes as intended; if you have a slow usb this is likely. (success can be verified either with a kill-a-watt or by viewing the power readout from EWBF).

Note: in nvOC v0013 firefox has a bookmark to this page.

replace the following part of oneBash.sh:

Quote
if [ $POWERLIMIT == "YES" ]
then
sleep 6
#change powerlimit by changing the number after -pl to the desired wattage
expect -c 'spawn sudo nvidia-smi -pl 125
expect "*password*:"
send "miner1\r" '
sleep 6
fi

with this:

Quote
if [ $POWERLIMIT == "YES" ]
then
sleep 6
#change powerlimit by changing the number after -pl to the desired wattage
expect -c 'spawn sudo nvidia-smi -i 0 -pl 125
expect "*password*:"
send "miner1\r" '
sleep 6
fi

if [ $POWERLIMIT == "YES" ]
then
sleep 6
#change powerlimit by changing the number after -pl to the desired wattage
expect -c 'spawn sudo nvidia-smi -i 1 -pl 125
expect "*password*:"
send "miner1\r" '
sleep 6
fi

if [ $POWERLIMIT == "YES" ]
then
sleep 6
#change powerlimit by changing the number after -pl to the desired wattage
expect -c 'spawn sudo nvidia-smi -i 2 -pl 125
expect "*password*:"
send "miner1\r" '
sleep 6
fi

if [ $POWERLIMIT == "YES" ]
then
sleep 6
#change powerlimit by changing the number after -pl to the desired wattage
expect -c 'spawn sudo nvidia-smi -i 3 -pl 125
expect "*password*:"
send "miner1\r" '
sleep 6
fi

replacing the number after pl to what wattage is desired for each card (see how cards are enumerated by EWBF to know which setting applies to which card ( the number after -i should match the number EWBF refers to the card as).

This is for 4x cards; as you said that is what you are using.  If you try this let me know if have any problems.



1715664143
Hero Member
*
Offline Offline

Posts: 1715664143

View Profile Personal Message (Offline)

Ignore
1715664143
Reply with quote  #2

1715664143
Report to moderator
1715664143
Hero Member
*
Offline Offline

Posts: 1715664143

View Profile Personal Message (Offline)

Ignore
1715664143
Reply with quote  #2

1715664143
Report to moderator
"Bitcoin: the cutting edge of begging technology." -- Giraffe.BTC
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715664143
Hero Member
*
Offline Offline

Posts: 1715664143

View Profile Personal Message (Offline)

Ignore
1715664143
Reply with quote  #2

1715664143
Report to moderator
DMQUALITY
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
April 25, 2017, 02:41:54 PM
Last edit: April 25, 2017, 03:16:31 PM by DMQUALITY
 #22

Hello, good OC. But could you integrate fan control in the system. Something like this.
Code:
#!/bin/sh
# cool_gpu       This script will enable or disable fixed gpu fan speed
#
# chkconfig: 345 95 5
# description:  A script hack for GPU fan control on headless GPU nodes
#

# Copyright (c)2011, Axel Kohlmeyer <akohlmey@gmail.com>

# locations of all the magic
dir=/opt/set-gpu-fans
smi=/usr/bin/nvidia-smi
set=/usr/bin/nvidia-settings

# if we have a previous GPU logger, terminate it
nvlpid=`pgrep -P 1 nvidia-smi`
if [ "x${nvlpid}" != "x" ]
then
    kill -TERM ${nvlpid}
fi

# determine major driver version
ver=`awk '/NVIDIA/ {print $8}' /proc/driver/nvidia/version | cut -d . -f 1`

# drivers from 285.x.y on allow persistence mode setting
# so we should not need the logger hack anymore
if [ ${ver} -ge 285 ]
then
  ${smi} -pm 1
else
  # initialize GPU logger printing status once per hour
  # to keep an active handle on the GPUs and we don't
  # "lose" the settings applied in the following section.
  nohup ${smi} -d -l -i 900 < /dev/null &> /dev/null &

  # it always takes some time to get all the GPUs initialized,
  # (about 5 seconds) so we give nvidia-smi a little while until
  # we launch any X servers to avoid unwanted race conditions.
  sleep 10
fi

# for multiple tesla devices, only one display is supported.
# thus we need to launch the X server once for each display
# making each of the PCI IDs the primary device in turn.

# command to set fan speed on primary GPU.
nvscmd="${set} -a [gpu:0]/GPUFanControlState=1 -a [fan:0]/GPUCurrentFanSpeed=85"

# go back to automatic, if called with stop argument
if [ "x$1" == "xstop" ]
then
  # with the newer driver, going back to default
  # is simple. we just turn off persistence mode
  # and trigger one reset by showing the GPU status
  if [ ${ver} -ge 285 ]
  then
    ${smi} -pm 0
    ${smi}
    exit
  else
    nvscmd="${set} -a [gpu:0]/GPUFanControlState=0"
  fi
fi

# get PCI bus ids of Nvidia cards and convert from hexadecimal to decimal. watch out for the falling toothpicks.
pciid=`lspci  | sed -n -e '/VGA compatib.*nVidia/s/^\(..\):\(..\).\(.\).*/printf "PCI:%d:%d:%d\\\\\\\\n" 0x\1 0x\2 0x\3;/p'`

for s in `eval ${pciid}`
do \
    cfg=`mktemp /tmp/xorg-XXXXXXXX.conf`
    sed -e s,@GPU_BUS_ID@,${s},    \
        -e s,@SET_GPU_DIR@,${dir}, \
        ${dir}/xorg.conf >> ${cfg}
    xinit ${nvscmd} --  :0 -once -config ${cfg}
    rm -f ${cfg}
done

# no need to keep the logger around
if [ "x$1" == "xstop" ]
then
    nvlpid=`pgrep -P 1 nvidia-smi`
    if [ "x${nvlpid}" != "x" ]
    then
        kill -TERM ${nvlpid}
    fi
fi
Just find another way, but after this overclock doesn't work/
Code:
sudo nvidia-xconfig 
sudo nvidia-xconfig --cool-bits=4
Reboot your system and open NVIDIA X Server from Unity dash.
You will find an extra Thermal Settings entry has been added where you can adjust GPU fan speed using the slider.
fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
April 25, 2017, 06:46:29 PM
Last edit: March 05, 2018, 06:20:45 PM by fullzero
 #23

Hello, good OC. But could you integrate fan control in the system.

This can be done with a modification to oneBash.  I didn't include fan speed control because once a card is set to manual fan control; even if the fan speed is not set or set to 0: the fan will not turn on no matter how hot the card gets.  Thus an incomplete configuration could damage cards permanently.  

There are 2 commands involved with fan speed:

the one which toggles between automatic and manual fan modes:

Code:
nvidia-settings -a [gpu:0]/GPUFanControlState=1

and the one that sets the actual fan speed:

Code:
nvidia-settings -a [fan:0]/GPUTargetFanSpeed=75

Note these are per card

You MUST ALWAYS set the fan speed when you set the fan to manual ( I would keep it above 50% if on manual; preferably higher if your ambient temperature is high).

If you set the fan speed too low and damage your cards that is your own fault.  If you are aware of the potential to damage your cards due to incomplete configuration and still want manual control; here is a version of oneBash that has fan control:

(note nvOC has a link to this thread in firefox)

Open oneBash with gedit,
delete all the code in oneBash,
then copy and paste the following code,
modify addresses, ect.. as you normally would when configuring oneBash and remember to save your changes


if [ $POWERLIMIT == "YES" ]
then
sleep 6
#change powerlimit by changing the number after -pl to the desired wattage
expect -c 'spawn sudo nvidia-smi -pl 125
expect "*password*:"
send "miner1\r" '
sleep 6
fi

if [ $INDIVIDUAL_POWERLIMIT == "YES" ]
then
sleep 6
#change GPU 0 powerlimit by changing the number after -pl to the desired wattage
expect -c 'spawn sudo nvidia-smi -i 0 -pl 125
expect "*password*:"
send "miner1\r" '
sleep 6

#change GPU 1 powerlimit by changing the number after -pl to the desired wattage
expect -c 'spawn sudo nvidia-smi -i 1 -pl 125
expect "*password*:"
send "miner1\r" '
sleep 6

#change GPU 2 powerlimit by changing the number after -pl to the desired wattage
expect -c 'spawn sudo nvidia-smi -i 2 -pl 125
expect "*password*:"
send "miner1\r" '
sleep 6

#change GPU 3 powerlimit by changing the number after -pl to the desired wattage
expect -c 'spawn sudo nvidia-smi -i 3 -pl 125
expect "*password*:"
send "miner1\r" '
sleep 6

#change GPU 4 powerlimit by changing the number after -pl to the desired wattage
expect -c 'spawn sudo nvidia-smi -i 4 -pl 125
expect "*password*:"
send "miner1\r" '
sleep 6

#change GPU 5 powerlimit by changing the number after -pl to the desired wattage
expect -c 'spawn sudo nvidia-smi -i 5 -pl 125
expect "*password*:"
send "miner1\r" '
sleep 6
fi

#  settings above
#########################################################################
#########################################################################
#########################################################################
#########################################################################
#  implementation below

NVD=nvidia-settings
COOL="sudo nvidia-xconfig --cool-bits=24"

expect -c "spawn $COOL
expect '*password*:'
send 'miner1\r'"

if [ $INDIVIDUAL_CLOCKS == "NO" ]
then
__CORE_OVERCLOCK_0=$__CORE_OVERCLOCK
MEMORY_OVERCLOCK_0=$MEMORY_OVERCLOCK
__CORE_OVERCLOCK_1=$__CORE_OVERCLOCK
MEMORY_OVERCLOCK_1=$MEMORY_OVERCLOCK
__CORE_OVERCLOCK_2=$__CORE_OVERCLOCK
MEMORY_OVERCLOCK_2=$MEMORY_OVERCLOCK
__CORE_OVERCLOCK_3=$__CORE_OVERCLOCK
MEMORY_OVERCLOCK_3=$MEMORY_OVERCLOCK
__CORE_OVERCLOCK_4=$__CORE_OVERCLOCK
MEMORY_OVERCLOCK_4=$MEMORY_OVERCLOCK
__CORE_OVERCLOCK_5=$__CORE_OVERCLOCK
MEMORY_OVERCLOCK_5=$MEMORY_OVERCLOCK
fi

TI="3"

if [ $___1050_or_1050ti == "YES" ]
then
    TI="2 3"
fi

for j in $TI
  do
    ${NVD} -a [gpu:0]/GPUGraphicsClockOffset[${j}]=${__CORE_OVERCLOCK_0}
    ${NVD} -a [gpu:0]/GPUMemoryTransferRateOffset[${j}]=${MEMORY_OVERCLOCK_0}
    ${NVD} -a [gpu:1]/GPUGraphicsClockOffset[${j}]=${__CORE_OVERCLOCK_1}
    ${NVD} -a [gpu:1]/GPUMemoryTransferRateOffset[${j}]=${MEMORY_OVERCLOCK_1}
    ${NVD} -a [gpu:2]/GPUGraphicsClockOffset[${j}]=${__CORE_OVERCLOCK_2}
    ${NVD} -a [gpu:2]/GPUMemoryTransferRateOffset[${j}]=${MEMORY_OVERCLOCK_2}
    ${NVD} -a [gpu:3]/GPUGraphicsClockOffset[${j}]=${__CORE_OVERCLOCK_3}
    ${NVD} -a [gpu:3]/GPUMemoryTransferRateOffset[${j}]=${MEMORY_OVERCLOCK_3}
    ${NVD} -a [gpu:4]/GPUGraphicsClockOffset[${j}]=${__CORE_OVERCLOCK_4}
    ${NVD} -a [gpu:4]/GPUMemoryTransferRateOffset[${j}]=${MEMORY_OVERCLOCK_4}
    ${NVD} -a [gpu:5]/GPUGraphicsClockOffset[${j}]=${__CORE_OVERCLOCK_5}
    ${NVD} -a [gpu:5]/GPUMemoryTransferRateOffset[${j}]=${MEMORY_OVERCLOCK_5}
done

if [ $MANUAL_FAN == "YES" ]
then
    ${NVD} -a [gpu:0]/GPUFanControlState=1
    ${NVD} -a [fan:0]/GPUTargetFanSpeed=${FAN_SPEED}
    ${NVD} -a [gpu:1]/GPUFanControlState=1
    ${NVD} -a [fan:1]/GPUTargetFanSpeed=${FAN_SPEED}
    ${NVD} -a [gpu:2]/GPUFanControlState=1
    ${NVD} -a [fan:2]/GPUTargetFanSpeed=${FAN_SPEED}
    ${NVD} -a [gpu:3]/GPUFanControlState=1
    ${NVD} -a [fan:3]/GPUTargetFanSpeed=${FAN_SPEED}
    ${NVD} -a [gpu:4]/GPUFanControlState=1
    ${NVD} -a [fan:4]/GPUTargetFanSpeed=${FAN_SPEED}
    ${NVD} -a [gpu:5]/GPUFanControlState=1
    ${NVD} -a [fan:5]/GPUTargetFanSpeed=${FAN_SPEED}
fi

if [ $MANUAL_FAN == "NO" ]
then
    ${NVD} -a [gpu:0]/GPUFanControlState=0
    ${NVD} -a [gpu:1]/GPUFanControlState=0
    ${NVD} -a [gpu:2]/GPUFanControlState=0
    ${NVD} -a [gpu:3]/GPUFanControlState=0
    ${NVD} -a [gpu:4]/GPUFanControlState=0
    ${NVD} -a [gpu:5]/GPUFanControlState=0
fi

if [ $COIN == "ZEC" ]
then
HCD='/home/m1/zec/miner'
ZECADDR="$ZEC_ADDRESS.$ZEC_WORKER"
until $HCD --eexit 3 --fee $EWBF_PERCENT --pec --server $ZEC_POOL --user $ZECADDR --pass z --port $ZEC_PORT --log 2 --logfile ewbf.log;
   do
   echo "FAILURE; reinit in 5" >&2
   sleep 5
done
fi

if [ $COIN == "LBC" ]
then
HCD='/home/m1/SPccminer/ccminer'
ADDR="$LBC_ADDRESS.$LBC_WORKER"

until $HCD -a lbry -o $LBC_POOL -u $ADDR -p x
   do
   echo "FAILURE; reinit in 5" >&2
   sleep 5
done
fi

if [ $COIN == "ETC" ]
then
HCD='/home/m1/9.0/ethdcrminer64'
ETCADDR="$ETC_ADDRESS/$ETC_WORKER"
until $HCD -epool $ETC_POOL -ewal $ETCADDR -epsw x -mode 1
   do
   echo "FAILURE; reinit in 5" >&2
   sleep 5
done
fi

if [ $COIN == "ETH" ]
then
HCD='/home/m1/9.0/ethdcrminer64'
ETHADDR="$ETH_ADDRESS/$ETH_WORKER"
until $HCD -epool $ETH_POOL -ewal $ETHADDR -epsw x -mode 1
   do
   echo "FAILURE; reinit in 5" >&2
   sleep 5
done
fi

if [ $COIN == "DCR" ]
then
HCD='/home/m1/pasc/sgminer'
ADDR="$DCR_ADDRESS.$DCR_WORKER"
until $HCD -k decred -o $DCR_POOL -u $ADDR -p x -p x -I 21 -w 64 -g2
   do
   echo "FAILURE; reinit in 5" >&2
   sleep 5
done
fi

if [ $COIN == "PASC" ]
then
HCD='/home/m1/pasc/sgminer'
ADDR="$PASC_ADDRESS..$PASC_WORKER"

until $HCD -k pascal -o $PASC_POOL -u $ADDR -p x -p x -I 21 -w 64 -g2
   do
   echo "FAILURE; reinit in 5" >&2
   sleep 5
done
fi

if [ $COIN == "DUAL_ETC_DCR" ]
then
HCD='/home/m1/9.0/ethdcrminer64'
ETCADDR="$ETC_ADDRESS/$ETC_WORKER"
DADDR="$DCR_ADDRESS.$DCR_WORKER"
until $HCD -epool $ETC_POOL -ewal $ETCADDR -epsw x -dpool $DCR_POOL -dwal $DADDR -dpsw x
   do
   echo "FAILURE; reinit in 5" >&2
   sleep 5
done
fi

if [ $COIN == "DUAL_ETC_PASC" ]
then
HCD='/home/m1/9.0/ethdcrminer64'
ETCADDR="$ETC_ADDRESS/$ETC_WORKER"
ADDR="$PASC_ADDRESS..$PASC_WORKER"
until $HCD -epool $ETC_POOL -ewal $ETCADDR -epsw x -dpool $PASC_POOL -dwal $ADDR -dpsw x -dcoin pasc
   do
   echo "FAILURE; reinit in 5" >&2
   sleep 5
done
fi

if [ $COIN == "DUAL_ETC_LBC" ]
then
HCD='/home/m1/9.0/ethdcrminer64'
ETCADDR="$ETC_ADDRESS/$ETC_WORKER"
ADDR="$LBC_ADDRESS.$LBC_WORKER"
until $HCD -epool $ETC_POOL -ewal $ETCADDR -epsw x -dpool $LBC_POOL -dwal $ADDR -dpsw x -dcoin lbc
   do
   echo "FAILURE; reinit in 5" >&2
   sleep 5
done
fi

if [ $COIN == "DUAL_ETH_DCR" ]
then
HCD='/home/m1/9.0/ethdcrminer64'
ETHADDR="$ETH_ADDRESS/$ETH_WORKER"
DADDR="$DCR_ADDRESS.$DCR_WORKER"
until $HCD -epool $ETH_POOL -ewal $ETHADDR -epsw x -dpool $DCR_POOL -dwal $DADDR -dpsw x
   do
   echo "FAILURE; reinit in 5" >&2
   sleep 5
done
fi

if [ $COIN == "DUAL_ETH_PASC" ]
then
HCD='/home/m1/9.0/ethdcrminer64'
ETHADDR="$ETH_ADDRESS/$ETH_WORKER"
ADDR="$PASC_ADDRESS..$PASC_WORKER"
until $HCD -epool $ETH_POOL -ewal $ETHADDR -epsw x -dpool $PASC_POOL -dwal $ADDR -dpsw x -dcoin pasc
   do
   echo "FAILURE; reinit in 5" >&2
   sleep 5
done
fi

if [ $COIN == "DUAL_ETH_LBC" ]
then
HCD='/home/m1/9.0/ethdcrminer64'
ETHADDR="$ETH_ADDRESS/$ETH_WORKER"
ADDR="$LBC_ADDRESS.$LBC_WORKER"
until $HCD -epool $ETH_POOL -ewal $ETHADDR -epsw x -dpool $LBC_POOL -dwal $ADDR -dpsw x -dcoin lbc
   do
   echo "FAILURE; reinit in 5" >&2
   sleep 5
done
fi
[/quote]


(I will add these modifications to the next release, but for now)

then for this version you will need to go thru these steps:

open a standard terminal: To open a standard terminal open the mining terminal, select the terminal, move the cursor to the top left, select file, open terminal, select Unnamed

in the standard terminal enter the following; then press enter:

Quote
sudo nvidia-xconfig

enter the password:
Quote
miner1
when prompted

THEN

in the standard terminal enter the following; then press enter:

Quote
sudo nvidia-xconfig --cool-bits=4

enter the password:
Quote
miner1
when prompted

now ensure you have saved oneBash, close the mining process if open and logout (top right select logout, then confirm).

when x changes are done and you see the blue login screen; login


let the standard mining process start: you should see that it implements manual fan control but no OC.


open a standard terminal: To open a standard terminal open the mining terminal, select the terminal, move the cursor to the top left, select file, open terminal, select Unnamed

in the standard terminal enter the following; then press enter:

Quote
sudo nvidia-xconfig

enter the password:
Quote
miner1
when prompted

THEN

in the standard terminal enter the following; then press enter:

Quote
sudo nvidia-xconfig --cool-bits=28

enter the password:
Quote
miner1
when prompted

close the mining process if open and logout (top right select logout, then confirm).

when x changes are done and you see the blue login screen; login


Now you should be able to both OC and manual fan control by changing:

MANUAL_FAN="YES"         # YES NO

FAN_SPEED=85

in oneBash

a Final warning: always use a high enough fan speed if set to manual.


fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
April 26, 2017, 11:51:19 PM
Last edit: April 27, 2017, 12:22:31 AM by fullzero
 #24

released v0014:  OP is updated

v0014 changes:
  NOTE: this version is for USB keys only
  added individual card powerlimits
  added manual fan control
  added Guake terminal (press f12 for a standard terminal)
  fixed ccminer libcudart.so.8.0 error
  removed build error logs causing system error messages
  oneBash changes:
    moved oneBash to the Windows partition (you can now configure oneBash on the computer you image the USB key with)
     If you don't have a text editor with syntax highlighting: open it with wordpad.

I recommend downloading atom if you don't have a text editor with syntax highlighting.

Image, Configure, and Mine.

fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
April 28, 2017, 12:24:55 AM
 #25

Newegg currently has the BIOSTAR TB85 motherboard in stock 1 per customer:

https://www.newegg.com/Product/Product.aspx?Item=N82E16813138436

I have rigs using this motherboard; it is fully compatible with nvOC.

Rarely in stock.  Get one while you can.
machiavellious
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
April 28, 2017, 07:21:31 AM
 #26

Thank you for this!  I was pulling my hair out trying to OC on 16.04.

I'm having trouble getting my ethernet to work, but I'm sure I'll figure it out. 16.04 server also didn't connect via ethernet until I tweaked a few things, but unfortunately the same tweaks aren't working for nvOC, and my usbstick is  too painfully slow to want to keep troubleshooting.  Wifi works no problem though.


As a token of my appreciation, I'll be mining ZEC with the default oneBash until I get a faster usbstick.
fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
April 28, 2017, 02:51:55 PM
 #27

Thank you for this!  I was pulling my hair out trying to OC on 16.04.

As a token of my appreciation, I'll be mining ZEC with the default oneBash until I get a faster usbstick.

Thanks for the hashes.  Grin

Quote
I'm having trouble getting my ethernet to work, but I'm sure I'll figure it out. 16.04 server also didn't connect via ethernet until I tweaked a few things, but unfortunately the same tweaks aren't working for nvOC, and my usbstick is  too painfully slow to want to keep troubleshooting. Wifi works no problem though.

What motherboard are you using?
zer0k
Sr. Member
****
Offline Offline

Activity: 349
Merit: 250


View Profile WWW
April 28, 2017, 05:18:30 PM
 #28

Pretty sure this is something really simple...but I can't get a login to the desktop Sad
I get a prompt with either m1 or Guest session and the password miner1 doesn't work for me at all.
It seems to take it but just jumps back to the login screen again



fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
April 28, 2017, 06:22:15 PM
 #29

Pretty sure this is something really simple...but I can't get a login to the desktop Sad
I get a prompt with either m1 or Guest session and the password miner1 doesn't work for me at all.
It seems to take it but just jumps back to the login screen again

Can you log in in console mode?

press:   ctrl + alt + f1

to enter console mode

login is:  m1

password: miner1

If you can login in console mode; type:

reboot

and press enter

the miner should restart and auto login with full X.
zer0k
Sr. Member
****
Offline Offline

Activity: 349
Merit: 250


View Profile WWW
April 28, 2017, 07:14:31 PM
 #30

Doesn't help Sad

I think the issue is with the fact I'm running headless over iKVM on a SuperMicro X9DR7-LN4F that is using the Matrox GPU built into the IPMI chipset.


fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
April 28, 2017, 07:30:10 PM
 #31

Doesn't help Sad

I think the issue is with the fact I'm running headless over iKVM on a SuperMicro X9DR7-LN4F that is using the Matrox GPU built into the IPMI chipset.


That's probably it.

Might work with a monitor direct to the primary GPU.

What cards are you running on this?

What program or application layer protocol are you using to remote access?

Do you mine XMR or other coin with the cpus?
zer0k
Sr. Member
****
Offline Offline

Activity: 349
Merit: 250


View Profile WWW
April 28, 2017, 07:39:06 PM
Last edit: April 28, 2017, 07:51:49 PM by zer0k
 #32

Doesn't help Sad

I think the issue is with the fact I'm running headless over iKVM on a SuperMicro X9DR7-LN4F that is using the Matrox GPU built into the IPMI chipset.


That's probably it.

Might work with a monitor direct to the primary GPU.

What cards are you running on this?

What program or application layer protocol are you using to remote access?

Do you mine XMR or other coin with the cpus?

I'm running a couple of 1080 ti cards, but need it to work without a monitor

Remote access is via the built in IPMI on the Supermicro motherboard
https://www.servethehome.com/supermicro-ipmiview-review-remote-server-monitoring-management-ipmi-20-kvm-over-ip/

I might do some XMR mining as it's a dual E5 Xeon board Smiley

The same symptoms occur if I take a vanilla ubuntu install and then load the nvidia drivers.
Login prompt takes the password, but then just reloads to the login again

fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
April 28, 2017, 08:03:29 PM
 #33

I'm running a couple of 1080 ti cards, but need it to work without a monitor

Remote access is via the built in IPMI on the Supermicro motherboard
https://www.servethehome.com/supermicro-ipmiview-review-remote-server-monitoring-management-ipmi-20-kvm-over-ip/

I might do some XMR mining as it's a dual E5 Xeon board Smiley

The same symptoms occur if I take a vanilla ubuntu install and then load the nvidia drivers.
Login prompt takes the password, but then just reloads to the login again

If vanilla ubuntu has the same problem; might be a compatibility problem with the nvidia driver and IPMI.

Maybe the CUDA driver will work with a vanilla ubuntu install?

I am not familiar with IPMI at all; but I found this:  http://openipmi.sourceforge.net/

Also; assuming you already configured oneBash with your info: when you boot the server with nvOC does it start mining?
fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
April 29, 2017, 01:48:59 AM
 #34

Newegg currently has the BIOSTAR TB85 motherboard in stock 1 per customer:

https://www.newegg.com/Product/Product.aspx?Item=N82E16813138436

I have rigs using this motherboard; it is fully compatible with nvOC.

Rarely in stock.  Get one while you can.

These are back in stock again.  Smiley
machiavellious
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
April 29, 2017, 04:55:44 AM
 #35

What motherboard are you using?

I'm using a Gigabyte 990FXA-UD3 R5.

To get ethernet working on 16.04 server I just had to enable ioummu in the bios, and just set dhcp in /etc/network/interfaces.  
fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
April 29, 2017, 06:38:05 PM
 #36

I'm using a Gigabyte 990FXA-UD3 R5.

To get ethernet working on 16.04 server I just had to enable ioummu in the bios, and just set dhcp in /etc/network/interfaces.  

Have you tried disabling and then enabling the ethernet?

Quote
press f12 to open the guake terminal

type:

ifconfig -a

then press enter

This should list all your network interfaces.  If you are currently using wifi there are probably 3 listed.  Your ethernet, your wifi, and your loopback (lo).

Note the interface name that corresponds to your ethernet: lets call it "ethernet" for the following commands; just swap "ethernet" with this interface name.

type:

sudo ifconfig ethernet down

then enter:

 miner1

when prompted for the password

type:

sudo ifconfig ethernet up

then enter:

 miner1

when prompted for the password

if ethernet is still not working at this point try:

sudo ifup ethernet

then enter:

 miner1

when prompted for the password


I had a few of these boards years ago; although maybe they were an earlier revision.  Used them to mine BTC with 7970s.   Smiley

fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
May 04, 2017, 02:48:34 AM
 #37

Newegg currently has the BIOSTAR TB85 motherboard in stock 1 per customer:

https://www.newegg.com/Product/Product.aspx?Item=N82E16813138436

I have rigs using this motherboard; it is fully compatible with nvOC.

Rarely in stock.  Get one while you can.

These are back in stock again.   Smiley
fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
May 07, 2017, 01:19:08 AM
Last edit: May 21, 2017, 06:40:22 PM by fullzero
 #38


OP is updated.  

When using an MSI Z270-A PRO; ensure you enable Above 4G memory option in the bios before connecting the nvOC USB.

Example rig:

$90 after rebate Smiley  MSI Z270-A PRO (in stock: 5 per customer at Newegg; also at Amazon)

$120 I recommend spending a little extra on the cpu and getting this Core i3-7100 (it will make the rig a reasonably solid desktop, and will also enable 4 thread +cpu mining in the future).  Ensure you use the promo code:  EMCRFRE24  to save more if you get this.  

$2040 6x ZOTAC mini 1070 ($340 each from Newegg)

$8 Lexar-JumpDrive-16GB USB key

$59  Corsair Vengeance 8GB DDR4 ram

$2  ATX power switch

$130 EVGA GQ-1000 psu (Note: If you use this PSU ensure that you always set a powerlimit of at 140 or less as stock TDP will put the PSU at limit: If you don't want to deal with this you can get a EVGA 1300 G2 and never worry about it, but it will cost more.)

$50 or less pm hawkfish007 pcie powered risers 6x pack or via Amazon if you want +$5 more

$150 after shipping Spotswood New model: All aluminum, mining frames for 6-7 GPUs frame via pp
or
make your own frame out of wood or using 8020.net parts and save some $

total $2649

expected hashrate using OC of +200cc and +450mc:

~2600+ sol/s  for 870 watts-at-the-wall @ 125 pl

or

~2700+ sol/s  for 970 watts-at-the-wall @ 140 pl (this is as far as I would push this PSU; I recommend using slightly lower pl: 135 or less with this PSU)

these cards can be set all the way down to 75 pl which is ~1900 sol/s for 550 watts-at-the-wall (I don't recommend this).

1.02 $/hash (hash in sol/s)

So even with a Spotswood frame (very HQ) this rig is only slightly over 1 $/hash (if you use a cheap CPU it can be under 1$/hash with the Spotswood frame)

If you make your own frame out of wood or using 8020.net parts it can also be under 1$/hash but with the Core i3  Wink

I recommend also getting a kill-a-watt to be able to easily glance at your rig and ensure your powerlimit has set correctly after a restart; especially if using the EVGA 1000GQ PSU.




philipma1957
Legendary
*
Offline Offline

Activity: 4116
Merit: 7873


'The right to privacy matters'


View Profile WWW
May 07, 2017, 03:04:31 AM
 #39

Very nice setup.

I can see this doing 1080 ti

With a gold Evga 1600 g2

It will be more costly but if you only have room for 1 rig you could push 3840 hash .

My two Msi 1080 ti do 640 and 642 which is 1282

I posted in thread I think you could do the build with 1080 ti. And push 3800 h

This would cost more but if you could only have 1 unit it would be a monster

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
fullzero (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1009



View Profile
May 07, 2017, 03:37:50 AM
Last edit: May 07, 2017, 03:48:39 AM by fullzero
 #40

Very nice setup.

I can see this doing 1080 ti

With a gold Evga 1600 g2

It will be more costly but if you only have room for 1 rig you could push 3840 hash .

My two Msi 1080 ti do 640 and 642 which is 1282

I posted in thread I think you could do the build with 1080 ti. And push 3800 h

This would cost more but if you could only have 1 unit it would be a monster

I think you could probably get ~4000 sol/s with a 6x 1080ti rig.  Might want to use some active cooling thou.   Smiley

I really want to make one of these; but I only have 2x 1080ti currently, 1 more coming on monday.  Maybe I'll get a battlecruiser eventually.
Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 ... 417 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!