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

Vulkan: Could not get 'vkCreateInstance' via 'vk_icdGetInstanceProcAddr' #49358

Closed
nonunknown opened this issue Jun 6, 2021 · 1 comment
Closed

Comments

@nonunknown
Copy link
Contributor

nonunknown commented Jun 6, 2021

Godot version:

v4.0.dev.custom_build.d7f171874
d7f1718

OS/device including version:

Manjaro Gnome
AMD r7 200 series

Issue description:

When Running scene this error is thrown to the user:

E 0:00:00:0228   _debug_messenger_callback: GENERAL - Message Id Number: 0 | Message Id Name: Loader Message
	loader_scanned_icd_add: Could not get 'vkCreateInstance' via 'vk_icdGetInstanceProcAddr' for ICD libGLX_nvidia.so.0
	Objects - 1
		Object[0] - VK_OBJECT_TYPE_INSTANCE, Handle 147924592
  <Origem C++>   drivers/vulkan/vulkan_context.cpp:157 @ _debug_messenger_callback()


E 0:00:19:0612   _free_internal: Attempted to free invalid ID: 9440338116612
  <Origem C++>   drivers/vulkan/rendering_device_vulkan.cpp:7478 @ _free_internal()

Sources:

ERR_PRINT(error_message);

ERR_PRINT("Attempted to free invalid ID: " + itos(p_id.get_id()));

Steps to reproduce:

  • Create a 3d Scene
  • Add 3d model with animations
  • Run scene

Minimal reproduction project:
PS: Run Character.tscn
https://github.com/nonunknown/godot-4-demo-fps

@Chaosus Chaosus added this to the 4.0 milestone Jun 6, 2021
@nonunknown
Copy link
Contributor Author

I just realized that this error is caused because my pc has an AMD and manjaro had some NVIDIA and OPENCL drivers installed, for someone that having this problem here's my solution:

Arch linux

sudo pacman -Qs vulkan

A list of all vulkan drivers should appear, now use:

sudo pacman -R drivernameshere

where drivernameshere should be all nvidia and opencl and intel drivers installed, let only the AMD ones.

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

4 participants