Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Ubuntu,when I set background option true, the miner will not work! #68

Closed
YourWildDad opened this issue Dec 23, 2017 · 2 comments
Closed

Comments

@YourWildDad
Copy link

YourWildDad commented Dec 23, 2017

On Ubuntu server 16.04, I compiled xmrig with CUDA9.
when the background option is false. everythings is well.
but when the backgroud option is true, the miner looks like working, but speed always is n/a.
when I run the xmrig-nvidia ,my console output some result like:

root@server91:/tmp# xmrig-nvidia 
root@server91:/tmp# 
GPU 0: initialization error
cuda_get_deviceinfo line 302
Setup failed for GPU 0. Exitting.

I also set the log-file option, the log looks like this:

[2017-12-23 09:23:34]  * VERSIONS:     XMRig/2.4.2 libuv/1.8.0 CUDA/7.50 gcc/5.4.0
[2017-12-23 09:23:34]  * CPU:                Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz (1) x64 AES-NI
[2017-12-23 09:23:34]  * GPU #0:       GeForce GT 555M @ 1180/900 MHz 64x6 0x0 arch:21 SMX:3
[2017-12-23 09:23:34]  * ALGO:         cryptonight, donate=0%
[2017-12-23 09:23:34]  * POOL #1:      gulf.moneroocean.stream:10001
[2017-12-23 09:23:34]  * COMMANDS:     'h' hashrate, 'e' health, 'p' pause, 'r' resume
[2017-12-23 09:23:34] use pool gulf.moneroocean.stream:10001 45.32.81.217
[2017-12-23 09:23:34] new job from gulf.moneroocean.stream:10001 diff 1000
[2017-12-23 09:23:35] new job from gulf.moneroocean.stream:10001 diff 1935
[2017-12-23 09:24:35] no active pools, stop mining
[2017-12-23 09:24:37] speed 10s/60s/15m n/a n/a n/a H/s max: n/a H/s
[2017-12-23 09:24:41] use pool gulf.moneroocean.stream:10001 45.32.81.217
[2017-12-23 09:24:41] new job from gulf.moneroocean.stream:10001 diff 1000
[2017-12-23 09:24:53] new job from gulf.moneroocean.stream:10001 diff 1463
[2017-12-23 09:25:23] new job from gulf.moneroocean.stream:10001 diff 1463
[2017-12-23 09:25:37] speed 10s/60s/15m n/a n/a n/a H/s max: n/a H/s
[2017-12-23 09:25:53] new job from gulf.moneroocean.stream:10001 diff 975
[2017-12-23 09:25:57] new job from gulf.moneroocean.stream:10001 diff 975

How can i make this program run in background?
Thank you.

@YourWildDad YourWildDad changed the title On Ubuntu,when I set background option is true, the miner will can't work! On Ubuntu,when I set background option is true, the miner will not work! Dec 23, 2017
@YourWildDad YourWildDad changed the title On Ubuntu,when I set background option is true, the miner will not work! On Ubuntu,when I set background option true, the miner will not work! Dec 23, 2017
@seadonfrank
Copy link

seadonfrank commented Jan 19, 2018

xmrig-nvidia -B -l log-file-name -o stratum_url -u wallet_address -p x 2>&1 1> /dev/null

Notice in the last portion I added 2>&1 1> /dev/null - this will run the code in the background thus keeping all the logs on the log-file-name specified

#3

@xmrig
Copy link
Owner

xmrig commented Feb 23, 2018

Duplicate #3

@xmrig xmrig closed this as completed Feb 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants