-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
convertFromD3D11Texture2D is not working in OpenCV 4.5.3 with NVIDIA GPU #20517
Copy link
Copy link
Closed
Milestone
Description
System information (version)
- OpenCV => 4.5.3
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2019
- GPU => NVIDIA GeForce GTX 1060 6GB
Detailed description
I'm using UMat on an NVIDIA GPU.
When I change the OpenCV version from 4.5.2 to 4.5.3 with my software, I get the following exception.
OpenCV(4.5.3) Error: Unknown error code -220 (OpenCL: Context initilized without DirectX interoperability) in cv::directx::convertFromD3D11Texture2D, file ..\..\..\modules\core\src\directx.cpp, line 1395
And I have seen the same exception in the sample program (example_directx_d3d11_interop.exe).
Steps to reproduce
- Run example_directx_d3d11_interop.exe
- Press 2 key. (switch to GPU processing)
- I get an exception, and abnormal termination.
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues,
forum.opencv.org, Stack Overflow, etc and have not found solution - I updated to latest OpenCV version and the issue is still there
- There is reproducer code and related data files: videos, images, onnx, etc
Reactions are currently unavailable