Can't enable Intel DRI 3 for Vulkan

I’ve trying to try some Vulkan samples, but I couldn’t got them to work, as I got this:


vulkan: No DRI3 support

So I tried, to enable DRI with Intel, but no luck so far, I’ ve tried this in my /etc/X11/xorg.conf.d/20-intel.conf :

Section "Device"   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "SwapBuffersWait" "0"
   Option      "DRI" "3"
EndSection



Also, can’t find the way to use the NVIDIA graphics cards with Vulkan, but maybe this is better in another thread?

Is this a note book with Intel+NVIDIA GPU??? If so may be an Optimus based system. If so then you need bumblebee or if you can disable the Intel GPU in the BIOS

My bad, it is a Intel+Nvidia Notebook, and I was using bumblebee but now I’ve moved to suse_prime + bbswitch (btw it seems to be working nice), also I tried this when I had bumbleebee however the intel xorg conf was like this at the time:


Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "DRI" "3"
EndSection

However I had the same exact error.
BTW, I don’t know whether this will help or not,but with the Intel GPU I get this when asking for GL_VENDOR


➜  ~ env  DRI_PRIME=0 glxgears -info | grep "GL_VENDOR"
GL_VENDOR     = Intel Open Source Technology Center

also, I know the Nvidia GPU is not in use (my laptop’s led changes color when the Nvidia GPU is activated), and also I get the Nvidia one when I change to Nvidia GPU.