-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug][Regression in API 2.10]: Arrayed DX11 texture fails to share with OpenCL without MFXVideoVPP_ProcessFrameAsync #323
Comments
|
@FurongZhang Sorry to trouble you again. This issue is not specific to use VPP hardware but is related to do VPP in OpenCL kernel. Could you please let intel developers who is familiar with QSV/DXVA and OpenCL aware of this issue? Thanks in advance. |
|
@jonrecker , @xhaihao , any suggestions here? |
|
@nyanmisaka It sounds to me that this is a regression in OpenCL, not VPL (You should be able to build FFmpeg without VPL support, then run your command with the old driver, hence VPL is not required for your command, the regression is irrelative to VPL). |
|
@xhaihao Thanks for your time. I mean the underlying D3D runtime is affected by this issue. So the VPL runtime is also affected since it's inherited from D3D/DXVA. But I can't be sure which side of the D3D or OpenCL runtime the problem is, because unlike on Linux, these runtime are all closed source on Windows so I can't compile or bisect. I did search in compute-runtime/NEO for recent changes about D3D11, but didn't find anything significant. Any chance you guys can reproduce the issue and open an issue ticket for this internally? |
|
@nyanmisaka We can reproduce your issue and will file an internal issue. |
|
@nyanmisaka We have root caused the specific commit and filed an issue internally. Thanks for reporting. |
|
hi, in the 3rd step: _Run FFmpeg command: (FFmpeg MUST be [patched with D3D11_RESOURCE_MISC_SHARED]) |
|
@yuqinw Our project uses a customized ffmpeg which includes this patch, so it can be used to reproduce this issue. |
|
@hye5 Thank you! May I know how long it will take for this to be publicly available as a new driver release? |
|
Fixed in 31.0.101.5592. Thank you everyone! |

Which component impacted?
Video Processing
Is it regression? Good in old configuration?
Yes, it's good in old version
What happened?
31.0.101.5333)scale_qsvfilter to invokeMFXVideoVPP_ProcessFrameAsync, D3D11 -> OpenCL sharing works.hwcontext_opencl.cto allow indirect sharing betweenAV_PIX_FMT_QSV/D3D11andAV_PIX_FMT_OPENCL. If you need these patches I can provide them.What's the usage scenario when you are seeing the problem?
Transcode for media delivery
What impacted?
The existing sharing between
AV_PIX_FMT_D3D11andAV_PIX_FMT_OPENCLin FFmpeg does not work anymore on Intel GPU, but it still works on AMD.What I'm expecting is direct sharing between D3D11 and OpenCL, not via VPP Async to convert an arrayed texture to an intermediate texture and do sharing with it, which takes a performance hit since I've guaranteed synchronization of my provided D3D11 texture and there's a performance constraints of the fixed-function VPP hardware.
I previously reported the issue in
Intel-GPU-Community-Issue-Tracker, and it seems that the developers there cannot locate the issue. IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT#680Debug Information
This is a regression because in graphics driver
31.0.101.5085and earlier it works fine, and the oneVPL API for these drivers is 2.9, which means they do not contain theVPL Surface Sharingmechanism newly introduced in 2.10.The
cl_intel_d3d11_nv12_media_sharingOpenCL extension provide support for sharing arrayed D3D11 texture with OpenCL. (D3D11_TEXTURE2D_DESC.ArraySize > 1)Sharing Surfaces between OpenCL™ and DirectX* 11 on Intel® Processor Graphics
Do you want to contribute a patch to fix the issue?
No.
The text was updated successfully, but these errors were encountered: