Vive Pro fails to init display (LH1, libsurvive, USB-C DP-alt mode on RX6800M laptop, wayland)
Reposting for bug report after question issue: Trying to get it to init the display hardware but I'm getting a consistent red light on the HMD and no image in the headset. I'm not sure if the halfsized window that pops up showing the perspective is supposed to be in the headset but I'm going to assume it's just a peek window. Any deeper debug info I can hand you?
I have to specify force wayland env variable or else it stalls:
XRT_COMPOSITOR_FORCE_WAYLAND=1 XRT_COMPOSITOR_FORCE_GPU_INDEX=0 monado-service
Info: All enumerated devices attached.
Info: Loaded drivers: HTCVive
Info: Adding tracked object T20 from HTC
Info: Device T20 has watchman FW version 1526689969 and FPGA version 531/7/2; named ' watchman'. Hardware id 0x85020006
Warning: Unknown model_number 'VIVE_Pro MV'. Please submit an issue with this value describing your device so it can be added to the known list.
Info: T20 is treated as HMD device
INFO [p_create_system] Creating system:
Builders:
rift_s: Oculus Rift S
rgb_tracking: RGB tracking based devices (PSVR, PSMV, ...)
lighthouse: Lighthouse-tracked (Vive, Index, Tundra trackers, etc.) devices builder
remote: Remote simulation devices builder
north_star: North Star headset
legacy: Legacy probing system
No builder selected in config (or wasn't compiled in)
Selected lighthouse because it was certain it could create a head
Using builder lighthouse: Lighthouse-tracked (Vive, Index, Tundra trackers, etc.) devices builder
Result: XRT_SUCCESS
DEBUG [xrt_gfx_provider_create_system] Doing init 0x561b801e5d80
WARN [compositor_check_and_prepare_xdev] Had to fill in meshuv on xdev 'HTC Vive Pro (libsurvive)', this should be done in the driver.
Info: Detected LH gen 1 system.
Info: Locked onto state 11(12, 1373323) at 2886836751 for T20
Info: OOTX not set for LH 1; attaching ootx decoder using device T20
Info: OOTX not set for LH 0; attaching ootx decoder using device T20
INFO [create_device] Created device and graphics queue with normal priority.
INFO [vk_print_device_info] Device info:
name: AMD Radeon RX 6800M (RADV NAVI22)
vendor: 0x1002
product: 0x73df
apiVersion: 1.3.226
driverVersion: 0x05802063
INFO [vk_print_features_info] Features:
timestamp_compute_and_graphics: true
timestamp_period: 10.000000
timestamp_valid_bits: 64
timeline_semaphore: true
INFO [vk_print_external_handles_info] Supported images:
VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT:
color import=true export=true
depth import=true export=true
INFO [vk_print_external_handles_info] Supported fences:
VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT: true
VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT: true
INFO [vk_print_external_handles_info] Supported semaphores:
VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT(binary): true
VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT(binary): true
VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT(timeline): false
VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT(timeline): true
INFO [comp_target_swapchain_create_images] Not using vblank event thread!
INFO [comp_vulkan_formats_log] Supported formats:
VK_FORMAT_R16G16B16A16_UNORM: true
VK_FORMAT_R16G16B16A16_SFLOAT: true
VK_FORMAT_R16G16B16_UNORM: false
VK_FORMAT_R16G16B16_SFLOAT: false
VK_FORMAT_R8G8B8A8_SRGB: true
VK_FORMAT_B8G8R8A8_SRGB: true
VK_FORMAT_R8G8B8_SRGB: false
VK_FORMAT_R8G8B8A8_UNORM: true
VK_FORMAT_B8G8R8A8_UNORM: true
VK_FORMAT_R8G8B8_UNORM: false
VK_FORMAT_B8G8R8_UNORM: false
VK_FORMAT_R5G6B5_UNORM_PACK16: true
VK_FORMAT_D32_SFLOAT: true
VK_FORMAT_D16_UNORM: true
VK_FORMAT_X8_D24_UNORM_PACK32: false
VK_FORMAT_D24_UNORM_S8_UINT: false
VK_FORMAT_D32_SFLOAT_S8_UINT: true
VK_FORMAT_S8_UINT: true
WARN [create_listen_socket] Removing stale socket file /run/user/1000/monado_comp_ipc
WARN [log_frame_time_diff] Frame late by 11.11ms!
If I don't specify wayland it stalls out and does not provide an openxr service for xrgears to use:
XRT_COMPOSITOR_FORCE_GPU_INDEX=0 monado-service
Info: All enumerated devices attached.
Info: Loaded drivers: HTCVive
Info: Adding tracked object T20 from HTC
Info: Device T20 has watchman FW version 1526689969 and FPGA version 531/7/2; named ' watchman'. Hardware id 0x85020006
Warning: Unknown model_number 'VIVE_Pro MV'. Please submit an issue with this value describing your device so it can be added to the known list.
Info: T20 is treated as HMD device
INFO [p_create_system] Creating system:
Builders:
rift_s: Oculus Rift S
rgb_tracking: RGB tracking based devices (PSVR, PSMV, ...)
lighthouse: Lighthouse-tracked (Vive, Index, Tundra trackers, etc.) devices builder
remote: Remote simulation devices builder
north_star: North Star headset
legacy: Legacy probing system
No builder selected in config (or wasn't compiled in)
Selected lighthouse because it was certain it could create a head
Using builder lighthouse: Lighthouse-tracked (Vive, Index, Tundra trackers, etc.) devices builder
Result: XRT_SUCCESS
DEBUG [xrt_gfx_provider_create_system] Doing init 0x55631634bd80
WARN [compositor_check_and_prepare_xdev] Had to fill in meshuv on xdev 'HTC Vive Pro (libsurvive)', this should be done in the driver.
Info: Detected LH gen 1 system.
Info: Locked onto state 11(12, 1373381) at 1742260264 for T20
Info: OOTX not set for LH 1; attaching ootx decoder using device T20
Info: OOTX not set for LH 0; attaching ootx decoder using device T20