-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Latest Release (v2.51.1) Does NOT Have CUDA Enabled #10911
Comments
Hi @luis-camero The Debian packages should have CUDA support enabled by default (though the packages installed by the RealSense ROS wrapper's 'Method 1' apt-get installation procedure have not had CUDA support included since December 2020). Let's keep this case open to see whether other RealSense users report the same issue with Debian package installations. Thanks for the report! |
Thanks for quick response @MartyG-RealSense. I specifically installed the I had done this several times with the previous |
CUDA support is enabled through the librealsense SDK and does not need to be separately enabled in the ROS wrapper in order to automatically accelerate pointclouds and depth-color alignment generated by the wrapper when CUDA support is enabled in the SDK. I will consult with my Intel RealSense colleagues about your problem with SDK 2.51.1 packages. Thanks very much for your patience! |
Hi @luis-camero , It could be that the configuration that was used to build until version 2.50 is different than the one we used for building 2.51.1 (Sorry for that). I can confirm that release 2.51.1 was built with this configuration: I would suggest to verify the installed CUDA version and try to match it, it should work since we do build it with Good luck, |
Hi @luis-camero Do you require further assistance with this case, please? Thanks! |
Hi @Nir-Az, I cannot easily match CUDA v10.2 in Ubuntu 20.04, since v10.2 was not released for 20.04. However, I have a few questions:
Thanks for the help, |
Hi @luis-camero ,
Since we do not supply prebuilt packages for all JP versions you can always build from source on your platform and it should work (like we saw on your case). Hope this information helps.. |
Hi @luis-camero Was the information provided in the comment above helpful, please? Thanks! |
Hi @luis-camero Do you require further assistance with this case, please? Thanks! |
I understand that I have to build from source. But I am NOT using a Jetson. I am using a standard I am confused as to how or why you'd build |
Hi @luis-camero If you are installing from packages on an amd64 computer then the instructions on the distribution_linux.md page should be used. https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md JetPack is only involved in installations on Jetson boards, not amd64 computers. @Nir-Az referred to arm64 rather than amd64 in his advice above at #10911 (comment) - arm64 refers to computers / computing devices that use CPUs with Arm architecture such as Nvidia Jetson and Raspberry Pi, whilst amd64 usually refers to x86 / x64 CPU architecture like that in desktop and laptop PCs. |
Indeed we had a misunderstanding as your reference link issue and comments were about a Bottom line, amd64 users that wants to use CUDA features will need to build from source. |
I understand, thanks! |
realsense-ros
)Issue Description
With the previous release (v2.50.0), the
librealsense2
pre-built binaries would have been built with CUDA (i.e.-DBUILD_WITH_CUDA=True
), and building therealsense-ros
package with these pre-built binaries and CUDA would result in the Realsense ROS node using the GPU for filters (such as shading pointclouds).This was confirmed by @dorodnic here.
However, it seems that the latest pre-built binaries of the librealsense2 SDK (v2.51.1) was not built with CUDA enabled.
Previously (2.50.0-0-realsense), whenever the Realsense ROS was started, it would be registered in
nvtop
, clearly utilizing the GPU.Now (2.51.1-0-realsense), does not.
If instead, I manually build the latest librealsense SDK (v2.51.1) from source with the
-DBUILD_WITH_CUDA=True
compiler flag and build therealsense-ros
against it, then the Realsense node will utilize the GPU.Was disabling the
BUILD_WITH_CUDA
compiler flag deliberate, or an oversight? Should we expect all upcoming pre-built packages to be built without CUDA enabled?The text was updated successfully, but these errors were encountered: