-
Notifications
You must be signed in to change notification settings - Fork 95
Troubleshooting for developers
When communicating with the Windows Mixed Reality team to troubleshoot issues with OpenXR, the following tips are handy!
PRIVACY NOTICE: THE TRACE FILES CREATED THROUGH THE STEPS BELOW MAY COLLECT PERSONAL INFORMATION (SUCH AS WINDOWS USER NAME). DO NOT EVER UPLOAD THE TRACE FILE PUBLICLY ONLINE. ONLY SEND THE TRACE FILE PRIVATELY TO YOUR CONTACT AT MICROSOFT. YOUR DATA WILL NOT BE USED FOR ANY PURPOSE OTHER THAN PROVIDING SUPPORT. YOUR DATA WILL NOT BE SHARED OUTSIDE MICROSOFT.
NOTE: These instructions are applicable to Windows Mixed Reality immersive headsets only.
Before starting, please close any OpenXR application, and close the Mixed Reality Portal. This is to ensure that the trace to capture will start from a fresh state.
- Download the tracing profile (
WinXR.wprp
) - Open an elevated command line prompt or PowerShell prompt
- Use the following command:
wpr -start path\to\WinXR.wprp -filemode
- Open your OpenXR application and reproduce the issue
- Return to the command line prompt, and use the following command:
wpr -stop WinXR.etl
- A new file,
WinXR.etl
, is created in the current working folder
Please compress the ETL trace (eg: ZIP archive) before sending it to the Windows Mixed Reality team. ETL files achieve a very high ratio of compression.
NOTE: These instructions are applicable to HoloLens 2 and Windows Mixed Reality immersive headsets.
Before starting, please close any OpenXR application, and close the Mixed Reality Portal. This is to ensure that the trace to capture will start from a fresh state.
- Enable the Device Portal
- Download the tracing profile (
WinXR.wprp
) - Open the Device Portal
- From the menu on the left, navigate to Performance tracing (on HoloLens 2, this might be under a Performance submenu)
- Under Select a profile, choose Custom profiles, then Choose File
- Navigate to the location of the
WinXR.wprp
file downloaded in step 2) - Click Start Trace, and wait for the label "Performance trace is in progress" to appear
- Open your OpenXR application and reproduce the issue
- Return to the Device Portal, and click Stop Trace
- After a few seconds, go to the Traces section further down the page, and download the corresponding ETL trace
Please compress the ETL trace (eg: ZIP archive) before sending it to the Windows Mixed Reality team. ETL files achieve a very high ratio of compression.