-
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
fatal: You need to specify a tag name (Ubuntu 20.04, 5.15.76-rt53) #12614
Comments
Hi @upc-ghy Are you installing on a PC or on a computing board such as Raspberry Pi, please? |
@MartyG-RealSense I am using a PC with a 1080Ti. |
It is not clear why you would be experiencing the fatal: You need to specify a tag name error on a PC, as it usually occurs on computing devices such as Raspberry Pi. Do you have the option of building librealsense from packages instead of source code, please? The packages have the kernel patch bundled inside them, so you do not need to run the ./scripts/patch-realsense-ubuntu-lts-hwe.sh patch script. https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md |
@MartyG-RealSense Yes, I can install using this tutorial https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md without any errors. However, when I use the command "modinfo uvcvideo | grep 'version:'", I found that it does not contain the string "realsense". modinfo uvcvideo | grep "version:"
My Ubuntu 20.04 has a real-time kernel version of 5.15.76-rt53, and I'm not sure if it's related to the issue I'm experiencing. |
There was a recent case of this problem with no RealSense string at #12581 and my advice was that as the Clock Domain was showing as global time in the RealSense Viewer tool, their kernel was likely okay despite the absence of the RealSense string because if the kernel was not patched then the Clock Domain would show as system time instead. However, there have been past problems with using real-time kernels with librealsense - as described by an Intel RealSense team member at #2395 (comment) - so this could be the cause of your problem. |
@MartyG-RealSense Thanks for your reply. |
I just test building librealsense from packages again. I encountered the following problem this time. sudo apt-get install librealsense2-dkms
|
It is likely the realtime nature of this kernel version that is being used that is the problem, since kernel 5.15 is officially supported by librealsense via patch ./scripts/patch-realsense-ubuntu-lts-hwe.sh If your project requires the realtime kernel and librealsense cannot work with this kernel with either a package or source code build then the remaining option for resolving it would be to build from source code with the flag -DFORCE_RSUSB_BACKEND=TRUE included in the CMake build instruction. An RSUSB = true build of librealsense bypasses the kernel and so is not dependent on Linux versions or kernel versions and does not require kernel patching. |
@MartyG-RealSense Thank you for your reply, I will try to build from the source code. |
Hi @upc-ghy Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
I followed the installation tutorial at https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md to install my librealsense, but encountered the following issues. Please help!
PC:Ubuntu 20.04, 1080Ti
Camera: D435i
gcc -v
unmae -r
5.15.76-rt53
./scripts/patch-realsense-ubuntu-lts-hwe.sh
The text was updated successfully, but these errors were encountered: