bevyengine / bevyengine/bevy

breakout example panics due to "No supported formats for surface"

Open
#20,481 8 comments 0 reactions 0 assignees View on GitHub
A-Rendering C-Bug C-Examples C-Machine-Specific D-Shaders I-Regression O-Linux O-Vulkan S-Blocked
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version

0.17-dev acc8f6d45547f3e9cbc0b1fc5868a3e1b70cf26b

## \[Optional\] Relevant system information
```
✘ techn0@IO  ~/source/bevy   main  rustc -Vv
rustc 1.89.0 (29483883e 2025-08-04)
binary: rustc
commit-hash: 29483883eed69d5fb4db01964cdf2af4d86e9cb2
commit-date: 2025-08-04
host: x86_64-unknown-linux-gnu
release: 1.89.0
LLVM version: 20.1.7
```

## What you did

`cargo run --example breakout`

## What went wrong

```
Compiling bevy v0.17.0-dev (/home/techn0/source/bevy)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s
Running `target/debug/examples/breakout`
2025-08-09T20:56:15.339797Z INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux (Pop!_OS 22.04)", kernel: "6.12.10-76061203-generic", cpu: "AMD Ryzen 9 7950X 16-Core Processor", core_count: "16", memory: "61.9 GiB" }
2025-08-09T20:56:15.472544Z INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 3070", vendor: 4318, device: 9348, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "570.172.08", backend: Vulkan }
2025-08-09T20:56:15.889639Z INFO bevy_render::batching::gpu_preprocessing: GPU preprocessing is fully supported on this device.
2025-08-09T20:56:15.934967Z INFO bevy_winit::system: Creating new window breakout (0v0)
2025-08-09T20:56:15.935057Z INFO winit::platform_impl::linux::x11::window: Guessed window scale factor: 1
2025-08-09T20:56:15.937850Z INFO breakout::stepping: Bevy was compiled without stepping support. Run with `--features=bevy_debug_stepping` to enable stepping.

thread 'Compute Task Pool (13)' panicked at crates/bevy_render/src/view/window/mod.rs:331:51:
No supported formats for surface
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_render::view::window::create_surfaces`!
[1] 110144 segmentation fault (core dumped) cargo run --example breakout
```

## Additional information

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.