Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Incompatible color attachments under wayland #192

Closed
flash-freezing-lava opened this issue Jul 15, 2023 · 3 comments
Closed

Incompatible color attachments under wayland #192

flash-freezing-lava opened this issue Jul 15, 2023 · 3 comments

Comments

@flash-freezing-lava
Copy link

Relevant system information

OS: Arch Linux
Desktop Environment: GNOME 44.3 using wayland

AdapterInfo { name: "NVIDIA GeForce GTX 1070", vendor: 4318, device: 7041, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "535.54.03", backend: Vulkan }

Description

When compiling the simple example with feature bevy/wayland activated and running under wayland, it gives a wgpu error: Validation Error with the following cause:

Caused by:
    In a RenderPass
      note: encoder = `<CommandBuffer-(0, 1, Vulkan)>`
    In a set_pipeline command
      note: render pipeline = `egui render pipeline`
    Render pipeline targets are incompatible with render pass
    Incompatible color attachments at indices [0]: the RenderPass uses textures with formats [Some(Bgra8UnormSrgb)] but the RenderPipeline uses attachments with formats [Some(Bgra8Unorm)]

See bevyengine/bevy#9163 for discussion on the underlying cause.

@seabassjh
Copy link

I think this is related to #194

@vladbat00
Copy link
Owner

Hi. Is the issue still actual? I don't have a way to reproduce it with wayland, but I hope it was fixed together with #194

@flash-freezing-lava
Copy link
Author

Since bevy_egui 0.24.0, this error does no longer occur.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants