-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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: Can't start Godot with AMD integrated + NVIDIA dedicated GPU switchable graphics (Failed dispatch call vkEnumeratePhysicalDevices
)
#57708
Comments
The solution I had to apply is the following by performing these actions from this video: |
Related to #57396. I don't think there's anything we can do about this. Setting Did you update your graphics drivers from AMD and NVIDIA's websites (not from your laptop OEM or Windows Update)? cc @bruvzg |
I have updated all the drivers both from windows update first and then from the manufacturers page with their latest versions. |
If I understand correctly, with @fonixgm Could you try running Godot with |
This is with DISABLE_LAYER_AMD_SWITCHCHABLE_GRAPHICS_1 on and this is without the DISABLE_LAYER_AMD_SWITCHCHABLE_GRAPHICS_1 |
I have not found much useful info how With the layer disabled, it should be possible to force a specific GPU for the app using Windows built-in option in "System→Display→Graphics". But I agree that we probably can't do anything with it. |
Temporarily I will use the DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1 to make it work and I will also investigate if there is any configuration that can solve this problem apart from using this environment variable and thus not to annoy so much the battery of my pc. |
vkEnumeratePhysicalDevices
)
I reproduced this with a similar combination of graphics cards and fixed it locally by adding "OS::get_singleton()->set_environment("DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1", "1");" to the function Main::setup in main.cpp, immediately after "OS::get_singleton()->initialize();". At least the Windows implementation for that function changes the environment variable only for the current process (at least according to the documentation). Is there any reason not to do this? Updating my graphics drivers didn't do the trick and I guess it might take some time till most users with such a (not that unusual) graphics cards combination will receive an update that fixes this issue. |
i want to comunicate i solve a similar problem ( #56164 ) i simply remove the official asus amd driver and put the generale amd driver using the adrenalin software this solve the problem for me. |
How will this behave on systems with only AMD integrated graphics? Can anyone test this on such a system? |
Please try 4.0 alpha 10, there was an update to VMA which might help: https://godotengine.org/article/dev-snapshot-godot-4-0-alpha-10 (Reading again, maybe not - but there's no harm in testing :)) |
The Error occurs on Branch 3.x, 3.4.x and 4.x On my System i have a integrated Radeon AMD Vegas 11 Graphics card and a additional, second NVidia Graphics card. |
Godot 3.x uses an OpenGL renderer, so Vulkan-specific issues like this one don't affect it. If you encounter this on Godot 3.x, it's due to something different which should be tracked in a separate issue. |
I built 3.x, 3.4 and 4.x and the error shows up on any build, with tools or without, if it is release or debug targets or both. |
I don't know. I don't have such a system. |
If any of you can still reproduce the issue, please test #73450 locally. A Windows build is included in that PR's description. |
confirmed here : got the driver from AMD website |
Thank you, its'working!!! |
hello, tried your fix, and godot closes without any errors, just "not responding" |
Works for me! |
4.1.rc2 works! Thank you. I don't have any external monitors though. |
for those of you arriving here in 2024 after January 27th, the issue is detailed here:
This solution worked for me. You can easily find and uninstall this in "Apps > Installed Apps" in Windows settings. Click the 3 dots, uninstall it, and it should start working again. |
bro... this is not fixed yet? |
I've stopped running into this issue some time ago using godot 4. Though I'm not sure exactly which version fixed for me I'm currently on 4.2.1 |
This was fixed in 4.1. If you still experience a similar issue in 4.2.1 or later, please open a new issue with details. |
I'm in latest 4.2 and still happen this issue. I must add The same error is displayed |
Bugsquad note: This issue has been confirmed several times already. No need to confirm it further.
Godot version
4.0
System information
Windows 10 RTX 2060 and AMD graphics chipset
Issue description
When I double click on the program I get the following error showing that I don't have the drivers I have checked everything and it is correct I have even installed it again and it is still the same.
Steps to reproduce
Open ./Godot_v4.0-alpha1_win64_console.cmd or ./Godot_v4.0-alpha1_win64.exe
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: