godotengine / godot

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

Godot 4 crashes when loading project with anything other than Compatibility settings. #74296

Open tool3ym8 opened 1 year ago

tool3ym8 commented 1 year ago

Godot version

4.0-stable

System information

Fedora 36,

Issue description

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.stable.official (92bee43adba8d2401ef40e2480e53087bcb1eaf1)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib64/libc.so.6(+0x3ea30) [0x7fbfda23ea30] (??:0)
[2] /usr/lib64/libvulkan_radeon.so(+0x1483e7) [0x7fbfc49483e7] (??:0)
[3] /usr/lib64/libvulkan_radeon.so(+0x123589) [0x7fbfc4923589] (??:0)
[4] /home/sean/Desktop/gamedev/Godot4/Godot_v4.0-stable_linux.x86_64() [0x1b042ca] (??:0)
[5] /home/sean/Desktop/gamedev/Godot4/Godot_v4.0-stable_linux.x86_64() [0x1abe45e] (??:0)
[6] /home/sean/Desktop/gamedev/Godot4/Godot_v4.0-stable_linux.x86_64() [0x3b5e932] (??:0)
[7] /home/sean/Desktop/gamedev/Godot4/Godot_v4.0-stable_linux.x86_64() [0xec1616] (??:0)
[8] /home/sean/Desktop/gamedev/Godot4/Godot_v4.0-stable_linux.x86_64() [0x1ec3b73] (??:0)
[9] /home/sean/Desktop/gamedev/Godot4/Godot_v4.0-stable_linux.x86_64() [0x1c271af] (??:0)
[10] /home/sean/Desktop/gamedev/Godot4/Godot_v4.0-stable_linux.x86_64() [0x1c2c242] (??:0)
[11] /home/sean/Desktop/gamedev/Godot4/Godot_v4.0-stable_linux.x86_64() [0x1c2dd85] (??:0)
[12] /home/sean/Desktop/gamedev/Godot4/Godot_v4.0-stable_linux.x86_64() [0x4568594] (??:0)
[13] /home/sean/Desktop/gamedev/Godot4/Godot_v4.0-stable_linux.x86_64() [0x2b9a3ee] (??:0)
[14] /home/sean/Desktop/gamedev/Godot4/Godot_v4.0-stable_linux.x86_64() [0x2bd12a1] (??:0)
[15] /home/sean/Desktop/gamedev/Godot4/Godot_v4.0-stable_linux.x86_64() [0xec07db] (??:0)
[16] /home/sean/Desktop/gamedev/Godot4/Godot_v4.0-stable_linux.x86_64() [0xe027f3] (??:0)
[17] /lib64/libc.so.6(+0x29510) [0x7fbfda229510] (??:0)
[18] /lib64/libc.so.6(__libc_start_main+0x89) [0x7fbfda2295c9] (??:0)
[19] /home/sean/Desktop/gamedev/Godot4/Godot_v4.0-stable_linux.x86_64() [0xe2286e] (??:0)
-- END OF BACKTRACE --
================================================================

Upon loading a project with Forward+ or Mobile settings, I see this followed by the engine crashing to the previous log. I suspect it is a driver related issue but updating my drivers hasn't fixed it on multiple attempts throughout the Beta and RC stage, I do apologise for not reporting it sooner.

Vulkan works great on my GPU except for a few particular things, and Godot seems to be one of them.

PC specs: 8-core Ryzen 5 3550H with Vega graphics

Steps to reproduce

Setting any project to forward+ or mobile causes this. Compatibility works fine, but has no shading, of course.

Minimal reproduction project

N/A doesn't make a difference

Calinou commented 1 year ago

The crash is in your graphics driver. Try upgrading to Fedora 37 so you get a newer Mesa version. You could also try switching to AMDVLK (instead of using the default RADV), but RADV works fine in my experience if you stick to recent Mesa versions.

Also, can you try to get a full backtrace by running a debug build from a terminal? This may tell you more accurately where the issue comes from.