Skip to content
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

Issues opening Godot 4.0 with Vulkan Rendering Backend on Acer Nitro AN517-41 #70259

Closed
terraquad opened this issue Dec 18, 2022 · 17 comments
Closed

Comments

@terraquad
Copy link

terraquad commented Dec 18, 2022

Godot version

4.0.beta8.official

System information

Windows 11; GPU: NVIDIA GeForce RTX 3060; Driver Version: 527.56; Rendering Backend: Vulkan

Issue description

I tried to open Godot 4 with Vulkan backend, but it errored out. I've checked that my GPU uses the Vulkan drivers.
Here are the logs:
Godot 4.0b8 logs

Steps to reproduce

  1. Open Godot 4
  2. Create a new project with Forward+ rendering backend
  3. It crashes and shows a message like: "Godot failed to load the Vulkan drivers. Please ensure Vulkan is supported on your system."

Minimal reproduction project

N/A

@adamscott
Copy link
Member

Please add your Godot 4.0b7 project as the minimal reproduction project, please.

@Zireael07
Copy link
Contributor

Project is unlikely to be a factor here @adamscott - it;s vkEnumeratePhysicalDevices failing.

@KoBeWi
Copy link
Member

KoBeWi commented Dec 18, 2022

Can't reproduce using the given steps.
I think the project is relevant.

@terraquad
Copy link
Author

terraquad commented Dec 19, 2022

I updated the issue. It now contains my Godot 4.0b7 project, although I don't think it's because of my project because I can't open it in Godot 4.0b7 anymore (same error as in Godot 4.0b8). New projects also don't work. I think it's because of my video drivers. Godot 3 works perfectly fine.
Here are the logs of Godot 4.0b7:
logs

@KoBeWi
Copy link
Member

KoBeWi commented Dec 19, 2022

Well, the project opens for me.
Did you update your drivers recently? Maybe you have corrupted driver?

@clayjohn
Copy link
Member

This certainly sounds like a GPU driver update may have broken something internally. The fact that Vulkan isn't detecting any viable drivers is very suspicious.

@terraquad
Copy link
Author

@KoBeWi I updated my drivers a few weeks ago, although in other applications (like Minecraft) it works perfectly fine, so it might only affect Godot.

@adamscott
Copy link
Member

adamscott commented Dec 24, 2022

@gemmattSD Can you try projects that use Vulkan? If you have recent games with that uses a Vulkan renderer, can you try to start them?

Otherwise, you can try Super Tux Kart that added Vulkan support recently.

If you cannot run Vulkan games, maybe it's something with your graphic card or your drivers.

@terraquad
Copy link
Author

@adamscott I tried to run Super Tux Cart and it works perfectly fine.

@adamscott
Copy link
Member

@gemmattSD Did you run Super Tux Kart with the --render-driver=vulkan command line parameter?

@terraquad
Copy link
Author

@adamscott I tried running it with --render-driver=vulkan and I got this:
supertuxkart-render-crash

@KoBeWi
Copy link
Member

KoBeWi commented Dec 27, 2022

Which means it's not a Godot problem. Try beta 10, it has better OpenGL fallback.

@Calinou
Copy link
Member

Calinou commented Dec 27, 2022

Vulkan libraries were likely removed at some point by some other program. For instance, this can occur if you've switched GPUs recently and had to install different graphics drivers.

Try fully uninstalling and reinstalling your NVIDIA drivers from nvidia.com (not Windows Update, not your computer's OEM).

@akien-mga
Copy link
Member

Closing as this is not a Godot bug, but a system configuration issue. Reinstalling the NVIDIA drivers from the NVIDIA website as suggested by Calinou might solve it.

@akien-mga akien-mga closed this as not planned Won't fix, can't repro, duplicate, stale Jan 16, 2023
@terraquad
Copy link
Author

terraquad commented Mar 8, 2023

Closing as this is not a Godot bug, but a system configuration issue. Reinstalling the NVIDIA drivers from the NVIDIA website as suggested by Calinou might solve it.

I reinstalled all drivers, even my entire system and it still doesn't work. I have looked into the device manager and it said that my graphics card uses the "C:\Windows\system32\vulkan-1.dll" and "C:\Windows\syswow64\vulkan-1.dll" drivers. Also, I have installed the Vulkan SDK, but it said it couldn't find any Vulkan Physical Devices. I think it doesn't have to do with the project, but my applications not finding my Vulkan drivers.

@terraquad terraquad changed the title Godot 4.0b8 can't open a project created with Godot 4.0b7 Issues opening Godot 4.0 with Vulkan Rendering Backend on Acer Nitro AN517-41 Mar 8, 2023
@terraquad
Copy link
Author

I tried setting DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1 to 1 (#57708 ), it works now, although I think that cannot be a permanent solution.

@terraquad
Copy link
Author

I reinstalled Windows and now it works out of the box.

@Calinou Calinou removed this from the 4.0 milestone Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants