Developing Games on Intel Graphics
If you are gaming on graphics integrated in your Intel Processor, this is the place for you! Find answers to your questions or post your issues with PC games
489 Discussions

[Vulkan][Linux][Mesa] VK_ERROR_INCOMPATIBLE_DIRVER

Mathieu_V_
Beginner
1,301 Views

Hello guys,

I'm on Gentoo/Linux and tried to run vulkaninfo, but :

===========
VULKAN INFO
===========

Vulkan API Version: 1.0.30

INFO: [loader] Code 0 : Found manifest file /home/celes/.vulkan/Vulkan-LoaderAndValidationLayers/dbuild/layers/VkLayer_threading.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/celes/.vulkan/Vulkan-LoaderAndValidationLayers/dbuild/layers/VkLayer_parameter_validation.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/celes/.vulkan/Vulkan-LoaderAndValidationLayers/dbuild/layers/VkLayer_swapchain.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/celes/.vulkan/Vulkan-LoaderAndValidationLayers/dbuild/layers/VkLayer_object_tracker.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/celes/.vulkan/Vulkan-LoaderAndValidationLayers/dbuild/layers/VkLayer_unique_objects.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/celes/.vulkan/Vulkan-LoaderAndValidationLayers/dbuild/layers/VkLayer_core_validation.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/celes/.vulkan/Vulkan-LoaderAndValidationLayers/dbuild/layers/VkLayer_image.json, version "1.0.0"
Cannot create Vulkan instance.
/home/celes/.vulkan/Vulkan-LoaderAndValidationLayers/demos/vulkaninfo.c:680: failed with VK_ERROR_INCOMPATIBLE_DRIVER

 

So I have mesa 12.0.1 and dri3 and my graphic card:

00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated Graphics (rev 06) (prog-if 00 [VGA controller])
	Subsystem: Micro-Star International Co., Ltd. [MSI] Sky Lake Integrated Graphics
	Flags: bus master, fast devsel, latency 0, IRQ 121
	Memory at dd000000 (64-bit, non-prefetchable) [size=16M]
	Memory at b0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [40] Vendor Specific Information: Len=0c <?>
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [100] Process Address Space ID (PASID)
	Capabilities: [200] Address Translation Service (ATS)
	Capabilities: [300] Page Request Interface (PRI)
	Kernel driver in use: i915

 

Maybe I need to do something to force kernel driver i965?

Thanks

Have a great day :)

0 Kudos
3 Replies
powerarmour
Valued Contributor II
1,301 Views
Seems like you just need to remove the xserver-xorg-video-intel driver to force DRI3 (and thus enable Vulkan)
0 Kudos
Mathieu_V_
Beginner
1,301 Views

Thanks for your help, but it's not working.

I think dri3 is okay :

[    88.548] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20151010
[    88.548] (WW) Falling back to old probe method for modesetting
[    88.548] (--) intel(0): gen9 engineering sample
[    88.548] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 4 threads
[    88.548] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    88.548] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    88.548] (==) intel(0): RGB weight 888
[    88.548] (==) intel(0): Default visual is TrueColor
[    88.549] (II) intel(0): Output HDMI1 has no monitor section
[    88.549] (II) intel(0): Enabled output HDMI1
[    88.549] (II) intel(0): Output HDMI2 has no monitor section
[    88.549] (II) intel(0): Enabled output HDMI2
[    88.549] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[    88.549] (II) intel(0): Output VIRTUAL1 has no monitor section
[    88.549] (II) intel(0): Enabled output VIRTUAL1
[    88.549] (--) intel(0): Output HDMI2 using initial mode 1920x1080 on pipe 0
[    88.549] (==) intel(0): TearFree disabled
[    88.549] (==) intel(0): DPI set to (96, 96)
[    88.549] (II) Loading sub module "dri3"
[    88.549] (II) LoadModule: "dri3"
[    88.549] (II) Module "dri3" already built-in
[    88.549] (II) Loading sub module "dri2"
[    88.549] (II) LoadModule: "dri2"
[    88.549] (II) Module "dri2" already built-in
[    88.549] (II) Loading sub module "present"
[    88.549] (II) LoadModule: "present"
[    88.549] (II) Module "present" already built-in
[    88.549] (II) UnloadModule: "modesetting"
[    88.549] (II) Unloading modesetting
[    88.549] (==) Depth 24 pixmap format is 32 bpp
[    88.549] (II) intel(0): SNA initialized with Skylake (gen9) backend
[    88.549] (==) intel(0): Backing store enabled
[    88.549] (==) intel(0): Silken mouse enabled
[    88.549] (II) intel(0): HW Cursor enabled
[    88.549] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    88.549] (==) intel(0): DPMS enabled
[    88.549] (==) intel(0): Display hotplug detection enabled
[    88.549] (II) intel(0): [DRI2] Setup complete
[    88.549] (II) intel(0): [DRI2]   DRI driver: i965
[    88.549] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[    88.549] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[    88.549] (II) intel(0): hardware support for Present enabled

 

I hope I won't have to switch on window to work on Vulkan...

Anyway thanks

0 Kudos
Michael_C_Intel2
Employee
1,301 Views

Hi Mathieu,

 

Unfortunately I can't help with Linux driver questions/issues, it is not a specialty. There are some places you can go for help though.

For questions and issues with the Mesa driver, your best options are:

 

For LVDS issues, your best option is to contact one of Intel's kernel graphics developers. You can find them on IRC atirc://irc.freenode.net/#intel-gfx and on the mailing list  http://lists.freedesktop.org/mailman/listinfo/intel-gfx

 

-Michael

0 Kudos
Reply