首页 > 解决方案 > 无法将 DirectX Pix 附加到 Firefox

问题描述

我试图将 PIX 附加到 Mozilla Firefox。但问题是它显示一条错误消息“标题在执行任何 GPU 工作之前已退出”。错误代码是 E_PIX_CAPTURE_NO_GPU_WORK (0x8ABC01F8)。

错误

是因为当我启动时,直到有必要才创建设备?我该如何处理?因为我想执行 GPU 捕获,所以我必须启动它而不是附加。

我正在使用 1810.02 版本的 PIX 和 firefox 63.03。

有趣的是,当我尝试启动 chrome 时,没有错误,但是当我尝试执行捕获时,它会引发错误。错误代码是 E_FAIL (0x80004005)。

                                  --UPDATE--

所以我让它使用 RenderDoc 工作。我必须启动并附加到所有子进程。但不幸的是,WebGL 停止工作,这是我试图调试的。

标签: debuggingdirectxdirectx-11

解决方案


Firefox is a Direct3D 11 application, but the modern PIX on Windows tool only supports DirectX 12 applications.

With the Windows 10 October 2018 Update, you can force the use of the "11 on 12" translation later which will show up as DirectX 12 in PIX on Windows, but that doesn't really tell you much about the original application's use of Direct3D 11. See this blog post.

Visual Studio Graphics Diagnostics (a.k.a. VSPIX) is the last version to have native Direct3D 11 support.


推荐阅读