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

Godot 4.0 beta 1 - Can't run editor: "Assertion Failed" #65847

Closed
nefrace opened this issue Sep 15, 2022 · 13 comments
Closed

Godot 4.0 beta 1 - Can't run editor: "Assertion Failed" #65847

nefrace opened this issue Sep 15, 2022 · 13 comments

Comments

@nefrace
Copy link

nefrace commented Sep 15, 2022

Godot version

4.0 beta 1

System information

Acer Nitro 5 on Windows 11, Ryzen 5 4600H, GTX 1650 Ti v.516.94

Issue description

After clicking the executable, a white window appears with an error described on a screenshot below
изображение

Steps to reproduce

Just launch an exe file of Godot Engine

Minimal reproduction project

No response

Update

I've just tried to open Alpha 15 which worked fine before and it didn't open with the same error. Perhaps it's just some driver issue.

@Calinou
Copy link
Member

Calinou commented Sep 15, 2022

Do you have a laptop with hybrid graphics (specifically AMD integrated + NVIDIA dedicated)?

@yeet227
Copy link

yeet227 commented Sep 16, 2022

I do, is that the issue or do i need to enable something to get it to work

@nefrace
Copy link
Author

nefrace commented Sep 16, 2022

Do you have a laptop with hybrid graphics (specifically AMD integrated + NVIDIA dedicated)?

Yes, but I've set up my settings to launch any program only on the dedicated Nvidia card.

@lsio8306
Copy link

I have the same issue. First I thought my graphic card was too old (GTX560). Now, I think this is not the case. I did upgrade the driver.

@dwexel
Copy link

dwexel commented Sep 17, 2022

same issue here, I also have a laptop with a AMD chip and NVIDIA graphics card (asus zepyrus g14)

@ua-knight
Copy link

I'm having exactly the same issue (same text in error description).
I have a laptop with
Processor:
AMD Ryzen 7 5800H with Radeon Graphics, 3201 Mhz, 8 Core(s), 16 Logical Processor(s)
Graphics card:
NVIDIA GeForce RTX 3060 Laptop GPU

@Redwarx008
Copy link
Contributor

Same issue with amd Ryzen 7 4800HS with Radeon Graphics , GTX1660Ti MaxQ

ERROR: GENERAL - Message Id Number: 0 | Message Id Name: Loader Message
setup_loader_tramp_phys_devs: Failed during dispatch call of 'vkEnumeratePhysicalDevices' to lower layers or loader to get count.
Objects - 1
Object[0] - VK_OBJECT_TYPE_INSTANCE, Handle 2044681716112
at: _debug_messenger_callback (drivers/vulkan/vulkan_context.cpp:171)
ERROR: vkEnumeratePhysicalDevices reported zero accessible devices.
Do you have a compatible Vulkan installable client driver (ICD) installed?
vkEnumeratePhysicalDevices Failure
at: (drivers/vulkan/vulkan_context.cpp:864)
ERROR: Condition "err != OK" is true. Returning: ERR_CANT_CREATE
at: _window_create (drivers/vulkan/vulkan_context.cpp:1462)

@nefrace
Copy link
Author

nefrace commented Oct 3, 2022

Small update about this issue:

When I go to Device Manager and shut down integrated AMD card and then try to launch Godot - all works perfectly. Then I can turn it on again and it still works until reboot.

@ua-knight
Copy link

It now works.

When I tested for the first time (alpha 16 dated 2022-09-07) it crashed. When testing earlier this month with the beta version (beta4 dated 2022-11-01), it crashed. However, when testing again today with beta4 (v4.0.beta4.official [e675154]), it doesn't crash.

I interpret it as some drivers on my system has been updated, and happen to fix the issue. Either...

  1. Windows 10
  2. The graphics card: NVIDIA GeForce RTX 3060 Laptop GPU

@nefrace
Copy link
Author

nefrace commented Nov 28, 2022

@tulipan-it it still doesn't work for me with Vulkan. If the project was set up to use OpenGL then it works.
Same config but with updated drivers: Windows 11, AMD Ryzen 4600H, GTX 1650 Ti v.526.98

@nefrace
Copy link
Author

nefrace commented Dec 9, 2022

Found a workaround which really works.
As said in this article, you need to add the environment variable to your system with the name DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1 with value of 1.
After doing this all seems to work fine.

@ua-knight
Copy link

Glad you found a solution. I guess my AMD Radeon integrated GPU got updated drivers, and solved it for me.

@Calinou
Copy link
Member

Calinou commented Dec 9, 2022

Duplicate of #57708.

@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale Dec 9, 2022
Repository owner moved this from To Assess to Done in 4.x Priority Issues Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

8 participants