Reverb G2 not in nvidia allowlist
I am running Arch with nvidia drivers 525.60.11 with HP Reverb G2 and latest monado git version. If I try to run monado-service I get:
INFO [wmr_read_config] Manufacturer: HP Inc.
INFO [wmr_read_config] Device: VR3000-0XX
INFO [wmr_read_config] Serial: 8CC247Z1LJ
INFO [wmr_read_config] UID: {C267DFE5-453B-5AEA-9F20-B1A9E1335206}
INFO [wmr_read_config] Name: HP Reverb Virtual Reality Headset G2
INFO [wmr_read_config] Revision: RevB.M.A
INFO [wmr_read_config] Revision Date: 2022-11-28
INFO [wmr_hmd_create] Found WMR headset type: HP Reverb G2
INFO [wmr_hmd_create] FoV eye 0 angles left -0.894674 right 0.729563 down -0.810078 up 0.806486
INFO [wmr_hmd_create] Render texture range -1.246466, -1.050620 to 0.894131, 1.043091
INFO [wmr_hmd_create] FoV eye 1 angles left -0.719494 right 0.907882 down -0.807601 up 0.808103
INFO [wmr_hmd_create] Render texture range -0.876173, -1.045421 to 1.280761, 1.046472
INFO [wmr_hmd_activate_reverb] Sent activation report.
INFO [wmr_hmd_activate_reverb] Sleep until the HMD display is powered up so, the available displays can be enumerated by the host system.
INFO [wmr_source_stream_start] Starting WMR stream in tracking mode
INFO [compute_frame_size] WMR camera framebuffer 2560 x 480 - 1233018 transfer size
INFO [wmr_camera_start] WMR camera started
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)
No builder was certain that it could create a head device
Selected legacy because it maybe could create a head
Using builder legacy: Legacy probing system
Got devices:
0: HP Reverb Virtual Reality Headset G2
In roles:
head: HP Reverb Virtual Reality Headset G2
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 0x55b8d748a500
ERROR [_test_for_nvidia] NVIDIA: No allowlisted displays found!
ERROR [_test_for_nvidia] == Current Allowlist ==
ERROR [_test_for_nvidia] Sony SIE HMD *08
ERROR [_test_for_nvidia] HTC Corporation HTC-VIVE
ERROR [_test_for_nvidia] HTC Corporation VIVE Pro
ERROR [_test_for_nvidia] Oculus VR Inc. Rift
ERROR [_test_for_nvidia] Valve Corporation Index HMD
ERROR [_test_for_nvidia] Seiko/Epson SEC144A
ERROR [_test_for_nvidia] HPN
ERROR [_test_for_nvidia] == Found Displays ==
ERROR [_test_for_nvidia] HP Inc. (DP-0)
ERROR [_test_for_nvidia] GBT Gigabyte M32Q (DP-4)
ERROR [comp_window_direct_wayland_init] Failed to connect to Wayland display
ERROR [comp_window_direct_randr_init] No non-desktop output available.
INFO [create_device] Created device and GRAPHICS queue with QUEUE_GLOBAL_PRIORITY_REALTIME.
INFO [vk_print_device_info] Device info:
name: NVIDIA GeForce GTX 1080 Ti
vendor: 0x10de
product: 0x1b06
apiVersion: 1.3.224
driverVersion: 0x834f02c0
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: false
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): false
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_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: true
VK_FORMAT_D24_UNORM_S8_UINT: true
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
Note the line: ERROR [comp_window_direct_randr_init] No non-desktop output available.
Once I export XRT_COMPOSITOR_FORCE_NVIDIA_DISPLAY="HP Inc." this problem goes away and direct mode will work. Should this device be added to the built-in white list so that the variable is not needed?