Skip to content

[Impeller] vulkan backend broken at flutter/flutter main #134666

@gaaclarke

Description

@gaaclarke

reproduction steps

cd $FLUTTER_DIR/examples/hello_world
flutter run --enable-impeller

doctor

$ flutter doctor -v
[✓] Flutter (Channel main, 3.14.0-14.0.pre.271, on macOS 13.5.2 22G91 darwin-arm64, locale en)
    • Flutter version 3.14.0-14.0.pre.271 on channel main at /Users/aaclarke/dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 0aa879919c (15 minutes ago), 2023-09-13 11:52:08 -0400
    • Engine revision 5e671d5c90
    • Dart version 3.2.0 (build 3.2.0-140.0.dev)
    • DevTools version 2.27.0

log

E/flutter (11195): [ERROR:flutter/shell/platform/android/android_context_vulkan_impeller.cc(45)] Using the Impeller rendering backend (Vulkan with Validation Layers).
Syncing files to device Pixel 4a...                                 15ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

A Dart VM Service on Pixel 4a is available at: http://127.0.0.1:61122/UsQDTgwII3A=/
The Flutter DevTools debugger and profiler on Pixel 4a is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:61122/UsQDTgwII3A=/
E/flutter (11195): [ERROR:flutter/impeller/base/validation.cc(49)] Break on 'ImpellerValidationBreak' to inspect point of failure: 
E/flutter (11195): --- Vulkan Debug Report  ----------------------------------------
E/flutter (11195): |                Severity: Error
E/flutter (11195): |                    Type: { Validation }
E/flutter (11195): |                 ID Name: VUID-vkCmdDraw-None-02699
E/flutter (11195): |               ID Number: 369680064
E/flutter (11195): |       Queue Breadcrumbs: [NONE]
E/flutter (11195): |  CMD Buffer Breadcrumbs: [NONE]
E/flutter (11195): |         Related Objects: DescriptorSet [284773511594243] [UNNAMED]
E/flutter (11195): |                 Trigger: Validation Error: [ VUID-vkCmdDraw-None-02699 ] Object 0: handle = 0x1030000000103, type = VK_OBJECT_TYPE_DESCRIPTOR_SET; | MessageID = 0x1608dec0 | Descriptor set VkDescriptorSet 0x1030000000103[] encountered the following validation error at vkCmdDraw time: Descriptor in binding #64 index 0 is being used in draw but has never been updated via vkUpdateDescriptorSets() or a similar call. The Vulkan spec states: Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid as described by descriptor validity if they are statically used by the VkPipeline bound to the pipeline bind point used by this command (https://www.khronos.org/registry/vulkan/specs/1.3-khr-extensions/html/vkspec.html#VUID-vkCmdDraw-None-02699)
E/flutter (11195): -----------------------------------------------------------------
E/flutter (11195): [ERROR:flutter/impeller/base/validation.cc(49)] Break on 'ImpellerValidationBreak' to inspect point of failure: 
E/flutter (11195): --- Vulkan Debug Report  ----------------------------------------
E/flutter (11195): |                Severity: Error
E/flutter (11195): |                    Type: { Validation }
E/flutter (11195): |                 ID Name: VUID-vkCmdDraw-None-02699
E/flutter (11195): |               ID Number: 369680064
E/flutter (11195): |       Queue Breadcrumbs: [NONE]
E/flutter (11195): |  CMD Buffer Breadcrumbs: [NONE]
E/flutter (11195): |         Related Objects: DescriptorSet [293569604616459] [UNNAMED]
E/flutter (11195): |                 Trigger: Validation Error: [ VUID-vkCmdDraw-None-02699 ] Object 0: handle = 0x10b000000010b, type = VK_OBJECT_TYPE_DESCRIPTOR_SET; | MessageID = 0x1608dec0 | Descriptor set VkDescriptorSet 0x10b000000010b[] encountered the following validation error at vkCmdDraw time: Descriptor in binding #64 index 0 is being used in draw but has never been updated via vkUpdateDescriptorSets() or a similar call. The Vulkan spec states: Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid as described by descriptor validity if they are statically used by the VkPipeline bound to the pipeline bind point used by this command (https://www.khronos.org/registry/vulkan/specs/1.3-khr-extensions/html/vkspec.html#VUID-vkCmdDraw-None-02699)
E/flutter (11195): -----------------------------------------------------------------

Metadata

Metadata

Assignees

Labels

e: impellerImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.waiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions