Skip to content

Vulkan: Godot Engine 4.4.dev crashes on startup on Linux and Windows #95967

@ywmaa

Description

@ywmaa

Tested versions

last commit in 4.4 dev:
568589c

these are the packages I am using in NixOS to build Godot Engine:

wayland.dev
wayland-scanner
wayland-utils
libGLU
libglvnd
xorg.libX11
xorg.libXcursor
xorg.libXrandr
xorg.libXinerama
xorg.libXi
xorg.libXrandr
mesa
libexecinfo
eudev
alsa-lib
pulseaudio
python3
scons
gcc
pkg-config

It builds fine without any problem, only when I launch the godot binary, it shows the godot logo for moments then crashes

Screenshot from 2024-08-23 03-29-57

Then the crash:
image

BTW, I can run the official 4.3 stable version fine on my system:
image

also before going to this commit, I could previously compile and run Godot at some point in 4.3 commits.
Edit: I mean this commit builds and runs fine: b7feebe

System information

NixOS 24.05, CPU: AMD Ryzen 7 5800H with Radeon Graphics, GPU: NVIDIA GeForce RTX 3070 Mobile / Max-Q

Issue description

handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.4.dev.custom_build (568589c)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib64/libc.so.6(+0x3ff30) [0x7ff82612df30] (??:0)
[2] ./bin/godot.linuxbsd.editor.x86_64() [0x1442c42] (??:0)
[3] /lib64/libvulkan.so.1(+0x362e9) [0x7ff81e24a2e9] (??:0)
[4] /lib64/libvulkan.so.1(vkEnumeratePhysicalDevices+0x8c) [0x7ff81e24f81c] (??:0)
[5] ./bin/godot.linuxbsd.editor.x86_64() [0x144676a] (??:0)
[6] ./bin/godot.linuxbsd.editor.x86_64() [0x1448230] (??:0)
[7] ./bin/godot.linuxbsd.editor.x86_64() [0x3626206] (??:0)
[8] ./bin/godot.linuxbsd.editor.x86_64() [0x1fcb413] (??:0)
[9] ./bin/godot.linuxbsd.editor.x86_64() [0x18b760f] (??:0)
[10] ./bin/godot.linuxbsd.editor.x86_64() [0x4f927f] (??:0)
[11] ./bin/godot.linuxbsd.editor.x86_64() [0x424b49] (??:0)
[12] /lib64/libc.so.6(+0x2a10e) [0x7ff82611810e] (??:0)
[13] /lib64/libc.so.6(__libc_start_main+0x89) [0x7ff8261181c9] (??:0)
[14] ./bin/godot.linuxbsd.editor.x86_64() [0x447a25] (??:0)
-- END OF BACKTRACE --

Steps to reproduce

Build from source then run the godot binary

Minimal reproduction project (MRP)

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions