godot: Vulkan: Project Manager crashes after some interaction when RivaTuner Statistics Server or MSI Afterburner is injected (DisplayServer regression)

Godot version

v4.0.alpha2.official.79077e6c1

System information

Windows 10, Vulkan, Nvidia Geforce 750Ti (30.0.15.1165)

Issue description

Godot 4.0 a2 hangs or crashes after basic interaction with Project Manager

Steps to reproduce

  1. Click New Project
  2. Change Version Control Metadata Git -> None
  3. Observe it doesn’t change and console has errors: ERROR: Condition "err" is true. Returning: ERR_CANT_CREATE at: swap_buffers (drivers/vulkan/vulkan_context.cpp:1956) ERROR: Vulkan: Did not create swapchain successfully. at: (drivers/vulkan/vulkan_context.cpp:1880)

Other interactions can be similar, like:

  1. Click New Project
  2. Close New Project popup
  3. Try clicking New Project again

or

  1. Have some deleted project in a list
  2. Try to Remove missing project

Minimal reproduction project

Not needed.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (8 by maintainers)

Commits related to this issue

Most upvoted comments

@Calinou running Godot_v4.0-alpha2_win64.exe --single-window -e --path C:\project\path helps, editor and F6 works correctly even with overlay software running, thanks. image

I can confirm this with RTSS 7.3.3.

Seems like RTSS is not designed to handle mult-window Vulkan apps, and trying to unload itself when any of the popup windows or tooltips is closed, this causes either crash or broken swapchain (ERROR: Vulkan: Did not create swapchain successfully spam).

Unlikely we can do anything with it, probably it’s better to report it to the RTSS developers.

After seeing @realgdman’s post, I put Godot into the exclusion list of rivatuner statistics server and it works without modifying the command line arguments. Seems like there is an incompatibility in there somewhere with rtss’ overlay probably. (So far it did work on every Vulkan game I played, including emulators)

@Calinou okay great thanks for the help, it is caused by RivaTuner Statistics Server which comes with MSI Afterburner. Software for showing FPS and controlling GPU coolers. It doesn’t need to be uninstalled, just disabled during working with Godot 4.

@marcinn: Likely a different issue. Search for ERR_CANT_CREATE, as I’m sure was reported already.