Difference between revisions of "SteamVR/Installing GPUView"

From Valve Developer Community
Jump to: navigation, search
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Download the Windows 10 SDK (this works on older versions of Windows as well):
+
* Download the Windows 10 SDK (this works on older versions of Windows as well): https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk
https://dev.windows.com/en-us/downloads/windows-10-sdk
 
  
Update:
+
{{Note|'''Windows 7 users:''' the version of WPT that gets installed using latest Win 10 SDK no longer works on Win7.  Bruce Dawson's UIforETW will detect if you installed the new incompatible version and will uninstall it for you, and then install the proper one.  It can be downloaded here: https://github.com/google/UIforETW/releases
The version of WPT that gets installed using latest Win 10 SDK no longer works on Win7.  Bruce Dawson's UIforETW will detect if you installed the new incompatible version and will uninstall it for you, and then install the proper one.  It can be downloaded here: https://github.com/google/UIforETW/releases
 
More info here:
 
https://randomascii.wordpress.com/2015/04/14/uiforetw-windows-performance-made-easier/
 
  
Make sure Windows Performance Toolkit is checked (I usually just install everything).
+
More info here: https://randomascii.wordpress.com/2015/04/14/uiforetw-windows-performance-made-easier/}}
  
Navigate to:
 
C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\gpuview
 
  
Replace log.cmd with the contents from here:
+
* Make sure Windows Performance Toolkit is checked (I usually just install everything).
  
http://pastebin.com/T0nbnPvK
+
* Navigate to: C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\gpuview
  
(This just adds the TRACE_VR lines with the guid we use for tracking events in SteamVR).
+
* Replace log.cmd with the contents from here: http://pastebin.com/T0nbnPvK
  
(If you are using the Win8.1 ADK: http://pastebin.com/jEWDMbhz)
+
** (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 Admin privileges.
+
** (If you are using the Win8.1 ADK: http://pastebin.com/jEWDMbhz)
  
Input "log.cmd"(Without Quotes) to start capturing. (Tested only with Windows 7)
 
  
Wait maybe a second once it gets through loading things (the captured data size adds up fast!).
+
* Open a command prompt at this location with Admin privileges.
  
Then run "log.cmd"(Without Quotes) again to stop capturing (followed by a rather lengthy merge process).
+
* Input "log.cmd"(Without Quotes) to start capturing. (Tested only with Windows 7)
  
Run 'gpuview' and select merged.etl to view.
+
* Wait maybe a second once it gets through loading things (the captured data size adds up fast!)
 +
 
 +
 
 +
* Then run "log.cmd"(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.
 +
 
 +
{{shortpagetitle}}
 +
[[Category: SteamVR]]

Latest revision as of 20:50, 26 September 2019

Note:Windows 7 users: the version of WPT that gets installed using latest Win 10 SDK no longer works on Win7. Bruce Dawson's UIforETW will detect if you installed the new incompatible version and will uninstall it for you, and then install the proper one. It can be downloaded here: https://github.com/google/UIforETW/releases More info here: https://randomascii.wordpress.com/2015/04/14/uiforetw-windows-performance-made-easier/


  • Make sure Windows Performance Toolkit is checked (I usually just install everything).
  • Navigate to: C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\gpuview
    • (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 Admin privileges.
  • Input "log.cmd"(Without Quotes) to start capturing. (Tested only with Windows 7)
  • Wait maybe a second once it gets through loading things (the captured data size adds up fast!)


  • Then run "log.cmd"(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.