directx基本能力测试

发布于 2024-07-16 15:27:42 字数 319 浏览 3 评论 0原文

我有一个托管的 directx 9.0c 应用程序,无法在某些低规格机器(没有显卡的机器)上运行。

我想知道是否有人对要测试的最小 directx 上限有任何建议,以便我可以在尝试运行应用程序之前捕获潜在的故障。

directx 应用程序仅显示一些网格和一些纹理,没有什么太密集的内容。

我当前检查 SupportsHardwareTransformAndLight 并启用 HardwareVertexprocessing(如果有)和启用 SoftwareVertexProcessing(如果没有)。 只是想知道我还应该寻找什么?

谢谢

I have a managed directx 9.0c application that fails to run on some low spec machines (ones without graphics card).

I am wondering if anyone has any suggestions with regards to the minimum directx caps to test for so that I can catch a potential failure before trying to run the application.

The directx application only displays a few meshes and a couple of textures and nothing too intensive.

I currently check for SupportsHardwareTransformAndLight and enable HardwareVertexprocessing if it does and enable SoftwareVertexProcessing if it does not. Just wondering what else I should look for?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

手心的海 2024-07-23 15:27:43

也许在初始化 DirectX 9.0c 本身时失败?

可能会发生以下几种情况:

  • 计算机上可能未安装 DX9.0c。 它包含在 Windows XP SP2 及更高版本中,但在早期版本的 Windows 上,必须手动安装运行时。
  • 硬件加速可能不可用。 用户没有安装任何图形驱动程序,或者在驱动程序设置中明确禁用了硬件加速。

根据我们掌握的数据,大约 3% 的“休闲用户”空间存在上述情况(2009 年第一季度数据)。

除此之外,也许您的应用程序本身使用了某些功能,而没有检查它们是否受显卡支持。

Maybe it fails when initializing DirectX 9.0c itself?

Several things can happen:

  • DX9.0c might not be installed on the machine. It is included in Windows XP SP2 and later, but on earlier versions of Windows, the runtime must be installed manually.
  • Hardware acceleration might not be available. Either the user does not have any graphics drivers installed, or has explicitly disabled hardware acceleration in driver settings.

Based on data we have, the above situations are true for about 3% of the "casual user" space (2009 Q1 data).

Other than that, maybe your application itself uses some features without checking whether they are supported by the graphics card.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文