Is it possible to mine with GeForce GTX 1050 Ti? (answer: NO)

I am trying to mine on:
CPU: Intel Core I5-8600K CPU @ 3.60Ghz x 6
GPU: GP107 [GeForce GTX 1050 Ti]

I did try mine on Windows, but goldMiner says: “find 0 suitable CPU” and same fo GPU (0 devices)
So I install Linux Mint, trying to build https://github.com/mimblewimble/grin-miner , after some pain I build it, but now it can’t run cause of some problems with “libncurses” library.

So my question is:

  1. Is it possible to mine on mine hardware?
  2. What is the best OS to do so? (lowest pain with drivers and compilation)

Hello @pronvis,

well technically, YES… I’ve tested a 1050ti (4GB) on regular GrinMiner, rinning C31 in OpenCL mode(UBUNTU 16.04 - HiveOS)!
Bottom line, it RUNS!!! but if I remember correctly, it got me 0.046 GPS… so YEAH, it’s ‘possible’… but don’t do it… it’s a waste of your time and electricity!

Hi @joserva, thanks for answer!
Thanks for info about HiveOS - will take a look.
I want to mine GRIN, but don’t know is it profitable or not, so want to test it on my home game PC. Thats why)

it got me 0.046 GPS

Strange!

  • MacBook Pro gives me 0.2 GPS (4 cpus)
  • PC gives me 0.4 GPS (8 cpus)

Okey, now I get it :slight_smile:
When I mine with GPU - I’ve got 0.042 GPS on my GTX 1050 TI, but that was with ocl_cuckatoo plugin, which is only one plugin that works with my video card :frowning: When I tried with cuckaroo_cuda_29 plugin there is error in log:

thread 'unnamed' panicked at 'called `Option::unwrap` on a `None` value': libcore/option.rs:355stack backtrace:
<< nothing interestin in backtrace >>

But now I found that there is no nvcc in HiveOS, so currently I am installing it… hope cuda will work :slight_smile:

Don’t know why, maybe cause they says “currently requires 5.5GB+ GPU memory”, but I have only 4GB… But I fail to start mining on GeForce GTX 1050 Ti with cuda enabled :frowning:

I tried mine on

  • HiveOS
  • Ubuntu (download from releases and build from sources)

Everytime I have something like this in logs:

