Open Lililili-m opened 9 months ago
It looks like an Intel issues.
It looks like an Intel issues.
Yeah, I also posted a question in the Intel community. https://community.intel.com/t5/Graphics/WPF-Application-high-GPU-usage-on-Iris-Xe-GPU/m-p/1563448#M127328
Underneath the MediaElement element in WPF, Windows Media Player is used to carry out the actual playback logic. In WPF's InkCanvas, a large number of Geometry objects are created for drawing strokes. I suspect that there is a bug in Intel's Windows Media Player that causes more GPU resources to be consumed when touching or drawing Geometry. However, as more code enters the driver layer, I am unable to obtain more logic through VisualStudio's GPU performance detector. At the same time, according to feedback from the Intel community, the same code works normally on UHD devices, so I have sufficient reason to suspect that this is a problem existing in the Intel driver layer. Can anyone help push Intel to assist in investigating this issue?
According to Intel engineers, the issue originates from the driver layer. The likely cause is that in the current version of Intel, when DX9 processes resources, it will invoke the Media engine to decompress resources, even if there is no Media currently playing. This will result in the consumption of more GPU resources. This issue will be addressed in subsequent Intel driver updates. Once again, thank you for Intel's support.
According to Intel engineers, the issue originates from the driver layer. The likely cause is that in the current version of Intel, when DX9 processes resources, it will invoke the Media engine to decompress resources, even if there is no Media currently playing. This will result in the consumption of more GPU resources. This issue will be addressed in subsequent Intel driver updates. Once again, thank you for Intel's support.
When the fix driver is released and verified, I will close the issue.
According to Intel engineers, the issue originates from the driver layer. The likely cause is that in the current version of Intel, when DX9 processes resources, it will invoke the Media engine to decompress resources, even if there is no Media currently playing. This will result in the consumption of more GPU resources. This issue will be addressed in subsequent Intel driver updates. Once again, thank you for Intel's support.
When the fix driver is released and verified, I will close the issue.
Thanks for your investigation. We are facing the same issues with you. When I create the MediaElement control to play videos, and then system for storyboard effective is lagging. This problem occurs also when the computer graphics card driver is Intel Iris Xe , but is normal on UHD.
Could it be using the new driver to fix?
@pwhistlef I not sure the fixs be publish in the newest driver version, but feel free to update it to the lastest version.
According to Intel engineers, the issue originates from the driver layer. The likely cause is that in the current version of Intel, when DX9 processes resources, it will invoke the Media engine to decompress resources, even if there is no Media currently playing. This will result in the consumption of more GPU resources. This issue will be addressed in subsequent Intel driver updates. Once again, thank you for Intel's support.
When the fix driver is released and verified, I will close the issue.
Thanks for your investigation. We are facing the same issues with you. When I create the MediaElement control to play videos, and then system for storyboard effective is lagging. This problem occurs also when the computer graphics card driver is Intel Iris Xe , but is normal on UHD.
Could it be using the new driver to fix?
Intel has processed it, but because they want to control the scope of the impact, this processing only targets specific processes. Currently only processes named MediaElement are handled.
Thanks for information! Could be given the drive version for those inter updated? We also want to make some further tests.
Thanks for information! Could be given the drive version for those inter updated? We also want to make some further tests.
The latest released version has incorporated the above modifications, and I have previously verified that version 5592 has been incorporated.
Thanks for information! Could be given the drive version for those inter updated? We also want to make some further tests.
You need to change the process name of the project you develop to MediaElement.
Description
When I create a WPF full screen demo using WindowChrome 、MediaElement and InkCanvas,the GPU usage will surge to 60%.
I tested different computers. This problem occurs when the computer graphics card driver is Intel Iris Xe , but is normal on UHD.
And I listed the GPU usage under different configurations:
I can't reproduce the same issue from the system native app, so I'm not sure if this is an Intel issue or a WPF issue.
And I tried to get window's touch events to draw Geometry, and the GPU usage was not as exaggerated as InkCanvas, about 30%~40%.
My demo is as follows:
Reproduction Steps
Expected behavior
The GPU usage is normal.
Actual behavior
The GPU usage is very high.
Regression?
No response
Known Workarounds
Set the WPF app to use software rendering.
Impact
No response
Configuration
No response
Other information
No response