[HTC Vive Pro 2] XRT_COMPOSITOR_DEBUG=1 does not show available resolutions/refresh rates
Installed monado with monado-git AUR package after installing libsurvive-git from AUR. I'm on up-to-date Arch Linux
[joni@linuxjoni04 ~]$ XRT_COMPOSITOR_DEBUG=1 monado-service
INFO [ipc_server_main] Monado(XRT) by Collabora et al 'v21.0.0-4547-gf83879b9' starting up...
Info: Loaded drivers: GlobalSceneSolver, HTCVive
Info: Adding tracked object T20 from HTC
Info: Device T20 has watchman FW version 1622109928 and FPGA version 538/7/2; named ' WMBUILD-W64$'. Hardware id 0x85030009 Board rev: 3 (len 56)
Info: T20 is treated as HMD device
WARN [vive_get_slam_cams_calib] Using default factory extrinsics data for vive driver.
WARN [vive_get_slam_cams_calib] The rotations of the sensors in the factory data are off.
WARN [vive_get_slam_cams_calib] Use a custom calibration instead whenever possible.
WARN [valve_index_setup_visual_trackers] Unable to setup the hand tracker
WARN [valve_index_setup_visual_trackers] No visual trackers were set
Info: Detected LH gen 2 system.
Info: LightcapMode (T20) 1 -> 2 (4)
ERROR [opengloves_get_bt_devices] Failed to open socket!
ERROR [opengloves_get_bt_devices] Failed to open socket!
ERROR [opengloves_load_config_file] Failed to load config file
INFO [p_create_system] Creating system:
Builders:
qwerty: Qwerty devices builder
remote: Remote simulation devices builder
simulated: Simulated devices builder
rift_s: Oculus Rift S
rgb_tracking: RGB tracking based devices (PSVR, PSMV, ...)
steamvr: SteamVR proprietary wrapper (Vive, Index, Tundra trackers, etc.) devices builder
lighthouse: Lighthouse-tracked FLOSS (Vive, Index, Tundra trackers, etc.) devices builder
north_star: North Star headset
wmr: Windows Mixed Reality
xreal_air: Xreal Air
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 FLOSS (Vive, Index, Tundra trackers, etc.) devices builder
Got devices:
0: HTC Vive Pro 2 (libsurvive)
In roles:
head: HTC Vive Pro 2 (libsurvive), view count: 2
eyes: <none>
face: <none>
left: <none>
right: <none>
gamepad: <none>
hand_tracking.left: <none>
hand_tracking.right: <none>
Result: XRT_SUCCESS
DEBUG [comp_main_create_system_compositor] Doing init 0x642273b2c3c0
WARN [compositor_check_and_prepare_xdev] Had to fill in meshuv on xdev 'HTC Vive Pro 2 (libsurvive)', this should be done in the driver.
Info: OOTX not set for LH in channel 0; attaching ootx decoder using device T20
Info: Got OOTX packet 0 17e26508
INFO [compositor_init_window_pre_vulkan] Selected NVIDIA Direct-Mode backend!
INFO [create_device] Created device and GRAPHICS queue with QUEUE_GLOBAL_PRIORITY_MEDIUM.
INFO [vk_print_device_info] Device info:
name: NVIDIA GeForce RTX 3090 Ti
vendor: 0x10de
product: 0x2203
deviceType: VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
apiVersion: 1.3.277
driverVersion: 0x89930000
INFO [vk_print_features_info] Features:
timestamp_compute_and_graphics: true
timestamp_period: 1.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_override_extents] Target 'direct' overrides compositor extents with (3680x1836) was (0x0 false)
INFO [comp_window_direct_create_surface] Ignoring given extent 2880x1600 and using 3680x1836 from mode, bugs could happen otherwise.
INFO [vk_print_display_surface_create_info] VkDisplaySurfaceCreateInfoKHR:
flags:
displayMode: 0x642274183030
planeIndex: 0
planeStackIndex: 0
transform: VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR
planeIndex: 1.000000
alphaMode: VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR
imageExtent: {3680, 1836}
INFO [vk_print_surface_info] VkSurfaceKHR info:
caps.minImageCount: 2
caps.maxImageCount: 8
caps.currentExtent: 3680x1836
caps.minImageExtent: 3680x1836
caps.maxImageExtent: 3680x1836
caps.maxImageArrayLayers: 1
caps.supportedTransforms:
VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR
caps.currentTransform: VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR
caps.supportedCompositeAlpha:
VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR
caps.supportedUsageFlags:
VK_IMAGE_USAGE_TRANSFER_SRC_BIT
VK_IMAGE_USAGE_TRANSFER_DST_BIT
VK_IMAGE_USAGE_SAMPLED_BIT
VK_IMAGE_USAGE_STORAGE_BIT
VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT
VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT
present_modes(4):
VK_PRESENT_MODE_FIFO_KHR
VK_PRESENT_MODE_IMMEDIATE_KHR
VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR
VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR
formats(5):
[format = VK_FORMAT_A8B8G8R8_UNORM_PACK32, colorSpace = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR]
[format = VK_FORMAT_A8B8G8R8_SRGB_PACK32, colorSpace = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR]
[format = VK_FORMAT_A2B10G10R10_UNORM_PACK32, colorSpace = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR]
[format = VK_FORMAT_A1R5G5B5_UNORM_PACK16, colorSpace = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR]
[format = VK_FORMAT_B8G8R8A8_UNORM, colorSpace = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR]
INFO [vk_print_swapchain_create_info] VkSwapchainCreateInfoKHR:
surface: 0x642273cabae0
minImageCount: 2
imageFormat: VK_FORMAT_A2B10G10R10_UNORM_PACK32
imageColorSpace: VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
imageExtent: {3680, 1836}
imageArrayLayers: 1
imageUsage:
VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT
imageSharingMode: VK_SHARING_MODE_EXCLUSIVE
queueFamilyIndexCount: 0
preTransform: VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR
compositeAlpha: VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR
presentMode: VK_PRESENT_MODE_FIFO_KHR
clipped: VK_TRUE
oldSwapchain: (nil)
INFO [comp_target_swapchain_create_images] Started 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_R32_SFLOAT: true
VK_FORMAT_D32_SFLOAT: true
VK_FORMAT_D16_UNORM: true
VK_FORMAT_X8_D24_UNORM_PACK32: true
VK_FORMAT_D24_UNORM_S8_UINT: true
VK_FORMAT_D32_SFLOAT_S8_UINT: true
VK_FORMAT_S8_UINT: true
WARN [u_linux_try_to_set_realtime_priority_on_thread] Could not raise priority for thread 'Multi Client Module'
INFO [print_linux_end_user_started_information]
################################################################################
# #
# The Monado service has started. #
# #
################################################################################
Warning: Not entirely sure what this data is; errors may occur (0, 0x13)
13 1b a4 0a
Warning: Not entirely sure what this data is; errors may occur (0, 0xc3)
c3 3b 26 0b
Warning: Not entirely sure what this data is; errors may occur (0, 0x93)
93 6b a8 0b
Warning: Not entirely sure what this data is; errors may occur (0, 0x33)
33 9f 2a 0c
Warning: Not entirely sure what this data is; errors may occur (0, 0xf3)
f3 cb ac 0c
Warning: Not entirely sure what this data is; errors may occur (0, 0x83)
83 fe 2e 0d
Warning: Not entirely sure what this data is; errors may occur (0, 0xe3)
e3 2a b1 0d
Warning: Not entirely sure what this data is; errors may occur (0, 0x43)
43 52 33 0e
Warning: Not entirely sure what this data is; errors may occur (0, 0x53)
53 82 b5 0e
Warning: Not entirely sure what this data is; errors may occur (0, 0xb3)
b3 b2 37 0f
INFO [client_loop] Client 1 connected
INFO [ipc_handle_instance_describe_client] Client info:
id: 1
application_name: 'HelloXR'
pid: 35240
extensions:
ext_hand_tracking_enabled: false
ext_eye_gaze_interaction_enabled: false
ext_hand_interaction_enabled: false
hello_xr test:
[joni@linuxjoni04 ~]$ XR_RUNTIME_JSON=~/git/monado/build/openxr_monado-dev.json hello_xr -g Vulkan2 -ff Hmd
[19:29:22.532][Info ] Press any key to shutdown...
[19:29:22.551][Info ] Available Layers: (4)
LOG in xrCreateInstance: Instance created
createInfo->applicationInfo.applicationName: HelloXR
createInfo->applicationInfo.applicationVersion: 0
createInfo->applicationInfo.engineName:
createInfo->applicationInfo.engineVersion: 0
appinfo.detected.engine.name: (null)
appinfo.detected.engine.version: 0.0.0
quirks.disable_vulkan_format_depth_stencil: false
quirks.no_validation_error_in_create_ref_space: true
LOG in xrCreateInstance: Selected devices
Head: 'HTC Vive Pro 2 (libsurvive)'
Eyes: '<none>'
Left: '<none>'
Right: '<none>'
Gamepad: '<none>'
Hand-Tracking Left: '<none>'
Hand-Tracking Right: '<none>'
[19:29:22.594][Info ] Instance RuntimeName=Monado(XRT) by Collabora et al 'v21.0.0-4547-gf83879b9' RuntimeVersion=21.0.0
[19:29:22.594][Info ] Available View Configuration Types: (1)
[19:29:22.594][Info ] Available Environment Blend Mode count : (1)
[19:29:22.594][Info ] Environment Blend Mode (XR_ENVIRONMENT_BLEND_MODE_OPAQUE) : (Selected)
LOG in xrCreateVulkanInstanceKHR: Creation of VkInstance:
result: VK_SUCCESS
vulkanInstance: 0x638a8e73e4b0
extensions:
VK_KHR_external_fence_capabilities
VK_KHR_external_memory_capabilities
VK_KHR_external_semaphore_capabilities
VK_KHR_get_physical_device_properties2
VK_EXT_debug_utils
LOG in xrGetVulkanGraphicsDeviceKHR: Creation of VkDevice:
result: VK_SUCCESS
vulkanDevice: 0x638a8e7be8e0
vulkanInstance: 0x638a8e73e4b0
external_fence_fd: true
external_semaphore_fd: true
timelineSemaphore: true
extensions:
VK_KHR_dedicated_allocation
VK_KHR_external_fence
VK_KHR_external_memory
VK_KHR_external_semaphore
VK_KHR_get_memory_requirements2
VK_KHR_external_memory_fd
VK_KHR_external_semaphore_fd
VK_KHR_external_fence_fd
VK_KHR_image_format_list
VK_KHR_timeline_semaphore
[19:29:22.630][Info ] Loaded vertex shader
[19:29:22.630][Info ] Loaded fragment shader
[19:29:22.635][Info ] Available reference spaces: 3
[19:29:22.635][Info ] System Properties: Name=Monado: HTC Vive Pro 2 (libsurvive) VendorId=42
[19:29:22.635][Info ] System Graphics Properties: MaxWidth=16384 MaxHeight=16384 MaxLayers=16
[19:29:22.635][Info ] System Tracking Properties: OrientationTracking=True PositionTracking=True
[19:29:22.635][Info ] Creating swapchain for view 0 with dimensions Width=2015 Height=2240 SampleCount=1
[19:29:22.641][Info ] Creating swapchain for view 1 with dimensions Width=2015 Height=2240 SampleCount=1
[19:29:22.642][Info ] XrEventDataSessionStateChanged: state XR_SESSION_STATE_UNKNOWN->XR_SESSION_STATE_IDLE session=109446750957232 time=0
[19:29:22.642][Info ] XrEventDataSessionStateChanged: state XR_SESSION_STATE_IDLE->XR_SESSION_STATE_READY session=109446750957232 time=0
[19:29:22.645][Info ] XrEventDataSessionStateChanged: state XR_SESSION_STATE_READY->XR_SESSION_STATE_SYNCHRONIZED session=109446750957232 time=0
[19:29:22.645][Info ] XrEventDataSessionStateChanged: state XR_SESSION_STATE_SYNCHRONIZED->XR_SESSION_STATE_VISIBLE session=109446750957232 time=0
[19:29:22.645][Info ] XrEventDataSessionStateChanged: state XR_SESSION_STATE_VISIBLE->XR_SESSION_STATE_FOCUSED session=109446750957232 time=0