Feb 24 21:24:19.778 DEBG Loading miner plugin: <working-directory>/grin-miner/target/debug/plugins/cuckaroo_cuda_29.cuckooplugin
Feb 24 21:24:19.889 ERRO
thread 'unnamed' panicked at 'called `Option::unwrap()` on a `None` value': src/libcore/option.rs:355stack backtrace:
   0:     0x55abcefd6726 - backtrace::backtrace::libunwind::trace::h6703915b626cbc01
                        at <home-directory>/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/backtrace/libunwind.rs:53
                         - backtrace::backtrace::trace::h285eb4d8791d79db
                        at <home-directory>/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/backtrace/mod.rs:42
   1:     0x55abcefd0cd3 - backtrace::capture::Backtrace::new_unresolved::hc5b9d09c68632a2a
                        at <home-directory>/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/capture.rs:88
   2:     0x55abcefd0c2d - backtrace::capture::Backtrace::new::h405ada1e3f17f18f
                        at <home-directory>/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/capture.rs:63
   3:     0x55abcef048b7 - grin_miner_util::logger::send_panic_to_log::{{closure}}::h25c4a4a6e112012d
                        at util/src/logger.rs:120
   4:     0x55abcf073ae9 - std::panicking::rust_panic_with_hook::h8cbdfe43764887be
                        at src/libstd/panicking.rs:495
   5:     0x55abcf073591 - std::panicking::continue_panic_fmt::h3d3c5a833c00a5e1
                        at src/libstd/panicking.rs:398
   6:     0x55abcf073475 - rust_begin_unwind
                        at src/libstd/panicking.rs:325
   7:     0x55abcf0898fc - core::panicking::panic_fmt::h4d67173bc68f6d5a
                        at src/libcore/panicking.rs:95
   8:     0x55abcf08982b - core::panicking::panic::h6f50c0de2dcd7974
                        at src/libcore/panicking.rs:59
   9:     0x55abceec17af - <core::option::Option<T>>::unwrap::hd992011a51ba8313
                        at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libcore/macros.rs:20
  10:     0x55abcee8fc66 - cuckoo_miner::miner::miner::CuckooMiner::solver_thread::h412c8a1f734ee47e
                        at cuckoo-miner/src/miner/miner.rs:95
  11:     0x55abceebbcd0 - cuckoo_miner::miner::miner::CuckooMiner::start_solvers::{{closure}}::h12f4a7564d6543a9
                        at cuckoo-miner/src/miner/miner.rs:226
  12:     0x55abceebeef4 - std::sys_common::backtrace::__rust_begin_short_backtrace::hc5c71efba63a5b4e
                        at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/sys_common/backtrace.rs:136
  13:     0x55abceeb7733 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h8199af4253ccf83f
                        at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/thread/mod.rs:477
  14:     0x55abceecaec3 - <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::ha766b4a73e0821fe
                        at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/panic.rs:319
  15:     0x55abceecb24f - std::panicking::try::do_call::h1e48d4cefcda83ea
                        at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/panicking.rs:310
  16:     0x55abcf0833d9 - __rust_maybe_catch_panic
                        at src/libpanic_unwind/lib.rs:102
  17:     0x55abceecb005 - std::panicking::try::h4bae5d523869bb9d
                        at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/panicking.rs:289
  18:     0x55abceecaf55 - std::panic::catch_unwind::h60580d83ac2927d6
                        at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/panic.rs:398
  19:     0x55abceeb71a5 - std::thread::Builder::spawn_unchecked::{{closure}}::h2e868f05dffdde4a
                        at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/thread/mod.rs:476
  20:     0x55abceeb7908 - <F as alloc::boxed::FnBox<A>>::call_box::hbc25a24e8eb8010d
                        at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/liballoc/boxed.rs:673
  21:     0x55abcf0772bd - <alloc::boxed::Box<(dyn alloc::boxed::FnBox<A, Output=R> + 'a)> as core::ops::function::FnOnce<A>>::call_once::hece536cf07b94f8d
                        at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/liballoc/boxed.rs:683
                         - std::sys_common::thread::start_thread::h9605a7df0f911844
                        at src/libstd/sys_common/thread.rs:24
                         - std::sys::unix::thread::Thread::new::thread_start::hca8e72c41fa9d291
                        at src/libstd/sys/unix/thread.rs:90
  22:     0x7f09e0b27163 - start_thread
  23:     0x7f09e0a35dee - __clone
  24:                0x0 - <unknown>

Any ideas how to fix that?

I fail to start mining on mine GTX 1050 Ti (with cuda enabled) :frowning:

I tried on:

  • HiveOS
  • Ubuntu (download release and build from sources grin-miner)

Everytime miner fail at start with something like this in logs:

Feb 24 21:24:19.778 DEBG Loading miner plugin: <working-directory>/grin-miner/target/debug/plugins/cuckaroo_cuda_29.cuckooplugin
Feb 24 21:24:19.889 ERRO
thread 'unnamed' panicked at 'called `Option::unwrap()` on a `None` value': src/libcore/option.rs:355stack backtrace:
   0:     0x55abcefd6726 - backtrace::backtrace::libunwind::trace::h6703915b626cbc01
                        at <home-directory>/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/backtrace/libunwind.rs:53
                         - backtrace::backtrace::trace::h285eb4d8791d79db
                        at <home-directory>/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/backtrace/mod.rs:42
   1:     0x55abcefd0cd3 - backtrace::capture::Backtrace::new_unresolved::hc5b9d09c68632a2a
                        at <home-directory>/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/capture.rs:88
   2:     0x55abcefd0c2d - backtrace::capture::Backtrace::new::h405ada1e3f17f18f
                        at <home-directory>/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/capture.rs:63
   3:     0x55abcef048b7 - grin_miner_util::logger::send_panic_to_log::{{closure}}::h25c4a4a6e112012d
                        at util/src/logger.rs:120
   4:     0x55abcf073ae9 - std::panicking::rust_panic_with_hook::h8cbdfe43764887be
                        at src/libstd/panicking.rs:495
   5:     0x55abcf073591 - std::panicking::continue_panic_fmt::h3d3c5a833c00a5e1
                        at src/libstd/panicking.rs:398
   6:     0x55abcf073475 - rust_begin_unwind
                        at src/libstd/panicking.rs:325
   7:     0x55abcf0898fc - core::panicking::panic_fmt::h4d67173bc68f6d5a
                        at src/libcore/panicking.rs:95
   8:     0x55abcf08982b - core::panicking::panic::h6f50c0de2dcd7974
                        at src/libcore/panicking.rs:59
   9:     0x55abceec17af - <core::option::Option<T>>::unwrap::hd992011a51ba8313
                        at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libcore/macros.rs:20
  10:     0x55abcee8fc66 - cuckoo_miner::miner::miner::CuckooMiner::solver_thread::h412c8a1f734ee47e
                        at cuckoo-miner/src/miner/miner.rs:95
  11:     0x55abceebbcd0 - cuckoo_miner::miner::miner::CuckooMiner::start_solvers::{{closure}}::h12f4a7564d6543a9
                        at cuckoo-miner/src/miner/miner.rs:226
  12:     0x55abceebeef4 - std::sys_common::backtrace::__rust_begin_short_backtrace::hc5c71efba63a5b4e
                        at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/sys_common/backtrace.rs:136
  13:     0x55abceeb7733 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h8199af4253ccf83f
                        at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/thread/mod.rs:477
  14:     0x55abceecaec3 - <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::ha766b4a73e0821fe
                        at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/panic.rs:319
  15:     0x55abceecb24f - std::panicking::try::do_call::h1e48d4cefcda83ea
                        at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/panicking.rs:310
  16:     0x55abcf0833d9 - __rust_maybe_catch_panic
                        at src/libpanic_unwind/lib.rs:102
  17:     0x55abceecb005 - std::panicking::try::h4bae5d523869bb9d
                        at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/panicking.rs:289
  18:     0x55abceecaf55 - std::panic::catch_unwind::h60580d83ac2927d6
                        at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/panic.rs:398
  19:     0x55abceeb71a5 - std::thread::Builder::spawn_unchecked::{{closure}}::h2e868f05dffdde4a
                        at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/thread/mod.rs:476
  20:     0x55abceeb7908 - <F as alloc::boxed::FnBox<A>>::call_box::hbc25a24e8eb8010d
                        at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/liballoc/boxed.rs:673
  21:     0x55abcf0772bd - <alloc::boxed::Box<(dyn alloc::boxed::FnBox<A, Output=R> + 'a)> as core::ops::function::FnOnce<A>>::call_once::hece536cf07b94f8d
                        at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/liballoc/boxed.rs:683
                         - std::sys_common::thread::start_thread::h9605a7df0f911844
                        at src/libstd/sys_common/thread.rs:24
                         - std::sys::unix::thread::Thread::new::thread_start::hca8e72c41fa9d291
                        at src/libstd/sys/unix/thread.rs:90
  22:     0x7f09e0b27163 - start_thread
  23:     0x7f09e0a35dee - __clone
  24:                0x0 - <unknown>

Hooooray! I found the reason and solution for that exception!
The problem was in nvidia driver, solution

Now I see human readable error in log: Device 0 (GeForce GTX 1050 Ti) has ERRORED! Reason: Device 0 GPUassert: out of memory ...

Hi man. Mining Cuckatoo31(C31) on your hardware makes no sense. There are two types of miners (usually called lean & mean). Lean miners use less memory but are slow. Mean miner for C31 needs approximately 10GB of RAM and if you have less you loose performance. I think that it would be possible to use 7GB but you would need to recompute all hashes more times than if you have 10GB. Below 7GB I don’t think it will ever make sense because performance hit woul be too high.

The story for Cuckaroo29 is similar. With ~5GB it’s optimal and you can use less with some performance hit. I think that with a lot of effort mining on 3GB card would be possible.

BUT the problem is that I’m not aware of such implementations. Core Grin team provided miners that work with these optimal memory configurations. I.e. there is implementation on Tromps github for C31 that works on 11GB cards and C29 on 6GB cards but not much effort will be put into optimizing mining on these sub-optimal memory sizes. There are some third party miners but I’m not aware of any that works on 4GB card.

So the answer is YES in theory but likely-NO in practice.

1 Like