nvpro-samples / nvpro_core

shared source code and resources needed for the samples to run

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

context_vk.cpp::vkCreateDevice takes 328 milliseconds on Ubuntu 20.04

opened this issue · comments

https://github.com/nvpro-samples/shared_sources/blob/520a374b290b53acdc8cd7953e54b15fd26278a3/nvvk/context_vk.cpp#L485

Because of this, all example programs which use nvvk have a noticeable lag each time you run them. For comparison, all OpenGL programs start instantly because no init calls take this much time there, I thought Vulkan is supposed to be faster than OpenGL, not slower? :P

NVIDIA Driver Version: 440.82

This is not an issue with nvvk, but I rather an issue with the driver and the version of Ubuntu. Many are using Ubuntu and have not reported this issue. Please try with a more recent driver.