#Godot projects only open/run sometimes

31 messages · Page 1 of 1 (latest)

hallow flame
#

I've had a project on Forward+ for a long time now but only recently the project stopped opening correctly. There's like a 10% chance it will open and when open it also doens't run most of the time. I don't have this problem in Compatibility mode but i'd like to have my projects on Forward+ since that's what I've used until now. I've tried all stable 4.x.x godot versions and the problem remains. I enabled verbose(?) debugging and the console prints:

        windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
        Objects - 1
                Object[0] - VK_OBJECT_TYPE_INSTANCE, Handle 1372732017712```
only if I dont have any vulkan sdk installed. However, even with it installed the project still doesn't open correctly,  it just also doesn't give me any info on the console when it closes. I also have all drivers and windows 11 fully updated. And I also have the same problem on other projects that used to work fine and on projects that i create in Forward+.
relevant info (maybe):
- Laptop: Omen 016
-```OpenGL API 3.3.0 NVIDIA 551.61 - Compatibility - Using Device: NVIDIA - NVIDIA GeForce RTX 3050 Ti Laptop GPU```
- CPU: AMD Ryzen 7 5800H with Radeon Graphics

I'm desperate, I've tried anything and everything... :(
paper condor
#

Hi there!

  • Which version of Godot started the issue?
  • Is your project a 3.x "port"?
  • Did you check the latest 4.3-dev version? It has some fundamental changes to the renderer(s).
hallow flame
#
  1. I'm working on 4.2.1 but I didn't previously have this problem even in the same version.
  2. No
  3. Yes, and it still doesn't open correctly.
paper condor
#

So, this issue arose without you changing the godot version? Did you update your GPU driver recently? You mentioned the Vulcan driver, did you install it specifically to combat this issue or do you have it installed generally to be "on the bleeding edge"?

#

Did you try to rollback your GPU driver to some older version? (Not that I recommend that, just for testing purposes)

hallow flame
#

i update my drivers frequently but even my old drivers worked with vulkan

#

i might test that tho

paper condor
#

(I presume here. the Vulcan SDK comes with a accompaning driver)

#

It could be some nvidia driver issue. There is some driver cleanup project, maybe uninstalling/cleabing vulcan SDK and the nvidia driver and doing a clean gpu driver install is all that is needed.

#

Did you install the vulcan SDK for development or to solve this issue?

hallow flame
#

to solve the issue

#

downgraded the nvidia and amd drivers and it still doesnt work

paper condor
#

Mhh..

paper condor
#

Did you try --help to list the display and rendering drivers and pick one via --display-driver <driver> or --rendering-driver <renderer> ?

I presume the latter will give you an unwanted alternative to "forward+" (openGL) but it's worth fiddling around to narrow down the issue and see what might work.

#

--gpu-index <device_index> might also be interesting as you seem to have two (?) devices available.

hallow flame
# paper condor Is the above all `--verbose` gives you, when you start godot?
Godot Engine v4.2.1.stable.official.b09f793f5 - https://godotengine.org
TextServer: Added interface "Dummy"
TextServer: Added interface "ICU / HarfBuzz / Graphite (Built-in)"
Native OpenGL API detected: 3.3: NVIDIA - NVIDIA GeForce RTX 3050 Ti Laptop GPU
NVAPI: Init OK!
NVAPI: Disabled OpenGL threaded optimization successfully
Using "wintab" pen tablet driver...
Shader 'CanvasSdfShaderGLES3' SHA256: 4d4ff5654a51c6c6ad00912ac75af2a29b84034c1c5fe3732f20020b930089e5
Shader 'SkeletonShaderGLES3' SHA256: 1ae43d8e9b2338e4644ca3797432c7e88185ed7574cf6b6aa41e7c005309a3dc
Shader 'ParticlesShaderGLES3' SHA256: 1d40388a12e77c69a5edcd021f16cbfb7b96eb39ba9ad037db7f4600f4d9b3f5
Shader 'ParticlesCopyShaderGLES3' SHA256: a018985d55ee89602562c7c0ead5061783d17f6de1e87f677aa24052e10dccb7
Shader 'CopyShaderGLES3' SHA256: 3859a83dea486aa177c2284acb75a40742acd6b7bcee4dc5b2c339e6e720a41a
Shader 'CanvasShaderGLES3' SHA256: 7417bd70b717326cef9bcc51d28e48971b5855c82e0f0aa1e53a69f185d00574
Shader 'CanvasOcclusionShaderGLES3' SHA256: 28b285a795c3268661b3619f81b68e4cae957976e9e2dea34c9bcf76f6289ea1
Shader 'SceneShaderGLES3' SHA256: 19b8fc545ab731ad143bc4de664ed4d2b5aa1fc9eb2eb4f23ba32cbfd9befb13
Shader 'SkyShaderGLES3' SHA256: 1a23c45318433efbd39f76c49426eaf47e2d85796a33b4b9e5731ea44fef86fd
Shader 'CubemapFilterShaderGLES3' SHA256: aae12a6fcff916a16b5e3434095e58155de40e637d9b39438da99973c2aad121
OpenGL API 3.3.0 NVIDIA 528.49 - Compatibility - Using Device: NVIDIA - NVIDIA GeForce RTX 3050 Ti Laptop GPU
WASAPI: Activated output_device using IAudioClient3 interface
WASAPI: wFormatTag = 65534
WASAPI: nChannels = 2
WASAPI: nSamplesPerSec = 48000
WASAPI: nAvgBytesPerSec = 384000
WASAPI: nBlockAlign = 8
WASAPI: wBitsPerSample = 32
WASAPI: cbSize = 22
WASAPI: mix_rate = 48000
WASAPI: fundamental_period_frames = 480
WASAPI: min_period_frames = 480
WASAPI: max_period_frames = 480
WASAPI: selected a period frame size of 480
WASAPI: detected 2 channels
#
WASAPI: audio buffer frames: 480 calculated latency: 10ms

TextServer: Primary interface set to: "ICU / HarfBuzz / Graphite (Built-in)".
CORE API HASH: 915626997
EDITOR API HASH: 1313472085
EditorSettings: Load OK!
Loaded system CA certificates
EditorSettings: Save OK!
Editing project: C:/Users/pixel/Documents/Software/Godot/Amalgum
Godot Engine v4.2.1.stable.official.b09f793f5 - https://godotengine.org
TextServer: Added interfacEed i"tDourmSmeyt"t
ings: Save OK!
XR: Clearing prTiemxatrSye rivnetre:r fAadcdee
d interfaceX R":I CRUe m/o vHeadr fiBnutzezr f/a cGer a"pNhaittiev e( Bmuoiblitl-ei"n
)"X
R: Removed interface "OpenXR"
WARNING: GENERAL - Message Id Number: 0 | Message Id Name: Loader Message
        windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
        Objects - 1
                Object[0] - VK_OBJECT_TYPE_INSTANCE, Handle 2412432213056
     at: _debug_messenger_callback (drivers/vulkan/vulkan_context.cpp:264)
#

this is all

#

opening godot with --rendering_driver vulkan doesn't even open the project manager

paper condor
#

Selecting a different GPU doesn't help, right?

hallow flame
#

it doesnt

paper condor
#

Not sure if a reboot is required after charging the Environment Variable.

#

After that and fiddling around with all the commandline options related to graphics, I'm out of ideas and you might need to create an issue und GitHub for the engine developers to take a look.

hallow flame
#

didnt work. ill put it up on github

hallow flame
#

@paper condor i was able do fix it

#

i had some software called 'openGL, openCL, Vulkan compatibility' or something like that. i uninstalled it and godot started working properly

#

the warning remained but i just installed the vulkan sdk and it disappeared

#

that compatibility software that came with the pc was probably messing up vulkan

paper condor
#

Nice!