Overv / VulkanTutorial

Tutorial for the Vulkan graphics and compute API
https://vulkan-tutorial.com
Creative Commons Attribution Share Alike 4.0 International
3.12k stars 513 forks source link

Creating a logical device causes a segfault #181

Closed Tooniis closed 4 years ago

Tooniis commented 4 years ago
if (vkCreateDevice(physicalDevice, &createInfo, nullptr, &device) != VK_SUCCESS) {
    throw std::runtime_error("failed to create logical device!");
}

This causes a segmentation fault.

Overv commented 4 years ago

I'd prefer tech support issues to be posted in the comments because more people are able to help out there. The GitHub issues are more appropriate for reporting problems with the tutorial itself.

Additionally, if you'd like to have help with this then make sure to include details about your full code and environment (OS / hardware / driver). With just this snippet there's no way to tell what might be wrong on your end.

Tooniis commented 4 years ago

I'd prefer tech support issues to be posted in the comments because more people are able to help out there. The GitHub issues are more appropriate for reporting problems with the tutorial itself.

Additionally, if you'd like to have help with this then make sure to include details about your full code and environment (OS / hardware / driver). With just this snippet there's no way to tell what might be wrong on your end.

Which comment section?

Overv commented 4 years ago

The Disqus comments under chapters on the website.

Tooniis commented 4 years ago

It didn't load for me before for some reason. I saw it now.