Crash on pbr_opaque_mesh_pipeline with opengl backend
Bevy version
bevy = "0.10.0" also tried the (3d_scene) example with 0918b30e2925b2ce628d3e89f6e120e68c61a06c.
Relevant system information
- cargo 1.67.0 (8ecd4f20a 2023-01-10)
- os: "Linux 22.0.4 Manjaro Linux", kernel: "5.15.94-1-MANJARO"
`AdapterInfo { name: "AMD BARTS (DRM 2.50.0 / 5.15.94-1-MANJARO, LLVM 15.0.7)", vendor: 0, device: 0, device_type: Other, driver: "", driver_info: "", backend: Gl }`
What I did
So far I was able to use bevy for some 2d-setups. But when I try to run a 3d example I am constantly running into the same errors.
I tried to run the 3d_scene example locally with bevy = "0.10.0" in my Cargo.toml and I also tried running the same example in the repo's example folder. The results are always the same.
This might be related to #841 see this comment.
What went wrong
This is the output I get before the app crashes:
2023-03-13T16:37:07.490477Z INFO bevy_render::renderer: AdapterInfo { name: "AMD BARTS (DRM 2.50.0 / 5.15.94-1-MANJARO, LLVM 15.0.7)", vendor: 0, device: 0, device_type: Other, driver: "", driver_info: "", backend: Gl } 2023-03-13T16:37:08.396321Z INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux 22.0.4 Manjaro Linux", kernel: "5.15.94-1-MANJARO", cpu: "Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz", core_count: "2", memory: "7.7 GiB" } 2023-03-13T16:37:08.634536Z ERROR wgpu_hal::gles::egl: GLES: [API/Error] ID 2 : GL_INVALID_ENUM in glTexStorage2DMultisample(target=GL_TEXTURE_2D) 2023-03-13T16:37:08.634845Z ERROR wgpu_hal::gles::egl: GLES: [API/Error] ID 2 : GL_INVALID_ENUM in glTexStorage2DMultisample(target=GL_TEXTURE_2D) 2023-03-13T16:37:09.024041Z ERROR wgpu::backend::direct: Shader translation error for stage FRAGMENT: gsamplerCubeArrayShadow isn't supported in textureGrad, textureLod or texture with bias 2023-03-13T16:37:09.024083Z ERROR wgpu::backend::direct: Please report it to https://github.com/gfx-rs/naga 2023-03-13T16:37:09.024150Z ERROR wgpu::backend::direct: Handling wgpu errors as fatal by default thread 'Compute Task Pool (0)' panicked at 'wgpu error: Validation Error
Caused by: In Device::create_render_pipeline note: label = pbr_opaque_mesh_pipeline Internal error in FRAGMENT shader: gsamplerCubeArrayShadow isn't supported in textureGrad, textureLod or texture with bias