OpenCV 2.4.11 GPU features
Hi all,
I have a Alienware laptop with 2 x GTX880M (SLI) with Windows 10. I have recompiled OpenCV 2.4.11 with CUDA and Cublas option. I'm using CUDA 7.0.
I do the same on another computer which have a GTX 980 on Windows 8. I use the same options and also CUDA 7.0.
On my Alienware, when running the opencv_test_gpu.exe, I have 1067 failed tests. With my own code using OpenCV CUDA, I'm experiencing crashes and performance issues, I think these strange behaviours may be linked with these tests.
Run tests on all supported devices
[==========] Running 51682 tests from 128 test cases.
[----------] Global test environment set-up.
[----------] 4 tests from GPU_Video/FGDStatModel
[ RUN ] GPU_Video/FGDStatModel.Update/0
E:\opencv2.4.11-recomp\opencv\sources\modules\gpu\test\test_bgfg.cpp(95): error: Value of: cap.isOpened()
Actual: false
Expected: true
[ FAILED ] GPU_Video/FGDStatModel.Update/0, where GetParam() = (GeForce GTX 880M, "768x576.avi", Channels(3)) (12 ms)
[ RUN ] GPU_Video/FGDStatModel.Update/1
E:\opencv2.4.11-recomp\opencv\sources\modules\gpu\test\test_bgfg.cpp(95): error: Value of: cap.isOpened()
Actual: false
Expected: true
[ FAILED ] GPU_Video/FGDStatModel.Update/1, where GetParam() = (GeForce GTX 880M, "768x576.avi", Channels(4)) (3 ms)
[ RUN ] GPU_Video/FGDStatModel.Update/2
E:\opencv2.4.11-recomp\opencv\sources\modules\gpu\test\test_bgfg.cpp(95): error: Value of: cap.isOpened()
Actual: false
Expected: true
[ FAILED ] GPU_Video/FGDStatModel.Update/2, where GetParam() = (GeForce GTX 880M, "768x576.avi", Channels(3)) (4 ms)
[ RUN ] GPU_Video/FGDStatModel.Update/3
E:\opencv2.4.11-recomp\opencv\sources\modules\gpu\test\test_bgfg.cpp(95): error: Value of: cap.isOpened()
Actual: false
Expected: true
...
[ FAILED ] GPU_ImgProc/WarpPerspectiveNPP.Accuracy/68, where GetParam() = (GeForce GTX 880M, 32FC4, direct, INTER_CUBIC)
[ FAILED ] GPU_ImgProc/WarpPerspectiveNPP.Accuracy/69, where GetParam() = (GeForce GTX 880M, 32FC4, inverse, INTER_NEAREST)
[ FAILED ] GPU_ImgProc/WarpPerspectiveNPP.Accuracy/70, where GetParam() = (GeForce GTX 880M, 32FC4, inverse, INTER_LINEAR)
[ FAILED ] GPU_ImgProc/WarpPerspectiveNPP.Accuracy/71, where GetParam() = (GeForce GTX 880M, 32FC4, inverse, INTER_CUBIC)
1067 FAILED TESTS
YOU HAVE 302 DISABLED TESTS
Does it look like a normal issue ?
On the computer with a GTX 980, the opencv_test_gpu produces a more strange result.
Run tests on all supported devices
[==========] Running 0 tests from 0 test cases.
[==========] 0 tests from 0 test cases ran. (1 ms total)
[ PASSED ] 0 tests.
Press any key to continue . . .
F:\OpenCV 2.4.11\opencv\sources\build64\bin\Release>gpu_perf4au.exe
[----------]
[ INFO ] Implementation variant: cuda.
[----------]
[----------]
[ FAILURE ] Device GeForce GTX 980 is NOT compatible with current GPU module
build.
[----------]
Does someone can help me to understand what's happen ?
Thanks for all.
Hi,opencv does not support CUDA 7.0
@wuling that is just incorrect. I have a working CUDA7.0 installation running right here. @Ahryman40k I will check if the tests tend to fail here too.
@StevenPuttemans Do you have some idea where the problem come from ?
For memories with OpenCV 2.4.11
Well I got a double NVIDIA QUADRO K2000 setup here and it seems that it breaks down when going to the second GPU. However I am unsure if there is a parameter in the test that you can pass to select on which GPU to run the tests.
SLI was deactivated when tests ran ...