godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.99k stars 20.18k forks source link

Windows 11 Crashes Just opening a project/create node #96563

Open joshualawson opened 1 week ago

joshualawson commented 1 week ago

Tested versions

4.3 stable

System information

Windows 11

Issue description

Constant errors in console showing the following:

Godot Engine v4.3.stable.official.77dcf97d8 - https://godotengine.org
OpenGL API 3.3.0 NVIDIA 560.94 - Compatibility - Using Device: NVIDIA - NVIDIA GeForce RTX 3080

Editing project: C:/Users/Joshua/Documents/tutorial
Godot Engine v4.3.stable.official.77dcf97d8 - https://godotengine.org
Vulkan 1.3.280 - Forward+ - Using Device #0: NVIDIA - NVIDIA GeForce RTX 3080

ERROR: Condition "err != VK_SUCCESS && err != VK_SUBOPTIMAL_KHR" is true. Returning: FAILED
   at: command_queue_execute_and_present (drivers/vulkan/rendering_device_driver_vulkan.cpp:2344)
ERROR: Condition "err != VK_SUCCESS && err != VK_SUBOPTIMAL_KHR" is true. Returning: FAILED
   at: command_queue_execute_and_present (drivers/vulkan/rendering_device_driver_vulkan.cpp:2344)
ERROR: Condition "err != VK_SUCCESS && err != VK_SUBOPTIMAL_KHR" is true. Returning: FAILED
   at: command_queue_execute_and_present (drivers/vulkan/rendering_device_driver_vulkan.cpp:2344)
ERROR: Condition "err != VK_SUCCESS && err != VK_SUBOPTIMAL_KHR" is true. Returning: FAILED
   at: command_queue_execute_and_present (drivers/vulkan/rendering_device_driver_vulkan.cpp:2344)

Steps to reproduce

Open a project, click + Add Node

Minimal reproduction project (MRP)

A brand new empty project

AThousandShips commented 1 week ago

It looks like your project uses Forward+ but your computer doesn't support Vulkan, can you try creating a new project with the Compatibility renderer and try opening it?

joshualawson commented 1 week ago

Creating a project with the Compatibility renderer works, but Vulkun should be supported on my RTX3080? Latest drivers etc.

AThousandShips commented 1 week ago

Please provide your system specs, unsure why this would happen, but more details is needed

Zireael07 commented 1 week ago

People have had their Vulkan support break e.g. by uninstalling stuff that injects their own Vulkan layers, e.g. Epic Games

bitmammoth commented 6 days ago

Fwiw I'm having this same issue but for me its intermittent and just started happening.

joshualawson commented 6 days ago

AMD Ryzen 7 7800X3D 64GB of ram RTX 3080

I do have Unreal installed and Unreal engine... plus a lot of games etc, other than that, I only use my windows PC for gaming really... Does uninstalling UE help at all?

I attempted to install the Vulkun SDK and it installs correctly, but if I install just the Vulkun runtime only, it fails will access permission problems to what looks like existing Vulkun files on my system

joshualawson commented 2 days ago

Uninstalled UE and same issue, still unable to install the Vulkan Runtime also

Error opening file for writing:

C:\Windows\System32\vulkan-1.dll