I am on Ubuntu 18.04 with an Intel CPU (8700k Coffee Lake) and a GTX 650 graphics card.
I have the nvidia propretary drivers 390.87 installed for the GTX 650, and vulkan-smoketest succeeds (see the flying teapots) when I run it using the GTX 650 with just the nvidia drivers installed.
When I install mesa-vulkan-drivers for the 8700k Intel HD Graphics and run vulkaninfo I see both the GPUs show up as expected:
GPU id : 0 (Intel(R) HD Graphics (Coffeelake 3x8 GT2))
GPU id : 1 (GeForce GTX 650)
however when I run vulkan-smoketest it tries to use the Intel GPU (as the first listed physical device I guess?). A window appears but it is black and I am unable to close it without killing the process.
If I run vulkan-smoketest --v I get:
$ vulkan-smoketest --v
Validation: Object: VK_NULL_HANDLE (Type = 0) | Shader requires vertexPipelineStoresAndAtomics but is not enabled on the device
Validation: Object: 0x21 (Type = 9) | vkBindBufferMemory(): Binding memory to buffer 0x21 but vkGetBufferMemoryRequirements() has not been called on that buffer.
Any ideas? Is there a better forum to report this? It’s unclear who would care this isn’t working? The mesa folks? Intel?
I think vulkan-smoketest is no longer part of the SDK. I suggest you first try cube to verify your Vulkan install.
And I suggest to update your SDK, if you are a programmer. That means getting it from https://vulkan.lunarg.com/sdk/home, instead of the notoriously obsolete Linuxey packages.
I have built cube by running build_examples.sh from the SDK version 1.1.82.1. Using cube I observe the same behaviour as vulkan-smoketest.
That is, cube runs fine with just the nvidia drivers installed. After installing mesa-vulkan-drivers cube shows a black window and cannot be closed without killing the program.
I will take a look at the updated driver links.
[QUOTE=krOoze;43789]I think vulkan-smoketest is no longer part of the SDK. I suggest you first try cube to verify your Vulkan install.
And I suggest to update your SDK, if you are a programmer. That means getting it from https://vulkan.lunarg.com/sdk/home, instead of the notoriously obsolete Linuxey packages.
FYI I have tried updating the drivers using the links provided, and the problem persists unchanged.
[QUOTE=Andrew Tomazos;43793]I have built cube by running build_examples.sh from the SDK version 1.1.82.1. Using cube I observe the same behaviour as vulkan-smoketest.
That is, cube runs fine with just the nvidia drivers installed. After installing mesa-vulkan-drivers cube shows a black window and cannot be closed without killing the program.
I will take a look at the updated driver links.[/QUOTE]