ValveSoftware / openvr

OpenVR SDK
http://steamvr.com
BSD 3-Clause "New" or "Revised" License
6.14k stars 1.28k forks source link

No output with OpenXR application #1862

Open jsemeda opened 4 months ago

jsemeda commented 4 months ago

I am developing an application using OpenXR with Vulkan under WIndows10. The application is running but there is no output to the headset, shows a "waiting" sign. I ran the HelloXR sample and I am getting the same thing, runs no output. I ran the LoaderTest application from the SDK and here is the output report ...

Starting loader_test
--------------------
xrNegotiateLoaderRuntimeInterface bRunningInAppContainer: 0
xrNegotiateLoaderRuntimeInterface bRunningInAppContainer: 0
    Starting TestEnumLayers
        No explicit layers layer count check: Passed
           - 0 layers available.
        Simple explicit layers layer count check: Passed
        Simple explicit layers expected count 6 got 6: Passed
        Simple explicit layers layer props query: Passed
        Simple explicit layers found_good_absolute_test: Passed
        Simple explicit layers found_good_absolute_test: Passed
        Simple explicit layers found_bad: Passed
           - Found API layer: XR_APILAYER_test
           - Found API layer: XR_APILAYER_LUNARG_test_badnegotiate_always
           - Found API layer: XR_APILAYER_LUNARG_test_badnegotiate_invalid_api
           - Found API layer: XR_APILAYER_LUNARG_test_badnegotiate_invalid_gipa
           - Found API layer: XR_APILAYER_LUNARG_test_badnegotiate_invalid_interface
           - Found API layer: XR_APILAYER_LUNARG_test_good_relative_path
    Finished TestEnumLayers: Passed (Local - Passed: 7, Failed: 0)

    Starting TestEnumInstanceExtensions
        JSON test_runtime_badjson_file_ver_all_low.json extension enum count query (with no explicit API layers): Passed
        JSON test_runtime_badjson_file_ver_int.json extension enum count query (with no explicit API layers): Passed
        JSON test_runtime_badjson_file_ver_major_high.json extension enum count query (with no explicit API layers): Passed
        JSON test_runtime_badjson_file_ver_minor_high.json extension enum count query (with no explicit API layers): Passed
        JSON test_runtime_badjson_file_ver_missing.json extension enum count query (with no explicit API layers): Passed
        JSON test_runtime_badjson_file_ver_string.json extension enum count query (with no explicit API layers): Passed
        JSON test_runtime_badjson_path_int.json extension enum count query (with no explicit API layers): Passed
        JSON test_runtime_badjson_path_missing.json extension enum count query (with no explicit API layers): Passed
        JSON test_runtime_badjson_path_no_file.json extension enum count query (with no explicit API layers): Passed
        JSON test_runtime_badjson_runtime_empty.json extension enum count query (with no explicit API layers): Passed
        JSON test_runtime_badjson_runtime_missing.json extension enum count query (with no explicit API layers): Passed
        JSON test_runtime_badnegotiate_always.json extension enum count query (with no explicit API layers): Passed
        JSON test_runtime_badnegotiate_invalid_api.json extension enum count query (with no explicit API layers): Passed
        JSON test_runtime_badnegotiate_invalid_gipa.json extension enum count query (with no explicit API layers): Passed
        JSON test_runtime_badnegotiate_invalid_interface.json extension enum count query (with no explicit API layers): Passed
