Skip to content

Vulkan sometimes present while unfinished #4919

Closed as not planned
Closed as not planned
@valaphee

Description

@valaphee

Description
Sometimes, during the configuration of the surface, at start or when resizing, the frames get presented even though they are still written to, which leads to flickering.

The frame rate also increases from 1200 FPS to 2000 FPS which lead me to this conclusion.

Repro steps
Run wgpu water example in release mode with Vulkan backend.

Expected vs observed behavior
The rendering finishes before presenting, even though shouldn't there be triple buffering?

Extra materials
https://github.com/gfx-rs/wgpu/assets/32491319/ca41f826-d735-43ee-9d72-cd90935930b1
(epilepsy warning)

Platform
Latest commit of wgpu 79e51692, Windows 11 Build 22631, AMD Radeon RX6900 XT, with latest drivers 23.11.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions