neovide: [OSX] Vulkan support is either not configured in SDL or not available in current SDL video driver (cocoa) or platform

Tried to run and got this:

Ignored client type property: "methods"
Ignored client type property: "attributes"
Ignored style attribute: "standout"
thread 'main' panicked at 'Failed to create window: SdlError("Vulkan support is either not configured in SDL or not available in current SDL video driver (cocoa) or platform")', src/window/sdl2.rs:132:14
stack backtrace:
   0:        0x10e7a5135 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h24bb64d98a7e25d6
   1:        0x10e71d82c - core::fmt::write::h8fdc9cddb01cd8b2
   2:        0x10e7a4749 - std::io::Write::write_fmt::hcc3030013983bab6
   3:        0x10e7a4105 - std::panicking::default_hook::{{closure}}::h95817712c5ff0736
   4:        0x10e7a3852 - std::panicking::rust_panic_with_hook::haf571858f996ac45
   5:        0x10e7a7dda - rust_begin_unwind
   6:        0x10ece507f - core::panicking::panic_fmt::h11676ba6a846d9f4
   7:        0x10ece55e5 - core::option::expect_none_failed::h312e48bacb63d8ec
   8:        0x10e6f1c6b - neovide::window::window_wrapper::ui_loop::h0723425ccd7c2cf4
   9:        0x10e6b89ac - neovide::main::hb205e48d6028f98e
  10:        0x10e7b65f6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hd67e5532c4fc3d97
  11:        0x10e6b7712 - main

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 36 (4 by maintainers)

Commits related to this issue

Most upvoted comments

I got a brand new laptop with OSX 10.15.6 (19G73) and ran into the same error trying to install from source. It worked after doing the following following @aclysma’s advice above:

1. I updated `sdl2-sys` version to `0.34.2` in `Cargo.toml`.

2. `cargo update --package sdl2-sys --precise 0.34.2`

It works to me also (macOS 10.15.7)

woohoo! - this solution worked for me as well. I’ve been using neovide for about 6 months and have been loving it. Thank you!

I had compiled neovide without issue 6 months ago, and ran into this same issue today when I pulled down the latest and greatest. I’m on 10.15.7

and yup. the following worked

1. I updated sdl2-sys version to 0.34.2 in Cargo.toml.
2. cargo update --package sdl2-sys --precise 0.34.2

Do you think this is something that should be added to the install docs? or perhaps downgrade sdl2-sys on the repo src?

I got a brand new laptop with OSX 10.15.6 (19G73) and ran into the same error trying to install from source. It worked after doing the following following @aclysma’s advice above:

  1. I updated sdl2-sys version to 0.34.2 in Cargo.toml.
  2. cargo update --package sdl2-sys --precise 0.34.2