ValveSoftware / openvr

OpenVR SDK
http://steamvr.com
BSD 3-Clause "New" or "Revised" License
6.06k stars 1.27k forks source link

Minimal submit code crashes on Rift S #1362

Open LaylBongers opened 4 years ago

LaylBongers commented 4 years ago

I've put together the minimal amount of code to get to what should be a valid submission: https://gitlab.com/layl/vkvrtest

People have reported to me that this code works on Vive, albeit with validation warnings. However, on Rift S it crashes completely, reporting an invalid image being used then crashing with an access violation.

The provided vulkan sample however works completely, I'm unsure where the issue is here.

LaylBongers commented 4 years ago

For people running across this issue, the main culprit is the validation layers, without layers it will work fine. There seems to be some kind of internal issue raising a lot of errors some of which result in access violations.