Giter Club home page Giter Club logo

boids-rs's People

Contributors

alexxroche avatar henninglive avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

alexxroche

boids-rs's Issues

Compiles but runtime error Vulkan instance: VkError(ERROR_INCOMPATIBLE_DRIVER)

Following issue/1 "Fixed by upgrading to Amethyst version 0.15.3 and Nalgebra version 0.19.0."
pulled d3d566b and cargo build downloaded and compiled 2 Gig of crates! [Rust disk-space hungry!]

$ time cargo run
<snip>
   Compiling amethyst v0.15.3
   Compiling fluent-bundle v0.11.0
   Compiling image v0.21.3
   Compiling image v0.22.5
   Compiling image v0.23.14
   Compiling smithay-client-toolkit v0.4.6
<snip>
    Running `target/debug/boids`
[INFO][amethyst::app] Initializing Amethyst...
[INFO][amethyst::app] Version: 0.15.3
[INFO][amethyst::app] Platform: x86_64-unknown-linux-gnu
[INFO][amethyst::app] Amethyst git commit: UNKNOWN
[INFO][amethyst::app] Rustc version: 1.47.0 Stable
[INFO][amethyst::app] Rustc git commit: 18bf6b4f01a6feaf7259ba7cdae58031af1b7b39
[INFO][winit::platform::platform::x11::window] Guessed window DPI factor: 1.0833333333333333
[WARN][gfx_backend_vulkan] Unable to find extension: VK_KHR_surface
[WARN][gfx_backend_vulkan] Unable to find extension: VK_KHR_xlib_surface
[WARN][gfx_backend_vulkan] Unable to find extension: VK_KHR_xcb_surface
[WARN][gfx_backend_vulkan] Unable to find extension: VK_KHR_wayland_surface
[WARN][gfx_backend_vulkan] Unable to find layer: VK_LAYER_LUNARG_standard_validation
[WARN][gfx_backend_vulkan] Unable to create Vulkan instance: VkError(ERROR_INCOMPATIBLE_DRIVER)
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Unsupported', ~/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-backend-vulkan-0.3.3/src/lib.rs:326:41
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

real    0m6.397s
-------------------------------------------------------------------------------

$ time RUST_BACKTRACE=1 cargo run --release
    Finished release [optimized] target(s) in 0.16s
     Running `target/release/boids`
[INFO][amethyst::app] Initializing Amethyst...
[INFO][amethyst::app] Version: 0.15.3
[INFO][amethyst::app] Platform: x86_64-unknown-linux-gnu
[INFO][amethyst::app] Amethyst git commit: UNKNOWN
[INFO][amethyst::app] Rustc version: 1.47.0 Stable
[INFO][amethyst::app] Rustc git commit: 18bf6b4f01a6feaf7259ba7cdae58031af1b7b39
[INFO][winit::platform::platform::x11::window] Guessed window DPI factor: 1.0833333333333333
[WARN][gfx_backend_vulkan] Unable to find extension: VK_KHR_surface
[WARN][gfx_backend_vulkan] Unable to find extension: VK_KHR_xlib_surface
[WARN][gfx_backend_vulkan] Unable to find extension: VK_KHR_xcb_surface
[WARN][gfx_backend_vulkan] Unable to find extension: VK_KHR_wayland_surface
[WARN][gfx_backend_vulkan] Unable to create Vulkan instance: VkError(ERROR_INCOMPATIBLE_DRIVER)
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Unsupported', ~/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-backend-vulkan-0.3.3/src/lib.rs:326:41
stack backtrace:
   0: rust_begin_unwind
             at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/std/src/panicking.rs:475
   1: core::panicking::panic_fmt
             at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/panicking.rs:85
   2: core::option::expect_none_failed
             at /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/option.rs:1221
   3: gfx_backend_vulkan::Instance::create  
   4: <amethyst_rendy::system::RenderingSystem<B,G> as shred::system::RunNow>::setup
   5: <shred::dispatch::dispatcher::Dispatcher as shred::system::RunNow>::setup
   6: amethyst::game_data::GameDataBuilder::build_dispatcher
   7: <amethyst::game_data::GameDataBuilder as amethyst::game_data::DataInit<amethyst::game_data::GameData>>::build
   8: amethyst::app::CoreApplication<T,E,R>::new
   9: boids::main

real    8m53.310s
user    33m45.506s
sys     0m33.951s

This is on debian 10:

$ uname -a
Linux laptop 4.12.0-1-amd64 #1 SMP Debian 4.12.6-1 (2017-08-12) x86_64 GNU/Linux
$ rustc --version
rustc 1.53.0-nightly (07e0e2ec2 2021-03-24)
$ cargo --version
cargo 1.52.0-nightly (90691f2bf 2021-03-16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.