Help with mining config (ubuntu)

Hi all - I’m trying to get a mining rig setup on Ubuntu, and seem to be running into issues. I’m hoping someone can point me in the right direction to what I am doing wrong, as I am lost.

I’ve built both grin, and the grin-miner successfully, and enabled the gpu plugins. However, after starting grin and grin-miner, after listening to the wallet, the program immediately quits with a message of "illegal instruction (core dumped). At first, I thought it may be due to gpu plugin/and possibly a misconfigured grin-miner.toml file (I have several cards), but even if I disable the cuda-plugin in the config file and just cpu mine with 2 threads, it immediately bombs out with the same error.

Checking the error log I get this:

"Jan 22 21:31:38.859 ERRO
thread ‘unnamed’ panicked at ‘called Option::unwrap() on a None value’: libcore/option.rs:355stack backtrace:
0: 0x56483c31e376 - backtrace::backtrace::libunwind::trace::h67350768f045b497
at /home/miner2/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/backtrace/libunwind.rs:53
- backtrace::backtrace::trace::hfa024cb19a0de9eb
at /home/miner2/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/backtrace/mod.rs:42
1: 0x56483c318a83 - backtrace::capture::Backtrace::new_unresolved::ha4147d1e7635c793
at /home/miner2/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/capture.rs:88
2: 0x56483c3189dd - backtrace::capture::Backtrace::new::ha063bbb620b340dc
at /home/miner2/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/capture.rs:63
3: 0x56483c250a97 - grin_miner_util::logger::send_panic_to_log::{{closure}}::hb54c5b2221551583
at util/src/logger.rs:120
4: 0x56483c3bc796 - std::panicking::rust_panic_with_hook::hde420d6fd4455550
at libstd/panicking.rs:480
5: 0x56483c3bc2e1 - std::panicking::continue_panic_fmt::h8f394f3c578bcc76
at libstd/panicking.rs:390
6: 0x56483c3bc1c5 - rust_begin_unwind
at libstd/panicking.rs:325
7: 0x56483c402e9c - core::panicking::panic_fmt::hca5dc4e8b320bc56
at libcore/panicking.rs:77
8: 0x56483c402dcb - core::panicking::panic::hca17aeb7dac42859
at libcore/panicking.rs:52
9: 0x56483c20340f - <core::option::Option>::unwrap::hd3c5a83c3be6f792
at libcore/macros.rs:20
10: 0x56483c207126 - cuckoo_miner::miner::miner::CuckooMiner::solver_thread::h52de15be728fb576
at cuckoo-miner/src/miner/miner.rs:95
11: 0x56483c210188 - cuckoo_miner::miner::miner::CuckooMiner::start_solvers::{{closure}}::h5f55ec623f78f993
at cuckoo-miner/src/miner/miner.rs:226
12: 0x56483c2183a6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hcbb9f7d65e353066
at libstd/sys_common/backtrace.rs:136
13: 0x56483c2147b5 - std::thread::Builder::spawn::{{closure}}::{{closure}}::hf92603606ef8c993
at libstd/thread/mod.rs:409
14: 0x56483c2184b5 - <std::panic::AssertUnwindSafe as core::ops::function::FnOnce<()>>::call_once::hd0bf12d7382fbf2a
at libstd/panic.rs:313
15: 0x56483c219d91 - std::panicking::try::do_call::h307618887e6955ff
at libstd/panicking.rs:310
16: 0x56483c3cc829 - __rust_maybe_catch_panic
at libpanic_unwind/lib.rs:102
17: 0x56483c219bf7 - std::panicking::try::h3c020e099b04b87a
at libstd/panicking.rs:289
18: 0x56483c218547 - std::panic::catch_unwind::hd606699f51518756
at libstd/panic.rs:392
19: 0x56483c21454c - std::thread::Builder::spawn::{{closure}}::haf72def0de8e8d31
at libstd/thread/mod.rs:408
20: 0x56483c214808 - <F as alloc::boxed::FnBox>::call_box::h08f1182abfd3db35
at liballoc/boxed.rs:672
21: 0x56483c3b9bed - <alloc::boxed::Box<(dyn alloc::boxed::FnBox<A, Output=R> + 'a)> as core::ops::function::FnOnce
>::call_once::h9d902c911a417e39
at liballoc/boxed.rs:682
- std::sys_common::thread::start_thread::h44127e03e78ca137
at libstd/sys_common/thread.rs:24
22: 0x56483c3aaf05 - std::sys::unix::thread::thread::new::thread_start::h8f17b97f2223146c
at libstd/sys/unix/thread.rs:90
23: 0x7f0e5b73c6b9 - start_thread
24: 0x7f0e5b25c41c - clone
25: 0x0 - "

Does anyone have any pointers or helpful suggestions so I can get this going? While I’m here, does anyone have any suggestions on how best to craft the config file for multiple GPU’s (specifically gtx 1070’s)? I literally just copied this block:

currently requires 5.5GB+ GPU memory

[[mining.miner_plugin_config]]
plugin_name = “cuckaroo_cuda_29”
#[mining.miner_plugin_config.parameters]
device = 0
cpuload = 1
ntrims = 176
genablocks = 4096
genatpb = 128
genbtpb = 128
trimtpb = 512
tailtpb = 1024
recoverblocks = 1024
recovertpb = 1024

for each device listed in nvidia-smi, which admittedly may be a dumb way to achieve this.

Thank you in advance for any help you may be able to offer.