OpenCV 2.4.9 isn't compatible with CUDA 6.5 - linux (Bug #3938)


Added by Haresh Kumar over 10 years ago. Updated over 10 years ago.


Status:Done Start date:2014-07-16
Priority:Normal Due date:
Assignee:Vladislav Vinogradov % Done:

0%

Category:gpu (cuda)
Target version:-
Affected version:2.4.9 (latest release) Operating System:Linux
Difficulty:Medium HW Platform:x64
Pull request:https://github.com/Itseez/opencv/pull/2975

Description

Using the release candidate from NVidia, I get the following compilation error:

opencv-2.4.9/modules/gpu/src/nvidia/core/NCVPixelOperations.hpp(51): error: a storage class is not allowed in an explicit specialization

while trying to install opencv-2.4.9.

my cmake command - cmake -D CMAKE_INSTALL_PREFIX:PATH=install -D CUDA_ARCH_BIN='2.0'
The GPU installed is Nvidia Tesla C2070


Associated revisions

Revision 99d0fcf4
Added by Vadim Pisarevsky almost 10 years ago

Merge pull request #3938 from paroj:triangulatecpp

History

Updated by Steven Puttemans over 10 years ago

Hi there,

Just did the test
- latest OpenCV 2.4 branch from github
- NVIDIA Quadro K2000 GPU
- CUDA 6.5 with NVIDIA driver 340.0
- Ubuntu 14.04 x64 bit
- OpenCV build with the following command

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_CUBLAS=ON -D WITH_CUFFT=ON -D WITH_EIGEN=ON -D WITH_OPENGL=ON -D WITH_QT=ON -D WITH_TBB=ON -D BUILD_DOCS=ON -D BUILD_EXAMPLES=ON -D BUILD_TESTS=ON -D CUDA_ARCH_BIN="3.0" ..

It seems this builds everything just perfect and the CUDA is even running smooth. I am guessing there are 2 possible problems
1) You have not grabbed the latest video driver for your system.
2) Your card doesn't support some of the new functionalities of CUDA 6.5, which is weird since it only reports that compute capability 1.1-1.3 is going to disappear. Compute capability 2.0 should work perfectly fine.

Can you give your complete setup?

  • Status changed from New to Cancelled
  • Assignee set to Haresh Kumar

Updated by Mark Ebersole over 10 years ago

I'm having the same problem. Setup:

Ubuntu 14.04 LTS x64 bit
G2 AWS instance which is a GK104 (CC 3.0) GPU
OpenCV 2.4.9 downloaded from GitHub today (https://github.com/Itseez/opencv/archive/2.4.9.zip)
CUDA 6.5
NVIDIA 340.29 driver
cmake command: cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_CUBLAS=ON -D WITH_CUFFT=ON -D WITH_EIGEN=ON -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D CUDA_ARCH_BIN="3.0" ..

I didn't have this problem on Ubuntu 12.04 using CUDA 6.5.

If you want to jump on the system, I can give you SSH connection info.

  • Status changed from Cancelled to Open
  • Assignee changed from Haresh Kumar to Steven Puttemans

Updated by Kirill Kornyakov over 10 years ago

Vladislav, could you please check this issue and comment?

  • Target version set to 3.0
  • Assignee changed from Steven Puttemans to Vladislav Vinogradov
  • Category set to gpu (cuda)

Updated by Vladislav Vinogradov over 10 years ago

The issue was fixed in latest stable release 2.4.10 (https://github.com/Itseez/opencv/pull/2975).
Please use latest stable version : https://github.com/Itseez/opencv/archive/2.4.10.1.zip

  • Status changed from Open to Done
  • Target version deleted (3.0)
  • Pull request set to https://github.com/Itseez/opencv/pull/2975

Also available in: Atom PDF