-
-
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
Implement automatic OpenGL fallback for GPUs not supporting Vulkan #58927
Comments
Please provide more information on your system (CPU, GPU, GPU drivers). |
CPU i7 2630QM 2 GHz GPU Drivers : 391.35-notebook-win10-64bit-international-whql |
I think Nvidia doesn't provide Vulkan drivers for the 540M series: https://www.nvidia.com/en-us/geforce/forums/discover/231677/vulkan-support-for-geforce-540m-gt-notebook-/ So you're out of luck to run Godot 4 for now until we have completed the OpenGL 3.3 renderer (it's currently work in progress, you can test it with Still, it should normally tell you that your GPU doesn't support Vulkan instead of crashing, so we should look into this. |
same issue with --rendering-driver opengl3 |
That's weird because the error is related to Vulkan. Are you running it from the console or from a shortcut with @RandomShaper The line it's crashing on is:
I think we should make sure that the We should likely also set |
@Leedoriden Ah thanks, so it's "working", there's just another bug with multiple window support in the OpenGL renderer on Windows. It's still very early progress so it's not unexpected. You might be able to work things around with some command line magic if you want to test the editor with OpenGL:
[rendering]
driver/driver_name="opengl3"
|
I tried to make |
with --rendering-driver opengl3 --single-window menus are visibles & clickables now 2D & 3D are still black GUI |
When I try to simulate a lack of Vulkan drivers on latest master (by running Windows in fail safe mode), I get the following dialog: I'm curious about which flow of failed setup can lead to the message not being shown. Aside, it's worth mentioning that Godot will end up falling back to the dummy display server and therefore keep running without any window created and nothing shown. I've submitted a PR to avoid that, to be more user friendly: #59074 |
I'm not sure if thats entirely true? i have a gt 520 and i ran this test https://github.com/skeeto/vulkan-test which says i can run vulkan but when it comes to godot 4 alpha 12 i get this exact error as the op ; does that test mean anything or?? |
No, Fermi GPUs have never supported Vulkan, no matter the operating system used. |
I can reproduce the c++ error if useful. My laptop GPU is GeForce GT 710M and doesn't look like it's supported (downloaded Vulkan SDK and tried to run demo scene). The OpenGL rendering worked better than expected though! |
Mobile Kepler GPUs don't support Vulkan either (at least on Windows) – only desktop Kepler GPUs do. |
Yep I understand my laptop GPU is not supported, just pointing out I can reproduce the unhandled error so can retest when there's a fix. |
This started as a bug report about a crash, but I think that part was solved. This issue was then repurposed in a way that's more suitable for a formal proposal, so I'll open one to supersede this issue. |
Here we go: godotengine/godot-proposals#8006 Let's keep the discussion on OpenGL fallback in the proposal. |
Is this fallback only for the editor? Because it'd be awesome if games could also use this as long as no vulkan specific graphical functions are used |
Please see my last comment :) |
Godot version
alpha 4
System information
win 10
Issue description
when i open Godot alpha 4 exe i've this error messag
e
Steps to reproduce
double clic exe
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: