Dell Precision M4800降低了WinRT和WPF应用程序的性能(D2D没问题) [英] Decreased WinRT and WPF apps performance (D2D are ok) on Dell Precision M4800

查看:151
本文介绍了Dell Precision M4800降低了WinRT和WPF应用程序的性能(D2D没问题)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


今天我在Dell Precision M4800上发现了一个非常奇怪的问题。


当我运行DepthBasics-WPF.exe时或ColorBasics-XAML 他们执行的示例应用程序非常慢。


我添加了一些日志记录,看起来有时候帧会在100毫秒后传递,但有时甚至需要> 600或者> 900毫秒。


有人可能会说这是一个usb控制器问题。


奇怪的部分来了。 奇怪的是,D2D应用程序工作正常。框架每隔33ms交付一次。所以看起来usb控制器还可以。


但最奇怪的是,当我同时运行D2D和WPF(或D2D和winrt)应用程序时,WPF(或winrt)应用程序运行正常。 d2d app显示颜色或深度框架无关紧要。所有组合都很好。


您是否有任何解释为什么可能需要d2d应用启用wpf / winrt app?


我还有Dell Precision  M3800,并且不存在此类问题。

此外,对我而言,它似乎也是自beta计划(我参加过)以来的回归。 WPF和WinRT应用程序在没有"额外"步骤的情况下正常运行。我无法准确地告诉您何时发生回归,因为我在Dell 3800上花费了大约
时间而没有检查每个sdk版本在M4800上。


你有什么建议可能有什么问题吗?

解决方案

请参阅故障排除指南,这是性能/电源管理问题。这是因为CPU在较低功耗状态下运行,而WPF应用程序通常设计为在该状态下工作。 D2D / D3D通常与性能/游戏
循环相关联,这些循环的线程不同,导致系统跳转到完整的性能状态。


https://social.msdn.microsoft.com /论坛/ EN-US / 20dbadae-DCEE-406A-b66f-a182d76cea3b /故障排除和常见-问题导向?论坛= kinectv2sdk


Today I've observed a really weird issue on Dell Precision M4800.

When I run DepthBasics-WPF.exe or ColorBasics-XAML example app they perform really slowly.

I added some logging to the them and it looks like sometimes frames are delivered after 100ms but sometimes it takes even >600 or >900ms.

Someone might say it's a usb controller issue.

And the weird part comes. The strange thing is that D2D applications work absolutely ok. Frames are delivered exactly every 33ms. So it looks like usb controller is ok.

But the weirdest part is that when I run both D2D and WPF (or D2D and winrt) applications, the WPF (or winrt) apps work just ok. It doesn't matter if d2d app displays color or depth frame. All combinations work just fine.

Do you have any explanation why the d2d app might be needed enable wpf/winrt app?

I also have a Dell Precision M3800 and there such issue doesn't exist.
Additionally, to me it also looks like it is a regression since beta program (which I attended). WPF and WinRT apps worked fine at that moment without that 'extra' step. I just cannot tell you exactly when the regression happened because for some time I worked on Dell 3800 and didn't check every sdk release on M4800.

Do you have any suggestions what can potentially be wrong?

解决方案

See the troubleshooting guide, it is a performance/power management issue. This is because the CPU is running in a lower power state and WPF applications are typically designs to work within that state. D2D/D3D are typically associated with performance/game loops that are threaded differently causing the system to jump to that full performance state.

https://social.msdn.microsoft.com/Forums/en-US/20dbadae-dcee-406a-b66f-a182d76cea3b/troubleshooting-and-common-issues-guide?forum=kinectv2sdk


这篇关于Dell Precision M4800降低了WinRT和WPF应用程序的性能(D2D没问题)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