SteamVR/Installing GPUView: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 3: Line 3:
* Install - Make sure Windows Performance Toolkit is checked (you can uncheck the rest).
* Install - Make sure Windows Performance Toolkit is checked (you can uncheck the rest).


* Save https://pastebin.com/76XDZpr8 to C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\gpuview\vrlog.cmd
* Save https://pastebin.com/0btxet6W to C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\gpuview\vrlog.cmd


** (This just adds the TRACE_VR lines with the guid we use for tracking events in SteamVR).
** (This just adds the TRACE_VR lines with the guid we use for tracking events in SteamVR).
Line 10: Line 10:
* Open a command prompt at this location with Administrator privileges (you must use cmd.exe not PowerShell).
* Open a command prompt at this location with Administrator privileges (you must use cmd.exe not PowerShell).


* Run "vrlog.cmd"(Without Quotes) to start capturing.
* Run "vrlog.cmd min" (Without Quotes) to start capturing.


* Wait maybe a second once it gets through loading things (the captured data size adds up fast!)
* Wait maybe a second once it gets through loading things (the captured data size adds up fast!)




* Then run "vrlog.cmd"(Without Quotes) again to stop capturing (followed by a rather lengthy merge process).
* Then run "vrlog.cmd min" (Without Quotes) again to stop capturing (followed by a rather lengthy merge process).


* Zip up the resulting Merged.etl file and upload it somewhere if you're sharing it with a developer. If you're a developer yourself, run 'gpuview' and select Merged.etl to view.
* Zip up the resulting Merged.etl file and upload it somewhere if you're sharing it with a developer. If you're a developer yourself, run 'gpuview' and select Merged.etl to view.

Latest revision as of 11:18, 6 November 2023

  • Install - Make sure Windows Performance Toolkit is checked (you can uncheck the rest).
    • (This just adds the TRACE_VR lines with the guid we use for tracking events in SteamVR).


  • Open a command prompt at this location with Administrator privileges (you must use cmd.exe not PowerShell).
  • Run "vrlog.cmd min" (Without Quotes) to start capturing.
  • Wait maybe a second once it gets through loading things (the captured data size adds up fast!)


  • Then run "vrlog.cmd min" (Without Quotes) again to stop capturing (followed by a rather lengthy merge process).
  • Zip up the resulting Merged.etl file and upload it somewhere if you're sharing it with a developer. If you're a developer yourself, run 'gpuview' and select Merged.etl to view.