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

Miner crashes at start, no error #214

Open
raedeus opened this issue Feb 21, 2018 · 3 comments
Open

Miner crashes at start, no error #214

raedeus opened this issue Feb 21, 2018 · 3 comments

Comments

@raedeus
Copy link

raedeus commented Feb 21, 2018

Hello again,

Now that I've got this compiled I have run into the next roadblock. Might very well be user error. The miner just seems to stop right after execution. I am using bumblebee and optimus. Here's the output below:

[username]$: optirun ./ccminer -a neoscrypt -o stratum+tcp://pool.unimining.net:4236 -u GP5PMrCHh1CKwipAusQFUbPpPqmBtASTgb -p c=GBX

Based on pooler cpuminer 2.3.2 and the tpruvot@github fork
CUDA support by Christian Buchner, Christian H. and DJM34
Includes optimizations implemented by sp-hash, klaust, tpruvot and tsiv.

WARNING! GCC 7 IS NOT COMPATIBLE WITH CUDA 9!
PLEASE USE GCC 6

[2018-02-21 10:43:53] Starting Stratum on stratum+tcp://pool.unimining.net:4236
[2018-02-21 10:43:53] NVML GPU monitoring enabled.
[2018-02-21 10:43:53] 1 miner thread started, using 'neoscrypt' algorithm.
0
[username]$:

I set up the wallet address on Coinomi. Not sure if that has to with anything.

Any help is greatly appreciated!

Thanks for your time on this project!

raedeus

@KlausT
Copy link
Owner

KlausT commented Feb 21, 2018

I don't know anything about optimus and bumblebee, I'm not sure I can help you there.
Does ccminer --ndevs work? It should show what kind of cards it thinks you have.

@raedeus
Copy link
Author

raedeus commented Feb 22, 2018

Looks correct:

./ccminer --ndevs
ccminer 8.20-KlausT (64bit) for nVidia GPUs
Compiled with GCC 7.3 using Nvidia CUDA Toolkit 9.1

Based on pooler cpuminer 2.3.2 and the tpruvot@github fork
CUDA support by Christian Buchner, Christian H. and DJM34
Includes optimizations implemented by sp-hash, klaust, tpruvot and tsiv.

WARNING! GCC 7 IS NOT COMPATIBLE WITH CUDA 9!
PLEASE USE GCC 6

GPU #0: SM 5.2 GeForce GTX 970M

If it helps, or maybe not, I have tested with ghostlander's "cudaminer-neoscrypt". Compilation looked similar and it runs with the same options. So, the wallet isn't the issue. I didn't see any glaring errors in compilation and the binary did generate so I am not sure here.

Any other thoughts? Weird that it just prints a 0 and exits.

(PS) Bumblebee and Optimus are used to switch between the integrated Intel graphics and dedicated card. Happens in the background on Win7/10. Those two apps run so that you can select which apps to run the dedicated card on, otherwise the dedicated card would be running the whole time and suck power. I haven't had any trouble running any other miner with them as I believe they aren't really "seen" by other programs as interfering. Not sure though. Maybe with the way this was built there is something keeping it from running. I will disable and try it out.

raedeus

@raedeus
Copy link
Author

raedeus commented Feb 23, 2018

Hey there KlausT!

Once again, thank you for your ongoing work with this project. I disabled the bumblebee/optimus and ran it clean but still got nothing. Now it's giving me a segmentation fault. Not sure....

It built no problem.

Here's my output.

$: ./ccminer -a neoscrypt -o stratum+tcp://pool.unimining.net:4236 -u GP5PMrCHh1CKwipAusQFUbPpPqmBtASTgb -p c=GBX

ccminer 8.20-KlausT (64bit) for nVidia GPUs
Compiled with GCC 7.3 using Nvidia CUDA Toolkit 9.1

Based on pooler cpuminer 2.3.2 and the tpruvot@github fork
CUDA support by Christian Buchner, Christian H. and DJM34
Includes optimizations implemented by sp-hash, klaust, tpruvot and tsiv.

WARNING! GCC 7 IS NOT COMPATIBLE WITH CUDA 9!
PLEASE USE GCC 6

[2018-02-23 09:53:23] Starting Stratum on stratum+tcp://pool.unimining.net:4236
[2018-02-23 09:53:23] NVML GPU monitoring enabled.
[2018-02-23 09:53:23] 1 miner thread started, using 'neoscrypt' algorithm.
0
Segmentation fault (core dumped)
$:

Any thoughts?

Thanks again,

raedeus

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

2 participants