bevyengine / bevyengine/bevy

Wgpu error doesn't let my bevy 0.13.0 project that I updated to bevy 0.14.0 work

Open
#14,213 9 comments 4 reactions 0 assignees View on GitHub
A-Rendering C-Bug C-Machine-Specific
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version

0.14.0

## \[Optional\] Relevant system information

cargo 1.79.0 (ffa9cf99a 2024-06-03)

Arch linux latest stable and wayland (hyprland)

`AdapterInfo { name: "Mesa Intel(R) HD Graphics 4000 (IVB GT2)", vendor: 32902, device: 0, device_type: IntegratedGpu, driver: "OpenGL", driver_info: "4.2 (Compatibility Profile) Mesa 24.1.3-arch1.1", backend: Gl }`

Using lavapipe because gpu doesn't support vulkan

## What you did

I updated my bevy 13.0 project into a bevy 14.0 project. I fixed the code so that the version works, but now it won't run because of wgpu. It worked before updating

## Additional information
Here are the errors

```
2024-07-08T01:00:58.508971Z ERROR wgpu_core::device::global: surface configuration failed: incompatible window kind
thread 'Compute Task Pool (0)' panicked at /home/bintouali/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.20.1/src/backend/wgpu_core.rs:751:18:
Error in Surface::configure: Validation Error

Caused by:
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`!
2024-07-08T01:00:58.536984Z ERROR wgpu_hal::gles: wgpu-hal heuristics assumed that the view dimension will be equal to `Cube` rather than `CubeArray`.
`D2` textures with `depth_or_array_layers == 1` are assumed to have view dimension `D2`
`D2` textures with `depth_or_array_layers > 1` are assumed to have view dimension `D2Array`
`D2` textures with `depth_or_array_layers == 6` are assumed to have view dimension `Cube`
`D2` textures with `depth_or_array_layers > 6 && depth_or_array_layers % 6 == 0` are assumed to have view dimension `CubeArray`
2024-07-08T01:00:58.537009Z ERROR wgpu_hal::gles: wgpu-hal heuristics assumed that the view dimension will be equal to `D2` rather than `D2Array`.
`D2` textures with `depth_or_array_layers == 1` are assumed to have view dimension `D2`
`D2` textures with `depth_or_array_layers > 1` are assumed to have view dimension `D2Array`
`D2` textures with `depth_or_array_layers == 6` are assumed to have view dimension `Cube`
`D2` textures with `depth_or_array_layers > 6 && depth_or_array_layers % 6 == 0` are assumed to have view dimension `CubeArray`
2024-07-08T01:00:58.552787Z ERROR wgpu::backend::wgpu_core: Shader translation error for stage ShaderStages(COMPUTE): The selected version doesn't support Features(DYNAMIC_ARRAY_SIZE)
2024-07-08T01:00:58.552835Z ERROR wgpu::backend::wgpu_core: Please report it to https://github.com/gfx-rs/wgpu
2024-07-08T01:00:58.552861Z ERROR wgpu::backend::wgpu_core: Handling wgpu errors as fatal by default
thread 'Async Compute Task Pool (0)' panicked at /home/bintouali/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.20.1/src/backend/wgpu_core.rs:2996:5:
wgpu error: Validation Error

Caused by:
In Device::create_compute_pipeline
note: label = `mesh preprocessing (GPU culling)`
Internal error: The selected version doesn't support Features(DYNAMIC_ARRAY_SIZE)

2024-07-08T01:00:58.558921Z ERROR wgpu::backend::wgpu_core: Shader translation error for stage ShaderStages(COMPUTE): The selected version doesn't support Features(DYNAMIC_ARRAY_SIZE)
2024-07-08T01:00:58.558967Z ERROR wgpu::backend::wgpu_core: Please report it to https://github.com/gfx-rs/wgpu
2024-07-08T01:00:58.558997Z ERROR wgpu::backend::wgpu_core: Handling wgpu errors as fatal by default
thread 'Async Compute Task Pool (0)' panicked at /home/bintouali/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.20.1/src/backend/wgpu_core.rs:2996:5:
wgpu error: Validation Error

Caused by:
In Device::create_compute_pipeline
note: label = `mesh preprocessing (direct)`
Internal error: The selected version doesn't support Features(DYNAMIC_ARRAY_SIZE)
```

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.