#wgpu error: Validation Error

1 messages · Page 1 of 1 (latest)

river tartan
#

hello my bevy project has suddenly stopped working, so as a test i created an example project, with the following code:

// main.rs
use bevy::prelude::*;

fn main() {
  App::new()
    .add_plugins(DefaultPlugins)
    .run();
}
# Cargo.toml
[package]
name = "please_work"
version = "0.1.0"
edition = "2024"

[dependencies]
bevy = "0.16.1"

and like my original project, a window appears then disappears, and i get this in the console:

thread 'main' panicked at /home/.../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-24.0.5/src/backend/wgpu_core.rs:3432:18:
wgpu error: Validation Error

Caused by:
  In Surface::configure
    Invalid surface


note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_render::view::window::create_surfaces`!

any help would be appreciated

edit: for context, here's the output with RUST_BACKTRACE=1: https://pastebin.com/PtYGikzi

please @ to reply

gray drift
river tartan
gray drift
#

Could you check whether you're on Wayland or X11? Easiest way is to run xeyes and see whether they follow your mouse pointer when its moving over the desktop. If they only follow over some applications, its Wayland, if they always follow, its X11.

#

@river tartan forgor reply/ping

gray drift
#

aight so x11, that rules out one thing i was thinking of