-
-
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
ERR_CANT_CREATE
at VulkanContext::swap_buffers
error at Godot startup
#52112
Comments
Having this issue on Linux. Godot freezes at a black screen after choosing/creating a project and I get this:
Also I got this in dmesg:
Running master @ 7ab78c4 |
Same problem here: master @ de91700 MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0 Vulkan API 1.2.191 - Using Vulkan Device #0: Intel - Intel(R) UHD Graphics 620 (WHL GT2) MESA-INTEL: error: ../mesa-21.2.1/src/intel/vulkan/anv_device.c:3704: GPU hung on one of our command buffers (VK_ERROR_DEVICE_LOST) NB: Pleasantly surprised to discover Vulkan runs ;) but it lasted only a single run. I can do stuff in editor but I can't launch the test project. |
I'm getting similar errors at the end the log for me. This really only happened when I started messing with the master 468b987
|
I have this error on Console:
OS: Windows 11 21H2 |
ERR_CANT_CREATE
at VulkanContext::swap_buffers
error at Godot startup
Can you reproduce this if you start Godot with the |
I created the project without the overlay and then ran Godot with the overlay, so the prompt did not appear and I was able to open the project without errors.
Nope, with After closing Godot window I get these errors (also with --single-window), it may be related:
|
I'm not sure if we can fix this issue with third-party overlays, unless there is a way to signal third-party overlays that they should not overlay specific Vulkan windows. |
I am getting the same errors whenever I try to use Triplanar UVs. Godot crashes as a result, as well as my graphics card, requiring a reboot of the system. ERROR: Vulkan: Did not create swapchain successfully. Windows 10, Vulkan, RX 5700XT, latest drivers. |
I have the same problem with beta 2, I launch my project inside Godot and the screen stays with the Godot screen with the logo, ERROR: Condition "err" is true. Returning: ERR_CANT_CREATE in the terminal and E 0:00:13:0723 swap_buffers: Condition "err" is true. Returning: ERR_CANT_CREATE in the debugger |
Same here with Beta 1 and Beta 2 Vulkan API 1.2.170 - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce RTX 3080 Ti ERROR: Condition "err" is true. Returning: ERR_CANT_CREATE |
Can confirm this issue for me as well. Turning off the overlay of MSI afterburner fixes this issue. |
I'm getting the same type of issue when I try run a project, I'm getting this error: |
Godot version
4.0.dev(ae3a422)
System information
Windows 10, Vulkan, GTX 1080, Driver 471.68
Issue description
Sometimes at startup Godot freezes and Vulkan stops working. The following error is detected:
ERROR: Condition "err" is true. Returning: ERR_CANT_CREATE
at: VulkanContext::swap_buffers (drivers\vulkan\vulkan_context.cpp:1860)
Further investigation shows that Vulkan returns VK_ERROR_DEVICE_LOST, which is a symptom of resource corruption.
Steps to reproduce
Extract and run the attached project:
godot.windows.tools.64 --game --path C:\godot_swapchain
It will produce some script errors that can be ignored. Sometimes it will freeze the computer and show the ERR_CANT_CREATE (very random and unpredictable)
Minimal reproduction project
godot_swapchain.zip
The text was updated successfully, but these errors were encountered: