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

オープン
#1,076 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
c, linux
領域
backend, desktop

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Shell
スター
1.2k
フォーク
58
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ValveSoftware/SteamVR-for-Linux のほかの issue

ValveSoftware/SteamVR-for-Linux の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。