Black screen until resize starting in wgpu 23 #6634
Labels
backend: vulkan
Issues with Vulkan
help required
We need community help to make this happen.
platform: macos
Issues with integration with macos
type: bug
Something isn't working
Description
Starting in wgpu 23, our game renders a couple frames, then the screen turns black until the window resizes. After that, the problem goes away.
This doesn't happen in wgpu 22 or earlier.
I've only had access to a macOS machine running under MoltenVK; I don't know if this bug reproduces on other platforms.
I apologize that I don't have a lot of details on this issue yet and wgpu on MoltenVK is a funky platform. I'm hoping that there's something that might be an obvious cause of this issue. If not, I'll get any other information needed.
Repro steps
Working on minimizing this case right now; wanted to get this issue on the radar while I work through the problem.
get_current_texture
is returning a texture every frame, so the swapchain is up to date, but nothing is being presented.Expected vs observed behavior
Expected behavior (wgpu 22):
main.branch.mp4
Observed behavior (wgpu 23, no other changes):
wgpu.23.mp4
Extra materials
Running with the Vulkan Configurator, there are no new validation errors in wgpu 23 vs wgpu 22.
Platform
MacBook Pro with M3 Pro
macOS 14.6.1 with MoltenVK included in Vulkan SDK 1.3.296.0
wgpu 23.0.1
The text was updated successfully, but these errors were encountered: