{"action":"created","issue":{"url":"https://api.github.com/repos/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/569","repository_url":"https://api.github.com/repos/KhronosGroup/Vulkan-LoaderAndValidationLayers","labels_url":"https://api.github.com/repos/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/569/labels{/name}","comments_url":"https://api.github.com/repos/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/569/comments","events_url":"https://api.github.com/repos/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/569/events","html_url":"https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/569","id":155963076,"number":569,"title":"Crash when running on system with two graphics cards","user":{"login":"courtney-g","id":851793,"avatar_url":"https://avatars.githubusercontent.com/u/851793?v=3","gravatar_id":"","url":"https://api.github.com/users/courtney-g","html_url":"https://github.com/courtney-g","followers_url":"https://api.github.com/users/courtney-g/followers","following_url":"https://api.github.com/users/courtney-g/following{/other_user}","gists_url":"https://api.github.com/users/courtney-g/gists{/gist_id}","starred_url":"https://api.github.com/users/courtney-g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/courtney-g/subscriptions","organizations_url":"https://api.github.com/users/courtney-g/orgs","repos_url":"https://api.github.com/users/courtney-g/repos","events_url":"https://api.github.com/users/courtney-g/events{/privacy}","received_events_url":"https://api.github.com/users/courtney-g/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/KhronosGroup/Vulkan-LoaderAndValidationLayers/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"jon-lunarg","id":6935198,"avatar_url":"https://avatars.githubusercontent.com/u/6935198?v=3","gravatar_id":"","url":"https://api.github.com/users/jon-lunarg","html_url":"https://github.com/jon-lunarg","followers_url":"https://api.github.com/users/jon-lunarg/followers","following_url":"https://api.github.com/users/jon-lunarg/following{/other_user}","gists_url":"https://api.github.com/users/jon-lunarg/gists{/gist_id}","starred_url":"https://api.github.com/users/jon-lunarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jon-lunarg/subscriptions","organizations_url":"https://api.github.com/users/jon-lunarg/orgs","repos_url":"https://api.github.com/users/jon-lunarg/repos","events_url":"https://api.github.com/users/jon-lunarg/events{/privacy}","received_events_url":"https://api.github.com/users/jon-lunarg/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/KhronosGroup/Vulkan-LoaderAndValidationLayers/milestones/2","html_url":"https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/milestones/P2","labels_url":"https://api.github.com/repos/KhronosGroup/Vulkan-LoaderAndValidationLayers/milestones/2/labels","id":1616526,"number":2,"title":"P2","description":"","creator":{"login":"lentinem","id":9709345,"avatar_url":"https://avatars.githubusercontent.com/u/9709345?v=3","gravatar_id":"","url":"https://api.github.com/users/lentinem","html_url":"https://github.com/lentinem","followers_url":"https://api.github.com/users/lentinem/followers","following_url":"https://api.github.com/users/lentinem/following{/other_user}","gists_url":"https://api.github.com/users/lentinem/gists{/gist_id}","starred_url":"https://api.github.com/users/lentinem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lentinem/subscriptions","organizations_url":"https://api.github.com/users/lentinem/orgs","repos_url":"https://api.github.com/users/lentinem/repos","events_url":"https://api.github.com/users/lentinem/events{/privacy}","received_events_url":"https://api.github.com/users/lentinem/received_events","type":"User","site_admin":false},"open_issues":44,"closed_issues":34,"state":"open","created_at":"2016-03-01T21:57:23Z","updated_at":"2016-05-20T16:25:36Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-05-20T13:27:52Z","updated_at":"2016-05-20T17:01:51Z","closed_at":null,"body":"This is a new issue seen while working on #487\r\n\r\nThanks to Piers Daniell from NVIDIA I found the cause of this crash and why not everyone is able to reproduce this :\r\n\r\nI mainly develop on an NVIDIA GPU but I sometimes switch it for an AMD GPU (for e.g. testing image layout transitions). As Windows is fine with this and loads up the drivers for the different GPUs just fine I don't remove drivers when switching from one vendor to another.\r\n\r\nAs such I have entries for the NVIDIA and AMD drivers in the registry :\r\n\r\nimage\r\n\r\nAnd the crash I'm getting seems to be related to this.\r\n\r\nTesting with NVIDIA I removed the AMD driver entry from the registry and the crash no longer happens.\r\n\r\nPutting the AMD entry back in the crash occurs again.\r\n\r\nIf I switch to AMD while still having the NVIDIA driver entry in the registry I don't see the crash, so this may be tied to an alphabetical loading order?\r\n\r\nSo this seems to be a very specific issue not related to a special IHV at all, but rather only related to systems with multiple driver entries of which at least one is for a GPU currently not present.\r\n\r\nI'm not sure how this should be handled, but (if it's possible to fix) it would be great if this won't would crash inside a validation layers. I can image that this may happen to more people in the future that switch to a different vendor without uninstalling drivers.\r\n\r\nShould I open up a new issue for this or is it okay to continue here?"},"comment":{"url":"https://api.github.com/repos/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/comments/220661804","html_url":"https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/569#issuecomment-220661804","issue_url":"https://api.github.com/repos/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/569","id":220661804,"user":{"login":"SaschaWillems","id":10283127,"avatar_url":"https://avatars.githubusercontent.com/u/10283127?v=3","gravatar_id":"","url":"https://api.github.com/users/SaschaWillems","html_url":"https://github.com/SaschaWillems","followers_url":"https://api.github.com/users/SaschaWillems/followers","following_url":"https://api.github.com/users/SaschaWillems/following{/other_user}","gists_url":"https://api.github.com/users/SaschaWillems/gists{/gist_id}","starred_url":"https://api.github.com/users/SaschaWillems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaschaWillems/subscriptions","organizations_url":"https://api.github.com/users/SaschaWillems/orgs","repos_url":"https://api.github.com/users/SaschaWillems/repos","events_url":"https://api.github.com/users/SaschaWillems/events{/privacy}","received_events_url":"https://api.github.com/users/SaschaWillems/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T17:01:51Z","updated_at":"2016-05-20T17:01:51Z","body":"In case you need an application to reproduce, here is my triangle example that I can reproduce the problem with. It includes windows binaries as well as sources : [vulkan_validation_crash_repo.zip](https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/files/275058/vulkan_validation_crash_repo.zip)\r\n"}}
{"actor":{"display_login":"SaschaWillems"}}