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

Đang mở
#1,076 4 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
c, linux
Lĩnh vực
backend, desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Shell
Star
1.2k
Fork
58
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ValveSoftware/SteamVR-for-Linux

Tất cả issue của ValveSoftware/SteamVR-for-Linux

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.