Open Protoxy22 opened 4 months ago
Hi @Protoxy22,
sadly this stack trace doesn't provide a lot of info. What makes you think the error is related to validation layers? The validation layers can be enabled in the configs via config.setEnableValidationLayer(true); (e.g. in the application class constructor) - The test classes I added usually set this to true, so maybe it helps to turn it off? To use the validation layers, you need to have them installed on your machine, maybe you didn't do this first. They can be installed with the Vulkan SDK (https://www.lunarg.com/vulkan-sdk).
In fact, that you didn't provide any errors from said validation layers makes me think, that they are indeed not properly setup/installed. Because these validation layers print warnings if some Vulkan methods like the vkCreateSwapchainKHR that crashes your application get called with arguments that aren't in the proper state. In other words: Usually, if a Vulkan method like vkCreateSwapchainKHR crashes, there will be a warning from the validation layer in the application logs with some details. But your post also doesn't contain the "normal" logs from the engine, so I wonder if those are printed correctly in your setup/IDE.
If all of this doesn't help, I can also add a bunch of logging so we can see what your hardware specs exactly are and what might not be supported in my default setup, but I doubt it will be super helpful.
In general, I'm not a huge Vulkan expert and am learning along the way - The engine is currently setup in a way that runs on my machine and a few others where I have been able to test it. But there will be for sure some things, that will not run immediately on all hardwares and that need to be abstracted. Let's hope this is not the case here :)
Kind regards
Hi @Protoxy22, any news on this? Was your issue solved?
Hi, your engine looks promising and I wanted to test it
I get a crash when starting TestImGui, or others Tests classes I may think it's because of a Vulkan validation layer or something like that, but I don't know how to configure it Have you any idea ? Thanks