Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New AMD Vulkan Driver breaks example. #23

Closed
Berserker66 opened this issue Aug 3, 2017 · 5 comments
Closed

New AMD Vulkan Driver breaks example. #23

Berserker66 opened this issue Aug 3, 2017 · 5 comments
Labels

Comments

@Berserker66
Copy link
Contributor

So, updating from AMD 17.7 drivers to 17.7.2 has made the example crash.
All other vulkan applications still work (VulkanSDK stuff, Doom..)

The console output:
https://pastebin.com/yi9Lxd7G

Vulkaninfo before the update:
https://pastebin.com/rmnmN15V

Vulkaninfo after the update:
https://pastebin.com/vsF8Amxz

@realitix
Copy link
Owner

realitix commented Aug 4, 2017

Hello @Berserker66,
The problem could be because of the selected extensions (all) or because of a bad creation of queues.
I will take a look soon, I'm in Australia right now.

@Berserker66
Copy link
Contributor Author

So, yeah, one of those extensions is the cause. Turning on only VK_KHR_swapchain makes the example work again.

@realitix
Copy link
Owner

Thanks for the tips. I'm going to update the example to avoid error like that

@realitix realitix added the bug label Aug 31, 2017
@Berserker66
Copy link
Contributor Author

The new version of the vulkan SDK (1.0.57) now has some validation layer info on this issue:

DEBUG: ParameterValidation VkDeviceCreateInfo->ppEnabledExtensionNames must not simultaneously include VK_KHR_maintenance1 and VK_AMD_negative_viewport_height. The spec valid usage text states 'ppEnabledExtensionNames must not contain both VK_KHR_maintenance1 and VK_AMD_negative_viewport_height' (https://www.khronos.org/registry/vulkan/specs/1.0-extensions/html/vkspec.html#VUID-VkDeviceCreateInfo-ppEnabledExtensionNames-00374)
DEBUG: loader terminator_CreateDevice: Failed in ICD C:\WINDOWS\System32\.\amdvlk64.dll vkCreateDevicecall
DEBUG: ParameterValidation vkCreateDevice: returned VK_ERROR_INITIALIZATION_FAILED, indicating that initialization of an object has failed
DEBUG: loader vkCreateDevice:  Failed to create device chain.

@realitix
Copy link
Owner

realitix commented Sep 8, 2017

Thanks @Berserker66. I fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants