I am trying to enable GPU debugging for a DirectX 12 RHI application using PIX on Windows. But when I check "For GPU capture" option in PIX, the tool fails to launch. Has anyone encountered this issue and successfully debugged DirectX 12 GPU calls within a QRHI application using PIX? I'd appreciate any insights or solutions.

Here is the setting of QT:
- QT 6.8.1
- Windows 10 22H2
- Intel Integrated GPU
- Simple RHI widget example


The error message:
pix_err.jpg
The environment variables I have modified:
qrhi_set.jpg
The init function:
Qt Code:
  1. if (m_rhi != rhi()) {
  2. m_pipeline.reset();
  3. m_rhi = rhi();
  4. QRhiD3D12InitParams params;
  5. params.enableDebugLayer = true;
  6. m_rhi->create(QRhi::D3D12, &params);
  7. }
To copy to clipboard, switch view to plain text mode