lavapipe error on linux #6102
Unanswered
Scrappy-DO
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everybody
im having issues with running the app i compiled
the error i get is somthing with lavapipe
scrappy@penguin:~/coding/rust/games/invaders$ ./target/debug/invaders 2022-09-26T08:42:11.471914Z INFO winit::platform_impl::platform::x11::window: Guessed window scale factor: 1 2022-09-26T08:42:12.080377Z INFO bevy_render::renderer: AdapterInfo { name: "llvmpipe (LLVM 11.0.1, 128 bits)", vendor: 65541, device: 0, device_type: Cpu, backend: Vulkan } WARNING: lavapipe is not a conformant vulkan implementation, testing use only. Segmentation fault (core dumped) scrappy@penguin:~/coding/rust/games/invaders
the code im using is this
`#![allow(unused)]
use bevy::prelude::*;
use bevy::input::InputPlugin;
use bevy::window::WindowPlugin;
use bevy::core::CorePlugin;
fn main() {
App::new()
.insert_resource(ClearColor(Color::rgb(0.04, 0.04, 0.04)))
.insert_resource(WindowDescriptor{
title: "Rust invaders".to_string(),
width: 598.0,
height: 676.0,
..Default::default()
})
.add_plugins(DefaultPlugins)
.run();
}`
and i don't get the error with this code but the window doesn't show up
`#![allow(unused)]
use bevy::prelude::*;
use bevy::input::InputPlugin;
use bevy::window::WindowPlugin;
use bevy::core::CorePlugin;
fn main() {
App::new()
.insert_resource(ClearColor(Color::rgb(0.04, 0.04, 0.04)))
.insert_resource(WindowDescriptor{
title: "Rust invaders".to_string(),
width: 598.0,
height: 676.0,
..Default::default()
})
.add_plugin(CorePlugin::default())
.add_plugin(InputPlugin::default())
.add_plugin(WindowPlugin::default())
.run();
}`
cargo.toml for the library versions
`[package]
name = "invaders"
version = "0.1.0"
edition = "2021"
See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bevy = "0.8"
rand = "0.8"
[workspace]
resolver = "2"
`
can sombody help?
Beta Was this translation helpful? Give feedback.
All reactions