mono / VulkanSharp

Open source .NET binding for the Vulkan API
MIT License
537 stars 61 forks source link

queue.Submit (submitInfo, fence) segfaulting #66

Open AdvKern opened 6 years ago

AdvKern commented 6 years ago

Android version deployed to Nougat device, getting segfault on first Submit() call in DrawFrame(). "Got a SIGSEGV while executing native code". Any ideas what to check?

This is VS'17, JDK1.8, NDK13

realvictorprm commented 6 years ago

@AdvKern Is the code working on normal PC's? Vulkan has some pitfalls that's why I'm asking...

radekdoulik commented 6 years ago

Do the samples work OK on your device?

hshmhashemi commented 6 years ago

@Radek, yes the samples run fine on Windows.

AdvKern commented 6 years ago

@realvictor What are the pitfalls? You mean compared to other APIs?

realvictorprm commented 6 years ago

@AdvKern in general I'm just asking whether you're very sure this is due to VulkanSharp or rather due to your code. Currently it's difficult to help you at all without any code to reproduce your problem.

radekdoulik commented 6 years ago

@AdvKern check our samples, whether they run OK on your Android device and if they do, check how everything is setup in your app in comparison.

You can also use validation layers and debug report. It usually helps to spot issues.