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

Most examples segfault on Linux/Vulkan #171

Closed
rastertail opened this issue Jul 3, 2019 · 5 comments
Closed

Most examples segfault on Linux/Vulkan #171

rastertail opened this issue Jul 3, 2019 · 5 comments

Comments

@rastertail
Copy link

All of the examples excluding triangle and init segfault while trying to run the framegraph. I want to say this is caused by PresentNode given that the triangle example doesn't use it and is also the only substantial example that works, but I haven't actually tested to see if that's the case.

Tested with:
Linux 5.1.5
NVIDIA driver 430.26
rustc 1.35.0

@fu5ha
Copy link
Member

fu5ha commented Jul 3, 2019

I'm going on a limb and saying this is probably the Vulkan debug layer bug. Do you have the latest Vulkan SDK installed? If so, the info about only caused on the ones without PresentNode could be a helpful clue!

@rastertail
Copy link
Author

I think so? I'm a little confused right now, the LunarG website says the latest version is 1.1.108, yet all of the Arch Linux packages (which I am on) are version 1.1.112

@fu5ha
Copy link
Member

fu5ha commented Jul 3, 2019

Interesting, well I'm guessing it's above 1.1.106 either way. Try downgrading to 1.1.106 if you can, should clear up the segfault.

@rastertail
Copy link
Author

Definitely seems to be an issue with the validation layers - compiling with --release (disables validation layers in gfx-backend-vulkan) works fine.

@jaynus
Copy link
Contributor

jaynus commented Jul 3, 2019

Fix has just been merged. https://github.com/KhronosGroup/Vulkan-ValidationLayers/pull/1035/files

We should see this fixed in the next version of the validation layers. Closing.

@jaynus jaynus closed this as completed Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants