bevy_editor_prototypes icon indicating copy to clipboard operation
bevy_editor_prototypes copied to clipboard

Gizmo Pr introduced wgpu vulkan bug on linux

Open Atlas16A opened this issue 9 months ago • 0 comments
trafficstars

Editor version

Editor Main

[Optional] Relevant system information

  • Linux, Ubuntu 22.04
  • Amd RX 6950XT

If your bug is rendering-related, copy the adapter info that appears when you run Bevy.

`AdapterInfo { name: "AMD Radeon Graphics (RADV NAVI21)", vendor: 4098, device: 29605, device_type: DiscreteGpu, driver: "radv", driver_info: "Mesa 23.2.1-1ubuntu3.1~22.04.3", backend: Vulkan }`

What you did

Compiled and ran main.

What went wrong

Console is spammed with error, only when window is visible.

2025-02-15T21:17:41.882055Z ERROR wgpu_hal::vulkan::instance: VALIDATION [SYNC-HAZARD-READ-AFTER-WRITE (0xe4d96472)]
        Validation Error: [ SYNC-HAZARD-READ-AFTER-WRITE ] Object 0: handle = 0x63bce2d119d0, type = VK_OBJECT_TYPE_QUEUE; | MessageID = 0xe4d96472 | vkQueueSubmit():  Hazard READ_AFTER_WRITE for entry 40, VkCommandBuffer 0x76297c2ab2f0[main_transparent_pass_3d], Submitted access info (submitted_usage: SYNC_VERTEX_ATTRIBUTE_INPUT_VERTEX_ATTRIBUTE_READ, command: vkCmdDraw, seq_no: 3, reset_no: 513, debug_region: main_transparent_pass_3d). Access info (prior_usage: SYNC_COPY_TRANSFER_WRITE, write_barriers: SYNC_VERTEX_SHADER_SHADER_BINDING_TABLE_READ|SYNC_VERTEX_SHADER_SHADER_SAMPLED_READ|SYNC_VERTEX_SHADER_SHADER_STORAGE_READ|SYNC_FRAGMENT_SHADER_SHADER_BINDING_TABLE_READ|SYNC_FRAGMENT_SHADER_SHADER_SAMPLED_READ|SYNC_FRAGMENT_SHADER_SHADER_STORAGE_READ|SYNC_COMPUTE_SHADER_SHADER_BINDING_TABLE_READ|SYNC_COMPUTE_SHADER_SHADER_SAMPLED_READ|SYNC_COMPUTE_SHADER_SHADER_STORAGE_READ, queue: VkQueue 0x63bce2d119d0[], submit: 1023, batch: 0, batch_tag: 103055, command: vkCmdCopyBuffer, command_buffer: VkCommandBuffer 0x762a44065af0[(wgpu internal) PendingWrites], seq_no: 36, reset_no: 363).    
2025-02-15T21:17:41.882092Z ERROR wgpu_hal::vulkan::instance:   objects: (type: QUEUE, hndl: 0x63bce2d119d0, name: ?)```

Atlas16A avatar Feb 15 '25 21:02 Atlas16A