Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistent Forward+ crash - RenderingDeviceDriverVulkan #88906

Open
Lippanon opened this issue Feb 27, 2024 · 2 comments
Open

Consistent Forward+ crash - RenderingDeviceDriverVulkan #88906

Lippanon opened this issue Feb 27, 2024 · 2 comments

Comments

@Lippanon
Copy link

Tested versions

v4.3.dev.custom_build [a586e86]

System information

Windows 10 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 970 (NVIDIA; 31.0.15.4633)

Issue description

Godot consistently crashes when coming from hibernate on W10, as per described steps. The stacktrace is always the same:

================================================================
CrashHandlerException: Program crashed
Engine version: Godot Engine v4.3.dev.custom_build (a586e860e5fc382dec4ad9a0bec72f7c6684f020)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[0] <couldn't map PC to fn name>
[1-23] <couldn't map PC to fn name>
[24] RenderingDeviceDriverVulkan::_swap_chain_release (Godot\drivers\vulkan\rendering_device_driver_vulkan.cpp:2441)
[25] RenderingDeviceDriverVulkan::swap_chain_resize (Godot\drivers\vulkan\rendering_device_driver_vulkan.cpp:2544)
[26] RenderingDevice::screen_prepare_for_drawing (Godot\servers\rendering\rendering_device.cpp:3191)
[27] RendererCompositorRD::blit_render_targets_to_screen (Godot\servers\rendering\renderer_rd\renderer_compositor_rd.cpp:38)
[28] RendererViewport::draw_viewports (Godot\servers\rendering\renderer_viewport.cpp:819)
[29] RenderingServerDefault::_draw (Godot\servers\rendering\rendering_server_default.cpp:92)
[30] RenderingServerDefault::draw (Godot\servers\rendering\rendering_server_default.cpp:388)
[31] Main::iteration (Godot\main\main.cpp:4008)
[32] OS_Windows::run (Godot\platform\windows\os_windows.cpp:1476)
[33] widechar_main (Godot\platform\windows\godot_windows.cpp:182)
[34] _main (Godot\platform\windows\godot_windows.cpp:206)[35] main (Godot\platform\windows\godot_windows.cpp:218)
[36] __scrt_common_main_seh (D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
[37] <couldn't map PC to fn name>
-- END OF BACKTRACE --
================================================================

Steps to reproduce

  1. Have Godot open in the 3D editor view
  2. Press (or mouse click) Windows Key
  3. Right click Power options, Hibernate
  4. Turn PC back on, Godot will have crashed on these specs

image

Minimal reproduction project (MRP)

Reproducible on an empty project, which I include here:
Empty Proj.zip

@Calinou
Copy link
Member

Calinou commented Feb 27, 2024

I'm surprised this occurs on Windows though, considering resume-from-suspend issues are most common by far on Linux.

@Lippanon
Copy link
Author

I should mention that before the recent GPU sync commits I would often (if not always, I don't recall) get the infamous 'Vulkan device lost' error spam on wake. Now it has become this crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants