#[SOLVED] How to install Vulkan for Intel Arc 770 on Linux?

17 messages · Page 1 of 1 (latest)

olive grove
#

I installed two Intel Arc A770 GPUs but they don't show up in Vulkan but work everywhere else. I see them listed in clinfo -l, I can monitor them in nvtop, I can even use them for computation using SYCL but when I try using them using Vulkan they don't show up booth with the Vulkan that comes with Debian 12 and if I manually install the latest Vulkan. I already tried everything and am totaly out of ideas what I do wrong. I already tried booth the i915 and xe drivers and am experiencing the same issue with booth of them so it is not a driver issue. I also upgraded from kernel 6.8 to kernel 6.11.11-2-pve to make sure I have the latest Intel drivers but the issue persisted. Any help is highly appreciated.

clinfo -l
Platform #0: NVIDIA CUDA
 +-- Device #0: NVIDIA GeForce RTX 4090
 `-- Device #1: NVIDIA GeForce RTX 4090
Platform #1: Intel(R) OpenCL Graphics
 +-- Device #0: Intel(R) Arc(TM) A770 Graphics
 `-- Device #1: Intel(R) Arc(TM) A770 Graphics

Shortened vulkaninfo --summary output using VulkanSDK v1.4.309.0 - as you can see only the NVidia but not the Intel GPUs show up:

./vulkaninfo --summary
WARNING: [Loader Message] Code 0 : loader_add_layer_properties: 'layers' tag not supported until file version 1.0.1, but /etc/vulkan/implicit_layer.d/nvidia_layers.json is reporting version "1
'DISPLAY' environment variable not set... skipping surface info
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.239
Instance Extensions: count = 22

Instance Layers: count = 1
--------------------------
VK_LAYER_NV_optimus NVIDIA Optimus layer 1.3.278  version 1

Devices:
========
GPU0:
        apiVersion         = 1.3.278
        driverVersion      = 555.42.2.0
        deviceName         = NVIDIA GeForce RTX 4090
GPU1:
        apiVersion         = 1.3.278
        driverVersion      = 555.42.2.0
        deviceName         = NVIDIA GeForce RTX 4090

Attached a screenshot from nvtop (some values are missing due to limited support for Intel GPUs).

solar panther
#

clinfo and nvtop don't check for vulkan. My first question is what do you mean by installing Vulkan. If you mean the VulkanSDK you would still need to install a driver that supports the GPU+Vulkan.

#

Have you installed mesa? Which is a driver that has a vulkan backend for Intel ARC

olive grove
olive grove
solar panther
#

Yes, but Intel isn't an NVIDIA GPU

#

Each GPU architecture/vendor requires different drivers

#

VulkanSDK != Vulkan GPU Driver

#

Vulkan SDK contains tools that a developer can use to write Vulkan applications. A Vulkan Driver makes sure that the application can find your GPU using Vulkan.

olive grove
#

I see so Vulkan drivers are not included inside the Intel Client GPU drivers but inside mesa. I'm installing mesa now and will let you know shortly if it works once mesa is installed.

solar panther
#

Could also be that the intel driver didn't install correctly.

#

If vulkanInfo doesn't show the GPUs It is more likely be a driver/installation error on that side

#

The driver you're referring to might not contain vulkan. It seems to be a compute driver

olive grove
#

Wow you are awesome. I did the following and Vulkan is now recognizing the Intel GPUs!

apt install libgl1-mesa-dri libglx-mesa0 mesa-vulkan-drivers xserver-xorg-video-all
Instance Layers: count = 4
--------------------------
VK_LAYER_INTEL_nullhw       INTEL NULL HW                1.1.73   version 1
VK_LAYER_MESA_device_select Linux device selection layer 1.3.211  version 1
VK_LAYER_MESA_overlay       Mesa Overlay layer           1.3.211  version 1
VK_LAYER_NV_optimus         NVIDIA Optimus layer         1.3.278  version 1
#
GPU0:
        apiVersion         = 1.3.278
        driverVersion      = 555.42.2.128
        deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
        deviceName         = NVIDIA GeForce RTX 4090
        driverID           = DRIVER_ID_NVIDIA_PROPRIETARY
        driverName         = NVIDIA
        driverInfo         = 555.42.02
        conformanceVersion = 1.3.8.0
GPU1:
        apiVersion         = 1.3.289
        driverVersion      = 24.2.99
        deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
        deviceName         = Intel(R) Arc(tm) A770 Graphics (DG2)
        driverID           = DRIVER_ID_INTEL_OPEN_SOURCE_MESA
        driverName         = Intel open-source Mesa driver
        driverInfo         = Mesa 24.3.0-devel (git-9fc8668b66)
        conformanceVersion = 1.3.6.0
GPU2:
        apiVersion         = 1.3.289
        driverVersion      = 24.2.99
        deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
        deviceName         = Intel(R) Arc(tm) A770 Graphics (DG2)
        driverID           = DRIVER_ID_INTEL_OPEN_SOURCE_MESA
        driverName         = Intel open-source Mesa driver
        driverInfo         = Mesa 24.3.0-devel (git-9fc8668b66)
        conformanceVersion = 1.3.6.0
GPU3:
        apiVersion         = 1.3.278
        driverVersion      = 555.42.2.128
        deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
        deviceName         = NVIDIA GeForce RTX 4090
        driverID           = DRIVER_ID_NVIDIA_PROPRIETARY
        driverName         = NVIDIA
        driverInfo         = 555.42.02
        conformanceVersion = 1.3.8.0
GPU4:
        apiVersion         = 1.3.289
        driverVersion      = 0.0.1
        deviceType         = PHYSICAL_DEVICE_TYPE_CPU
        deviceName         = llvmpipe (LLVM 15.0.7, 256 bits)
        driverID           = DRIVER_ID_MESA_LLVMPIPE
        driverName         = llvmpipe
        driverInfo         = Mesa 24.3.0-devel (git-9fc8668b66) (LLVM 15.0.7)
solar panther
#

Glad I could help!

olive grove
#

Thanks a lot! I highly appreciate it. ❤️