godot icon indicating copy to clipboard operation
godot copied to clipboard

Show GPU name when RenderingDevice is unsupported in the project creation dialog

Open Calinou opened this issue 1 year ago • 3 comments

  • Follow-up to https://github.com/godotengine/godot/pull/97416.

This helps diagnose issues on multi-GPU setups, particularly when only one of them supports RenderingDevice-based rendering methods.

This can be the case on old laptops with an Intell Haswell IGP and a NVIDIA Maxwell dedicated GPU, where the IGP does not support RenderingDevice but the dedicated GPU does. (In this case, Godot must be forced to run on the dedicated GPU to allow using RenderingDevice-based rendering methods.)

Preview

Ignore the GPU model name (it obviously supports Vulkan), I just changed the condition to get the dialog to show up.

Screenshot_20240926_153839

Calinou avatar Sep 26 '24 13:09 Calinou

What will it say if I just forgot to install necessary vulkan packages in my package manager but GPU itself supports if?

dustdfg avatar Sep 26 '24 15:09 dustdfg

What will it say if I just forgot to install necessary vulkan packages in my package manager but GPU itself supports if?

No, although you should not need to install specific packages to support Vulkan anyway. One exception is with the Nouveau driver (which doesn't support Vulkan outside of NVK), but you'll need to install the proprietary NVIDIA driver at this point, not just a Vulkan package.

Calinou avatar Sep 26 '24 16:09 Calinou

What will it say if I just forgot to install necessary vulkan packages in my package manager but GPU itself supports if?

No, although you should not need to install specific packages to support Vulkan anyway. One exception is with the Nouveau driver (which doesn't support Vulkan outside of NVK), but you'll need to install the proprietary NVIDIA driver at this point, not just a Vulkan package.

What about MESA mesa-vulkan-drivers? I remember I couldn't run Godot with mobile or forward+ renderer before installed it and something like vulkan*

dustdfg avatar Sep 26 '24 16:09 dustdfg

Thanks!

akien-mga avatar Oct 02 '24 13:10 akien-mga

As I said it shows the error if there is no installed mesa-vulkan-drivers package screen-1727940476

It is confusing because the gpu actually supports running rendering-device. I'd say error message isn't perfect though can't propose anything better

dustdfg avatar Oct 03 '24 07:10 dustdfg