Skip to content
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

FATAL: Module uvcvideo not found error while installing the librealsense SDK. #13769

Open
akshay-ka opened this issue Feb 17, 2025 · 3 comments

Comments

@akshay-ka
Copy link

akshay-ka commented Feb 17, 2025

Hi @lianghongzhuo The librealsense2-dkms package is vital when performing a package installation of the librealsense SDK on a PC computer, as it is the core of librealsense and the SDK cannot function without it.

It looks as though you are using the distribution_linux.md package installation instructions. Is this correct, please? If you are using these instructions, can you confirm if you are using a PC desktop or laptop computer?

If an Nvidia Jetson board was being used as the computer instead of a PC then a different set of dkms package installation instructions at the link below should be used.

https://github.com/intelRealSense/librealsense/blob/master/doc/installation_jetson.md

#6627 (comment) advises that the messages Running module version sanity check. - Original module - No original module exists within this kernel may occur if a modified kernel is being used.


Instead of installing the SDK from packages, if it is built from source code with the libuvc backend installation method then it will bypass the kernel and reduce the likelihood of a kernel-related installation problem occurring.

https://github.com/IntelRealSense/librealsense/blob/master/doc/libuvc_installation.md

The libuvc backend procedure uses a pre-made build script called libuvc_installation.sh

https://github.com/IntelRealSense/librealsense/blob/master/scripts/libuvc_installation.sh

Originally posted by @MartyG-RealSense in #13536

Even after following the installation with the above two links (where I do source code build), I get the same error as shown below.

Image

@MartyG-RealSense any solution to this ?

@MartyG-RealSense
Copy link
Collaborator

Hi @akshay-ka The librealsense SDK should be installed only from packages or from source code, not both on the same computer as conflicts between the different librealsense installations could result from doing so.

Please try using the command below to remove all RealSense related packages from your computer and then see whether your source-code build of the SDK works.

dpkg -l | grep "realsense" | cut -d " " -f 3 | xargs sudo dpkg --purge

@akshay-ka
Copy link
Author

Hi @MartyG-RealSense , the command you mentioned works fine and removes all RealSense related packages.
However, the clean source code build still fails. Below is the screenshot of error code.

NOTE: I'm building the librealsense packages inside the docker container. And i think the core issue is from FATAL: Module uvcvideo not found. as you can see in the screenshot.

Any solution for this ?

Image

@MartyG-RealSense
Copy link
Collaborator

IntelRealSense/realsense-ros#388 (comment) suggests a solution for uvcvideo problems when installing librealsense in a Docker container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants