Post
Topic
Board Mining (Altcoins)
Re: [OS] nvOC easy-to-use Linux Nvidia Mining
by
cryptosharks
on 18/06/2017, 16:02:00 UTC
Hey fullzero,

I have encountered an issue when trying to run oneBash:

bash oneBash
spawn sudo nvidia-smi -pl 150
Power limit for GPU 0000:01:00.0 was set to 150.00 W from 150.00 W.

Warning: persistence mode is disabled on this device. This settings will go back to default as soon as driver unloads (e.g. last application like nvidia-smi or cuda application terminates). Run with [--help | -h] switch to get more information on how to enable persistence mode.

All done.
send: spawn id exp4 not open
while executing
"send "miner1\r" "
spawn sudo nvidia-xconfig --cool-bits=24

Using X configuration file: "/etc/X11/xorg.conf".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

send: spawn id exp4 not open
while executing
"send 'miner1\r'"
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

+-------------------------------------------------+
|         EWBF's Zcash CUDA miner. 0.3.3b         |
+-------------------------------------------------+
INFO: Server: zec-us-east1.nanopool.org:6666
INFO: Solver Auto.
INFO: Devices: All.
INFO: Temperature limit: 90
INFO: Api: Disabled
---------------------------------------------------
INFO: Target: 000369d000000000...
INFO: Detected new work: 1497719512
CUDA: Device: 0 GeForce GTX 1080, 8113 MB


If you manually start one oneBash; always use the absolute path:

Code:
bash '/home/m1/Desktop/oneBash'

Let me know if you still have this problem when doing so.


Just tried that, the issue seems to persist:

spawn sudo nvidia-smi -pl 150
Power limit for GPU 0000:01:00.0 was set to 150.00 W from 150.00 W.
All done.
send: spawn id exp4 not open
    while executing
"send "miner1\r" "
spawn sudo nvidia-xconfig --cool-bits=24

Using X configuration file: "/etc/X11/xorg.conf".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

send: spawn id exp4 not open
    while executing
"send 'miner1\r'"
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

Also, when I open nvidia-settings - this is what I see: http://i.imgur.com/gfpIByzl.png

Any ideas?

Edit: it's a headless server - no display attached.