Vulkan renderer segfault on window resize - nvidia 440.44 (SDL+bgfx) [linux] #2790
TheBeardOfTruth
started this conversation in
General
Replies: 3 comments
-
Having the same issue on more up-to-date bgfx. SDL2 + vulkan + bgfx seems to not support window resize well. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Found a workaround: call SDL_SetWindowResizable(false) from time to time to enforce vulkan rendering so that fences get released and not just hang. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Hexlord Can you reproduce the issue in provided examples? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
bgfx will throw some pipeline validation errors/warnings/notices/whatever.
Resizing the window throws further errors and segfaults the application. I'd assume BGFX's Vulkan implementation doesn't want to play nice with SDL2, though it's a relatively thin wrapper over native x11 windowing so I don't know, this would seem a fairly common use-case however (since cross-platform windowing is pretty tedious)
The relevant code snippet (SDL2+bgfx, basic boilerplate -- works fine with OpenGL 2.1 and 4.6)
Relevant code:
Beta Was this translation helpful? Give feedback.
All reactions