Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does vulkan report a single device in a system with an integrated graphics card and a GPU?

In C++ I am checking the number of available devices like this:

uint32_t deviceCount = 0;
vkEnumeratePhysicalDevices(instance, &deviceCount, nullptr);

cout << deviceCount << endl;
vkGetPhysicalDeviceProperties(device, &deviceProperties);
vkGetPhysicalDeviceFeatures(device, &deviceFeatures);

cout << deviceProperties.deviceName << endl;

This is printing out 1 Geforce GTX 1070.

My system has a GTX 1070 and a 4th generation intel 5 processor with integrated graphics. Which to my understanding, should be good enough for Vulkan.

So why is my program only picking up the GTX 1070? Shouldn't it also be able to find the integrated graphics card?

Edit:

The exact model as per cpuinfo is: Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz

Edit 2:

My OS is Arch linux

like image 279
Makogan Avatar asked Feb 09 '19 02:02

Makogan


People also ask

What graphics cards support Vulkan?

Vulkan provides cross-platform access to RTX ray tracing acceleration. NVIDIA's Vulkan drivers support the Vulkan Ray Tracing extensions on all RTX GPUs, and GeForce GTX 1660 with 6GB+ of memory and GeForce GTX 1060+ with 6GB+ of memory.

What is Vulkan rendering?

Vulkan is a low-overhead, cross-platform API, open standard for 3D graphics and computing. Vulkan targets high-performance real-time 3D graphics applications, such as video games and interactive media.

Is Vulkan only for AMD?

Any AMD APU or Radeon™ GPU based on the Graphics Core Next (GCN) architecture is already Vulkan™-compliant. Because of this, form factors of all shapes and sizes can benefit from what Vulkan™ has to offer.

Does Vulkan replace OpenGL?

OpenGL is 22... it's time for a replacement – Khronos Group. GDC 2015 The Khronos Group, non-profit custodian of the OpenGL cross-platform graphics API, has announced its replacement, called Vulkan.


1 Answers

By default for desktops if you have dedicated GPU, integrated GPU is disabled in bios and will not show as a device in system.

Each bios vendor calls it differently, but try to look for "IGP ENABLE" or "Multi-monitor support".

like image 173
Neithy Avatar answered Sep 22 '22 13:09

Neithy