8

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

Makogan
  • 8,208
  • 7
  • 44
  • 112
  • 4
    It depends in the *specific* `Core i5` model, no? The Intel "i5" is a wide range of CPUs/revisions - ref. https://en.wikipedia.org/wiki/Vulkan_(API) for the versions supported. Note that *only* i5-6000+ series of chips are supported (FSVO) in all Vulkan environments.. – user2864740 Feb 09 '19 at 02:34
  • 3
    (So, if 4th gen = 4000-series then then it's too old and not supported, even if the integrated graphics might 'computationally' be capable of supporting such.) – user2864740 Feb 09 '19 at 02:39
  • 2
    Seems that's the answer then – Makogan Feb 09 '19 at 02:51
  • What operating system? – datenwolf Feb 09 '19 at 05:14
  • To my knowledge, only 6+ gen CPU supported on windows, and 3+ gen supported on Linuxes ATM. – krOoze Feb 09 '19 at 09:05
  • I am on linux. Arch linux specifically – Makogan Feb 09 '19 at 16:43
  • @krOoze do you have a source for that? I thought that it was only 6+ gen period. – Krupip Feb 11 '19 at 16:55
  • @opa Actually, the link in first comment says so. I have 3rd gen at hand; it works in linux distro via the Mesa driver. – krOoze Feb 11 '19 at 18:04
  • @krOoze looks like you're correct, so it isn't Intel officially supporting it? – Krupip Feb 11 '19 at 18:07
  • @Makogan What version of Mesa do you have? it looks like support is conditional on the version of Mesa as well. – Krupip Feb 11 '19 at 18:07

1 Answers1

3

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".

Neithy
  • 139
  • 4