xrNegotiateLoaderRuntimeInterface bRunningInAppContainer: 0
xrNegotiateLoaderRuntimeInterface bRunningInAppContainer: 0
        Active runtime extension enum count query (with no explicit API layers): Passed
        Active runtime extension enum properties query (with no explicit API layers): Passed
        Active runtime extension enum properties query malformed extension name: Passed
        Garbage Layer extension enum count query (with no explicit API layers): Passed
        Valid Layer extension enum count query (with no explicit API layers): Passed
        JSON test_runtime_badjson_file_ver_all_low.json extension enum count query (with explicit API layers): Passed
        JSON test_runtime_badjson_file_ver_int.json extension enum count query (with explicit API layers): Passed
        JSON test_runtime_badjson_file_ver_major_high.json extension enum count query (with explicit API layers): Passed
        JSON test_runtime_badjson_file_ver_minor_high.json extension enum count query (with explicit API layers): Passed
        JSON test_runtime_badjson_file_ver_missing.json extension enum count query (with explicit API layers): Passed
        JSON test_runtime_badjson_file_ver_string.json extension enum count query (with explicit API layers): Passed
        JSON test_runtime_badjson_path_int.json extension enum count query (with explicit API layers): Passed
        JSON test_runtime_badjson_path_missing.json extension enum count query (with explicit API layers): Passed
        JSON test_runtime_badjson_path_no_file.json extension enum count query (with explicit API layers): Passed
        JSON test_runtime_badjson_runtime_empty.json extension enum count query (with explicit API layers): Passed
        JSON test_runtime_badjson_runtime_missing.json extension enum count query (with explicit API layers): Passed
        JSON test_runtime_badnegotiate_always.json extension enum count query (with explicit API layers): Passed
        JSON test_runtime_badnegotiate_invalid_api.json extension enum count query (with explicit API layers): Passed
        JSON test_runtime_badnegotiate_invalid_gipa.json extension enum count query (with explicit API layers): Passed
        JSON test_runtime_badnegotiate_invalid_interface.json extension enum count query (with explicit API layers): Passed
xrNegotiateLoaderRuntimeInterface bRunningInAppContainer: 0
xrNegotiateLoaderRuntimeInterface bRunningInAppContainer: 0
        Active runtime extension enum count query (with explicit API layers): Passed
        Active runtime extension enum properties query (with explicit API layers): Passed
        Active runtime extension enum properties query malformed extension name: Passed
        Garbage Layer extension enum count query (with explicit API layers): Passed
        Valid Layer extension enum count query (with explicit API layers): Passed
    Finished TestEnumInstanceExtensions: Passed (Local - Passed: 40, Failed: 0)

Installed XR runtime detected - doing active runtime tests
----------------------------------------------------------
    Starting TestCreateDestroyInstance
        Simple xrCreateInstance - xrCreateInstance: Failed
xrNegotiateLoaderRuntimeInterface bRunningInAppContainer: 0
        xrCreateInstance with a single valid layer - xrCreateInstance: Failed
xrNegotiateLoaderRuntimeInterface bRunningInAppContainer: 0
        xrCreateInstance with a single invalid layer - xrCreateInstance: Passed
xrNegotiateLoaderRuntimeInterface bRunningInAppContainer: 0
        xrCreateInstance with a single extra valid extension - xrCreateInstance: Failed
xrNegotiateLoaderRuntimeInterface bRunningInAppContainer: 0
        xrCreateInstance with a single extra invalid extension - xrCreateInstance: Passed
xrNegotiateLoaderRuntimeInterface bRunningInAppContainer: 0
        xrCreateInstance with app info, valid layer, and a valid extension - xrCreateInstance: Failed
        xrDestroyInstance(XR_NULL_HANDLE): Passed
    Finished TestCreateDestroyInstance: Failed (Local - Passed: 3, Failed: 4)

    Starting TestGetSystem
xrNegotiateLoaderRuntimeInterface bRunningInAppContainer: 0
        Creating instance: Failed
        xrGetSystem: Failed
        Destroying instance: Failed
    Finished TestGetSystem: Failed (Local - Passed: 0, Failed: 3)

    Starting TestCreateDestroyAction
xrNegotiateLoaderRuntimeInterface bRunningInAppContainer: 0
        Creating instance: Failed
        Destroying instance: Failed
    Finished TestCreateDestroyAction: Failed (Local - Passed: 0, Failed: 2)

    Results:
    ------------------------------
        Total Tests:    59
        Tests Passed:   50
        Tests Failed:   9
        Overall Result: Failed

C:\OpenXR\OpenXR-SDK-Source-1.1.38\build\src\tests\loader_test\Debug\loader_test.exe (process 27392) exited with code -1.

I am not sure how to interpret the results, some thing have failed apparently. Can anyone see if there is anything here that can explain the failure to produce an output to the headset?