The process of creating immersive mixed reality applications for Microsoft HoloLens,
PIX for HoloLens 2 requires a specific setup and connection path; it does not require a special or “developer-only” HoloLens 2 beyond having Developer Mode and Device Portal enabled, but it does require:
- HoloLens 2 with Developer Mode and Device Portal turned on.
- An ARM64 build of the app (PIX only supports ARM64 on HoloLens 2).
- PIX version 2308.30 on the PC.
- Connection via USB with the device awake and signed in.
From the documented workflow, the supported and expected way to connect PIX to HoloLens 2 is:
- On HoloLens 2, enable Developer Mode and Device Portal:
- Settings → Update & Security → For Developers → turn on Use Developer Features and Enable Device Portal.
- Connect HoloLens 2 to the PC via USB and ensure the device is awake and the user is logged in.
- In Visual Studio:
- Set ARM64 as the platform and Device as the deployment target.
- Deploy the app to the HoloLens 2 (this confirms that IP-over-USB / UsbNcm and pairing are working).
- Make sure the app is not running on HoloLens 2 (stop it or verify via Device Portal).
- Start PIX and connect using the documented loopback configuration:
- In PIX, go to Home → Connect.
- In the Computer tab, select Add.
- Set Host Name or IP Address to 127.0.0.1 (loopback).
- Click Connect.
- Note: the first connection can be slow because binaries are copied.
- Once connected, in PIX:
- Go to Launch UWP.
- In Select Target Process, choose the deployed app.
- Ensure Launch for GPU Capture is enabled.
- If the app uses Direct3D 11, enable Force D3D11On12.
- Click Launch.
If this flow hangs or fails even though Visual Studio deploys successfully, the documented remediation is to ensure the device is on a supported OS configuration. Some OS configurations (for example, certain Windows Insider builds) can break PIX on HoloLens 2. In that case, the guidance is to reflash the device and then repeat the setup steps.
Regarding the specific sub‑questions:
- “Does PIX only work on developer or a special type of HL2?”
PIX requires Developer Mode and Device Portal enabled, but not a special hardware SKU. The key requirements are: supported HoloLens 2 OS build, Developer Mode + Device Portal, ARM64 app build, and PIX 2308.30 on the PC. - “Is there a PIX process visible on the device?”
The documentation for HoloLens 2 + PIX does not specify a dedicated, user-visible PIX process name in Windows Device Portal. The workflow is framed entirely from the PIX PC side (connect to 127.0.0.1, then launch the UWP app for GPU capture). The absence of an obvious “PIX” process in the Device Portal process list is not called out as an error condition. - “Should Microsoft-Graphics-Tools-PixMarkers appear as an ETW provider?”
The HoloLens 2 + PIX documentation does not listMicrosoft-Graphics-Tools-PixMarkersas a required or expected provider in Device Portal’s ETW UI. The documented steps do not involve configuring ETW providers on the device; all configuration is done in PIX on the PC and via the standard Developer Mode/Device Portal settings.
Given that Visual Studio deployment works, but PIX connection hangs even when using 127.0.0.1 and PIX 2308.30, the supported next step from the documentation is to verify the device is not on an unsupported/Insider configuration and, if necessary, reflash the HoloLens 2 and then repeat:
- Enable Developer Mode + Device Portal.
- Deploy an ARM64 build via Visual Studio with target Device.
- Connect PIX to 127.0.0.1 and launch the app for GPU capture.
References: