How to speed up vkCreateInstance?
up vote
-1
down vote
favorite
I am actually looking to a basic vulkan sample.
But I found that the apparition of the triangle pretty slow, so I took a profiler and it show me that the vkCreateInstance call take 596ms. For me this is surprising slow.
Is there a way to make it go much faster?
PS: The validation layer is disabled and the driver of my 980 GTX is update to date.
vulkan
|
show 1 more comment
up vote
-1
down vote
favorite
I am actually looking to a basic vulkan sample.
But I found that the apparition of the triangle pretty slow, so I took a profiler and it show me that the vkCreateInstance call take 596ms. For me this is surprising slow.
Is there a way to make it go much faster?
PS: The validation layer is disabled and the driver of my 980 GTX is update to date.
vulkan
Download Vulkan Loader's source code and check what is going on in there.
– Ekzuzy
Nov 11 at 20:17
Ok did a profile of the demo that comes with the LunarG SDK, and it takes only 60ms for the vkCreateInstance. I suspect that GLFW doing something wrong with required extensions.
– Xavier Bigand
Nov 11 at 23:05
vkCreateInstance
is not expected to be a hotspot, though 0.6 s is pushing it. Update to the latestest drivers from given GPU vendor website. If that does not help complain to the vendor.
– krOoze
Nov 12 at 19:44
I'm voting to close this question as off-topic becausevkCreateInstance
use is quite straightforward. Either there is some user measuring error or misuse (that is not shared in the OP), or it simply takes that long and StackOverflow audience can do nothing about it, and it needs to be discussed with appropriate softwaredriver vendors instead.
– krOoze
Nov 14 at 14:21
I already wrote that I am using the latest driver version with an up to date LunarG SDK too,... Both sample compiled with same version of Visual Studio in release mode. Maybe I need to do investigations my self, but a more experienced user with VK should be able to point me how layers can impact performances due to the number of indirections,...
– Xavier Bigand
Nov 14 at 20:13
|
show 1 more comment
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I am actually looking to a basic vulkan sample.
But I found that the apparition of the triangle pretty slow, so I took a profiler and it show me that the vkCreateInstance call take 596ms. For me this is surprising slow.
Is there a way to make it go much faster?
PS: The validation layer is disabled and the driver of my 980 GTX is update to date.
vulkan
I am actually looking to a basic vulkan sample.
But I found that the apparition of the triangle pretty slow, so I took a profiler and it show me that the vkCreateInstance call take 596ms. For me this is surprising slow.
Is there a way to make it go much faster?
PS: The validation layer is disabled and the driver of my 980 GTX is update to date.
vulkan
vulkan
edited Nov 11 at 17:15
πάντα ῥεῖ
71.3k972134
71.3k972134
asked Nov 11 at 17:10
Xavier Bigand
465
465
Download Vulkan Loader's source code and check what is going on in there.
– Ekzuzy
Nov 11 at 20:17
Ok did a profile of the demo that comes with the LunarG SDK, and it takes only 60ms for the vkCreateInstance. I suspect that GLFW doing something wrong with required extensions.
– Xavier Bigand
Nov 11 at 23:05
vkCreateInstance
is not expected to be a hotspot, though 0.6 s is pushing it. Update to the latestest drivers from given GPU vendor website. If that does not help complain to the vendor.
– krOoze
Nov 12 at 19:44
I'm voting to close this question as off-topic becausevkCreateInstance
use is quite straightforward. Either there is some user measuring error or misuse (that is not shared in the OP), or it simply takes that long and StackOverflow audience can do nothing about it, and it needs to be discussed with appropriate softwaredriver vendors instead.
– krOoze
Nov 14 at 14:21
I already wrote that I am using the latest driver version with an up to date LunarG SDK too,... Both sample compiled with same version of Visual Studio in release mode. Maybe I need to do investigations my self, but a more experienced user with VK should be able to point me how layers can impact performances due to the number of indirections,...
– Xavier Bigand
Nov 14 at 20:13
|
show 1 more comment
Download Vulkan Loader's source code and check what is going on in there.
– Ekzuzy
Nov 11 at 20:17
Ok did a profile of the demo that comes with the LunarG SDK, and it takes only 60ms for the vkCreateInstance. I suspect that GLFW doing something wrong with required extensions.
– Xavier Bigand
Nov 11 at 23:05
vkCreateInstance
is not expected to be a hotspot, though 0.6 s is pushing it. Update to the latestest drivers from given GPU vendor website. If that does not help complain to the vendor.
– krOoze
Nov 12 at 19:44
I'm voting to close this question as off-topic becausevkCreateInstance
use is quite straightforward. Either there is some user measuring error or misuse (that is not shared in the OP), or it simply takes that long and StackOverflow audience can do nothing about it, and it needs to be discussed with appropriate softwaredriver vendors instead.
– krOoze
Nov 14 at 14:21
I already wrote that I am using the latest driver version with an up to date LunarG SDK too,... Both sample compiled with same version of Visual Studio in release mode. Maybe I need to do investigations my self, but a more experienced user with VK should be able to point me how layers can impact performances due to the number of indirections,...
– Xavier Bigand
Nov 14 at 20:13
Download Vulkan Loader's source code and check what is going on in there.
– Ekzuzy
Nov 11 at 20:17
Download Vulkan Loader's source code and check what is going on in there.
– Ekzuzy
Nov 11 at 20:17
Ok did a profile of the demo that comes with the LunarG SDK, and it takes only 60ms for the vkCreateInstance. I suspect that GLFW doing something wrong with required extensions.
– Xavier Bigand
Nov 11 at 23:05
Ok did a profile of the demo that comes with the LunarG SDK, and it takes only 60ms for the vkCreateInstance. I suspect that GLFW doing something wrong with required extensions.
– Xavier Bigand
Nov 11 at 23:05
vkCreateInstance
is not expected to be a hotspot, though 0.6 s is pushing it. Update to the latestest drivers from given GPU vendor website. If that does not help complain to the vendor.– krOoze
Nov 12 at 19:44
vkCreateInstance
is not expected to be a hotspot, though 0.6 s is pushing it. Update to the latestest drivers from given GPU vendor website. If that does not help complain to the vendor.– krOoze
Nov 12 at 19:44
I'm voting to close this question as off-topic because
vkCreateInstance
use is quite straightforward. Either there is some user measuring error or misuse (that is not shared in the OP), or it simply takes that long and StackOverflow audience can do nothing about it, and it needs to be discussed with appropriate softwaredriver vendors instead.– krOoze
Nov 14 at 14:21
I'm voting to close this question as off-topic because
vkCreateInstance
use is quite straightforward. Either there is some user measuring error or misuse (that is not shared in the OP), or it simply takes that long and StackOverflow audience can do nothing about it, and it needs to be discussed with appropriate softwaredriver vendors instead.– krOoze
Nov 14 at 14:21
I already wrote that I am using the latest driver version with an up to date LunarG SDK too,... Both sample compiled with same version of Visual Studio in release mode. Maybe I need to do investigations my self, but a more experienced user with VK should be able to point me how layers can impact performances due to the number of indirections,...
– Xavier Bigand
Nov 14 at 20:13
I already wrote that I am using the latest driver version with an up to date LunarG SDK too,... Both sample compiled with same version of Visual Studio in release mode. Maybe I need to do investigations my self, but a more experienced user with VK should be able to point me how layers can impact performances due to the number of indirections,...
– Xavier Bigand
Nov 14 at 20:13
|
show 1 more comment
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53251167%2fhow-to-speed-up-vkcreateinstance%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Download Vulkan Loader's source code and check what is going on in there.
– Ekzuzy
Nov 11 at 20:17
Ok did a profile of the demo that comes with the LunarG SDK, and it takes only 60ms for the vkCreateInstance. I suspect that GLFW doing something wrong with required extensions.
– Xavier Bigand
Nov 11 at 23:05
vkCreateInstance
is not expected to be a hotspot, though 0.6 s is pushing it. Update to the latestest drivers from given GPU vendor website. If that does not help complain to the vendor.– krOoze
Nov 12 at 19:44
I'm voting to close this question as off-topic because
vkCreateInstance
use is quite straightforward. Either there is some user measuring error or misuse (that is not shared in the OP), or it simply takes that long and StackOverflow audience can do nothing about it, and it needs to be discussed with appropriate softwaredriver vendors instead.– krOoze
Nov 14 at 14:21
I already wrote that I am using the latest driver version with an up to date LunarG SDK too,... Both sample compiled with same version of Visual Studio in release mode. Maybe I need to do investigations my self, but a more experienced user with VK should be able to point me how layers can impact performances due to the number of indirections,...
– Xavier Bigand
Nov 14 at 20:13