godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.4k stars 21.26k forks source link

"vkCreateGraphicsPipelines failed with error -3" errors after OS upgrade. #95550

Open ErwinBr opened 3 months ago

ErwinBr commented 3 months ago

Tested versions

4.2.2

System information

MacOS 12.7.6, NVIDIA GeForce GTX 680 2 GB (Metal supported), Forward+

Issue description

After upgrading from MacOS 10.15 (Catalina) to 12.7.6 (Monterey), I'm getting these errors in Godot:

vkCreateGraphicsPipelines failed with error -3 for shader 'SceneForwardClusteredShaderRD:9'. servers/rendering/renderer_rd/pipeline_cache_rd.cpp:61 - Condition "pipeline.is_null()" is true. Returning: RID() This render pipeline requires (0) bytes of push constant data, supplied: (16) No render pipeline was set before attempting to draw. vkCreateGraphicsPipelines failed with error -3 for shader 'SceneForwardClusteredShaderRD:9'. servers/rendering/renderer_rd/pipeline_cache_rd.cpp:61 - Condition "pipeline.is_null()" is true. Returning: RID() This render pipeline requires (0) bytes of push constant data, supplied: (16) No render pipeline was set before attempting to draw.

And 3D scenes are not rendered anymore.

The hardware is unchanged, but I suspect the drivers are different since the OS was upgraded.

Is there something I can try to fix this before having to downgrade to my previous setup?

Steps to reproduce

N/A

Minimal reproduction project (MRP)

N/A

bruvzg commented 3 months ago

Monterey dropped support for all Macs with NVIDIA GPUs, so the driver might be not fully functional. And MoltenVK likely expect specific GPU capabilities (probably Metal3 level) available only on officially supported Macs based on OS version.

ErwinBr commented 3 months ago

Monterey dropped support for all Macs with NVIDIA GPUs, so the driver might be not fully functional. And MoltenVK likely expect specific GPU capabilities (probably Metal3 level) available only on officially supported Macs based on OS version.

Ah, that might explain it.

One thing, the metal family is noted as 1, but that is also the case on my MacBook Pro from 2015 (also running Monterey), which has an Intel Iris 6100. There Godot runs without these errors, although that card is way too weak to support usable frame rates.

Well, in any case, I do understand the dropped support for Nvidia will probably have something to do with it and I will likely return to Catalina.