[BUG] Steam Frame: vrlink encoder fails on Intel Arc (Meteor Lake) with "Failed to get host visible + host coherent memory type"

Abierto
#1,076 4 comentarios 1 reacción 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
c, linux
Área
backend, desktop

Línea de trabajo

Start with the Vulkan Video encoder setup path in the vrlink driver and trace the memory type selection that emits “Failed to get host visible + host coherent memory type.” The report identifies the failing setup stage but does not name the resource or source file, so first reproduce with the reported Intel Arc and Mesa ANV configuration and capture which allocation fails. Done means the encoder starts, or unsupported hardware produces a clear SteamVR message.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Describe the bug
The Steam Frame connects to SteamVR through the wireless adapter, but SteamVR on the PC keeps showing "please plug in VR headset". The vrlink driver cannot set up the Vulkan Video encoder on the Intel Arc iGPU. It drops the connection a few seconds after the headset connects.

There are two failures, in this order:

  1. With the default Mesa ANV driver, vrlink rejects the GPU:

    [HMDVulkan] Checking device 'Intel(R) Arc(tm) Graphics (MTL)' with driver 'Intel open-source Mesa driver'
    [HMDVulkan] Rejecting driver 'Intel open-source Mesa driver' as it does not seem to support Vulkan Video
    [HMDVulkan] Failed to create device... Exiting...
    

    ANV exposes Vulkan Video encode on this GPU only when ANV_DEBUG=video-encode is set. Without it, the device lists no VK_KHR_video_* extensions.

  2. With ANV_DEBUG=video-encode %command% in the SteamVR launch options, the device and the video session are created, but the encoder setup fails:

    [HMDVulkan] Using device 'Intel(R) Arc(tm) Graphics (MTL)' with driver 'Intel open-source Mesa driver'
    [HMDVulkan]  Created VkDevice with Compute Queue Family: 0 and Video Encode Queue Family: 1.
    [VideoVulkan] Is 10 bit SUPPORTED? Yes
    [VideoVulkan] Is Ultra Low Latency SUPPORTED? Yes
    [VideoVulkan] Created vkCreateVideoSessionKHR! chosen m_MaxSVLVideoExtent: 3200x4096
    [VideoVulkan] vkGetPhysicalDeviceVideoFormatPropertiesKHR: 1 properties for VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR:
    [VideoVulkan]    format: 1000156013
    [VideoVulkan]    imageUsageFlags: 32768
    [VideoVulkan] Failed to get host visible + host coherent memory type
    [HMDVulkan] Failed to setup encoder... Exiting...
    Connection active at 20.308306
    Connection inactive at 29.344838
    

The device does have HOST_VISIBLE | HOST_COHERENT memory types (with ANV_DEBUG=video-encode set):

Index Heap Flags
0 0 DEVICE_LOCAL, HOST_VISIBLE, HOST_COHERENT
1 0 DEVICE_LOCAL, HOST_VISIBLE, HOST_CACHED
2 0 DEVICE_LOCAL, PROTECTED
3 0 DEVICE_LOCAL, HOST_VISIBLE, HOST_COHERENT
4 0 DEVICE_LOCAL, HOST_VISIBLE, HOST_CACHED

So the failure is probably that the memoryTypeBits of one encoder resource exclude types 0 and 3. I could not find out which resource from the log.

To Reproduce

  1. Use a laptop with an Intel Core Ultra 9 185H (Arc Graphics, Meteor Lake) and no discrete GPU.
  2. Install mesa-vulkan-drivers-freeworld (RPM Fusion) in place of the Fedora mesa-vulkan-drivers.
  3. Set SteamVR launch options to ANV_DEBUG=video-encode %command%.
  4. Connect the Steam Frame wireless adapter and start SteamVR.
  5. Stream from the Frame to the PC.
  6. See "Failed to get host visible + host coherent memory type" in driver_vrlink.txt. SteamVR shows "please plug in VR headset".

Expected behavior
The vrlink encoder starts on the Intel Arc iGPU and the Frame shows SteamVR. Or, if Intel iGPUs are not supported, SteamVR shows a clear message about it, not "please plug in VR headset".

System Information:

  • Steam client version: 1782866176
  • SteamVR version: beta branch, build 1794604515 (app build 26655409). The same error occurs on the stable branch.
  • vrlink version: 0.4.5 (20261022.6150929)
  • Distribution: Fedora Linux 45 (Workstation Edition), kernel 7.3.3-300.fc45.x86_64
  • GPU: Intel Arc Graphics (Meteor Lake-P, 8086:7d55), i915 kernel driver
  • Vulkan driver: Mesa 26.2.6 ANV (mesa-vulkan-drivers-freeworld 26.2.6-1.fc45 from RPM Fusion)
  • GPU firmware: GuC 70.53.0, HuC 8.5.4 ("authenticated for all workloads"), GSC 102.1.15.1926. No i915 errors in the kernel log.
  • Steam runtime diagnostics: Attached in a comment below.
  • Steam and SteamVR logs: Attached in a comment below.
  • Minidumps: none. Nothing crashes.

Additional context

  • The network link works. The log shows Connection active and the HMD static props (Model Number: Deckard MP) are received before the encoder fails. The firewall allows UDP 1025-65535.
  • VA-API encode works on this GPU with intel-media-driver (iHD 26.3.5): vainfo lists H.264, HEVC and AV1 VAEntrypointEncSlice.

AI disclosure
I used an AI assistant (Claude Code) to read the logs, check the Vulkan memory types and extensions on my PC, and draft this report. I checked the report and ran each step myself. The log lines are copied from my driver_vrlink.txt. The cause in the first section ("probably") is not proven.

Lenguaje dominante
Shell
Estrellas
1.2k
Forks
58
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ValveSoftware/SteamVR-for-Linux

Todos los issues de ValveSoftware/SteamVR-for-Linux

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.