-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vulkan: Error spam while running project VulkanContext::swap_buffers: Condition "err" is true. Returning: ERR_CANT_CREATE
#59699
Comments
As per #45725 (comment), did you update your NVIDIA driver to 511.23 or newer? |
VulkanContext::swap_buffers: Condition "err" is true. Returning: ERR_CANT_CREATE
VulkanContext::swap_buffers: Condition "err" is true. Returning: ERR_CANT_CREATE
this also happened to me, in two different situations. But I can't reproduce this error intentionally. |
@AndersonDeMatos Yes, after further testing and close observation, your problems have happened in my project. It seems, there is some unidentified Vulkan 2D rendering problem. |
I seem to be running into this issue, too, on Alpha 13 with hotfix (Godot Engine v4.0.alpha13.official.82811367c). For me, it happens on nVidia graphics when coming out of system suspension.
Startup logs:
|
@JosephCatrambone Can you reproduce this with other games or applications using Vulkan? Suspend on Linux is notoriously buggy with graphics drivers, especially with the proprietary NVIDIA driver. |
I received this same error in Godot 4 Beta 1 when I zoomed close to meshInstance ingame. The meshInstance had a shader material with many if-clauses. I changed the shader logic so that there were less ifs and the error went away. Now I updated to Godot 4 Beta 2 and error occurs immediately when I run the project even if I disable the problematic shader. I tried to start a new, empty project and it seems to work fine. macOs Monterey 12.6, AMD Radeon Pro 5500M |
Hi! Could you test this version to see if you can still repro the problem? Thanks. |
It's been a year or so and my machine's drivers have likely updated since then, but I think I can try some night this week. |
I don't know which commit might have resolved the issue, but there are no more random swapchain errors and crashes anymore. This issue can be closed. |
Closing in favor of #71929. |
Godot version
v4.0.alpha.custom_build [118f296]
System information
Windows 10, Vulkan Clustered, NVIDIA GeForce GT 1030
Issue description
This error occurs randomly while running my game. And freezes project just like other issues out there, but in my case I am not sure what causes it. No overlay software is used. It doesn't crash on startup, but while running the project. Not sure what causes it! Best guess: CPU intensive tasks such as adding many
CanvasItem
nodes (Node2D
orControl
Nodes) toSceneTree
at once and it generally happens for relatively complex and big projects. So, can't make a reproduction project for now.And it has been occurring for me even before alpha releases.
Steps to reproduce
Not sure. Quite random. Or mostly when some CPU intensive tasks such as adding many
CanvasItem
nodes (Node2D
orControl
Nodes) toSceneTree
at once.Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: