yshui / wimp

WhereIsMyPointer
8 stars 0 forks source link

No usable adapter found #1

Closed juliancoffee closed 3 years ago

juliancoffee commented 3 years ago

Trying to run it on my i3wm, got this error.

Installed as cargo install wimp.

thread 'main' panicked at 'No usable adapter found', /home/julian/.cargo/registry/src/github.com-1ecc6299db9ec823/wimp-0.1.0/src/main.rs:143:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
juliancoffee commented 3 years ago
thread 'main' panicked at 'No usable adapter found', /home/julian/.cargo/registry/src/github.com-1ecc6299db9ec823/wimp-0.1.0/src/main.rs:143:10
stack backtrace:
   0:     0x556ffcdfe655 - backtrace::backtrace::libunwind::trace::h14d338b30b3ea0a7
                               at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86
   1:     0x556ffcdfe655 - backtrace::backtrace::trace_unsynchronized::h73ea91d74a3fd67f
                               at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66
   2:     0x556ffcdfe655 - std::sys_common::backtrace::_print_fmt::hd42948c952866e12
                               at src/libstd/sys_common/backtrace.rs:78
   3:     0x556ffcdfe655 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::ha8f928866ff7571e
                               at src/libstd/sys_common/backtrace.rs:59
   4:     0x556ffce24acc - core::fmt::write::he0c1e5f7426d2718
                               at src/libcore/fmt/mod.rs:1076
   5:     0x556ffcdfaa52 - std::io::Write::write_fmt::hf3afc6cfd57d0033
                               at src/libstd/io/mod.rs:1537
   6:     0x556ffce00cc0 - std::sys_common::backtrace::_print::hfc0110703f3696fd
                               at src/libstd/sys_common/backtrace.rs:62
   7:     0x556ffce00cc0 - std::sys_common::backtrace::print::h3f77c6990ddfaa22
                               at src/libstd/sys_common/backtrace.rs:49
   8:     0x556ffce00cc0 - std::panicking::default_hook::{{closure}}::heae49580a8d62d75
                               at src/libstd/panicking.rs:198
   9:     0x556ffce00a0c - std::panicking::default_hook::hecc34e3f729e213c
                               at src/libstd/panicking.rs:217
  10:     0x556ffce01303 - std::panicking::rust_panic_with_hook::he82f5d0644692441
                               at src/libstd/panicking.rs:526
  11:     0x556ffce00efb - rust_begin_unwind
                               at src/libstd/panicking.rs:437
  12:     0x556ffce22751 - core::panicking::panic_fmt::h09c929f06bb87c98
                               at src/libcore/panicking.rs:85
  13:     0x556ffce224e3 - core::option::expect_failed::hb49e05615ae76cc6
                               at src/libcore/option.rs:1261
  14:     0x556ffcb92506 - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h401520b2272d6999
  15:     0x556ffcbbc7ee - std::thread::local::LocalKey<T>::with::he66ef9e8ad66f523
  16:     0x556ffcb92d13 - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h96569ba934164fb5
  17:     0x556ffcbaee6e - async_global_executor::reactor::block_on::hb943fe54d522021a
  18:     0x556ffcbbc3db - std::thread::local::LocalKey<T>::with::hc99cfb0a2e749ae0
  19:     0x556ffcb82ebc - async_std::task::builder::Builder::blocking::h49c204f6246fe0a0
  20:     0x556ffcb94e44 - wimp::main::hc702faa799a9229a
  21:     0x556ffcb7ca17 - std::rt::lang_start::{{closure}}::h9ada81e81fbd7d7c
  22:     0x556ffce016d3 - std::rt::lang_start_internal::{{closure}}::h5d3ea623498f5f43
                               at src/libstd/rt.rs:52
  23:     0x556ffce016d3 - std::panicking::try::do_call::hac65e71be769a440
                               at src/libstd/panicking.rs:348
  24:     0x556ffce016d3 - std::panicking::try::hd4706e264bcf6712
                               at src/libstd/panicking.rs:325
  25:     0x556ffce016d3 - std::panic::catch_unwind::h948a0fb4a8b3ee82
                               at src/libstd/panic.rs:394
  26:     0x556ffce016d3 - std::rt::lang_start_internal::h72cc068ed2d0ac53
                               at src/libstd/rt.rs:51
  27:     0x556ffcb94e72 - main
  28:     0x7f5ac61d9152 - __libc_start_main
  29:     0x556ffcb6616e - _start
  30:                0x0 - <unknown>

in case if full backtrace can be useful

yshui commented 3 years ago

i probably should have made it clear in readme, but do you have vulkan installed?

juliancoffee commented 3 years ago

Oh, yes, after pacman -S vulkan-intel it works as expected)