-
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
Can not run libuvc_installation.sh normally #12925
Comments
I am using D435i |
Hi @DiopWang This error does not usually occur when using the libuvc_installation.sh script. My research of non-RealSense Linux cases indicates that when this error does occur, it is caused by the instruction Replacing the sudo fallocate command with the one below can resolve the error.
|
@MartyG-RealSense Hi,I am really thank you for your response.However,I did what you told me,it still show |
If you comment out the entire swapfile mechanism in lines 26 to 30 then is the libuvc script able to complete sucessfully? https://github.com/IntelRealSense/librealsense/blob/master/scripts/libuvc_installation.sh#L26-L30 |
@MartyG-RealSense Yes,I comment out it,and it can work,and |
Could this be the cause of the system kernel, such as no corresponding drivers? |
When using a libuvc installation of librealsense the kernel should not matter as librealsense bypasses the kernel. Are you using the official 1 meter USB cable supplied with the camera or a longer USB cable of your own choice? What is the computer that you are using your D435i on, please (Raspberry Pi, Nvidia Jetson, desktop / laptop PC, etc) Is the cable plugged into a built-in USB port on the computer or a USB interface such as a hub or PCIe? |
I am using official cable,and plugged USB3.0 port,but ubuntu shows it only used USB2.0 port, |
Are you using Sophon's SLKY01 Shaolin Pai board at the link below? https://en.sophgo.com/product/introduce/slky01.html It appears to use a Sophon chip called BM1684 as its CPU. The librealsense SDK is intended for use with x86 / x64 CPUs (like those in desktop and laptop PCs) or Arm CPUs (such as those in Raspberry Pi and Nvidia Jetson boards). If the BM1684 CPU is neither x86/x64 or Arm chip architecture then librealsense may not know how to make use of it. It looks as though the BM1684 chip was designed to specialize in processing deep learning activities rather than general computing activities. |
yes,it is a TPU chip.Thanks for your help |
Hi @DiopWang Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
Hello,When I'm running realsense-viewer,it shows like this:
21:12:39 [Info] /tmp/sandbox/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video0 realpath=/sys/devices/platform/5fb80000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/0000:02:00.0/0000:03:00.0/usb1/1-2/1-2:1.0/video4linux/video0 21:12:39 [Info] /tmp/sandbox/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video1 realpath=/sys/devices/platform/5fb80000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/0000:02:00.0/0000:03:00.0/usb1/1-2/1-2:1.0/video4linux/video1 21:12:39 [Info] /tmp/sandbox/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/platform/5fb80000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/0000:02:00.0/0000:03:00.0/usb1/1-2/1-2:1.0/video4linux/video2 21:12:39 [Info] /tmp/sandbox/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video3 realpath=/sys/devices/platform/5fb80000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/0000:02:00.0/0000:03:00.0/usb1/1-2/1-2:1.0/video4linux/video3 21:12:39 [Info] /tmp/sandbox/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video4 realpath=/sys/devices/platform/5fb80000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/0000:02:00.0/0000:03:00.0/usb1/1-2/1-2:1.3/video4linux/video4 21:12:39 [Info] /tmp/sandbox/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video5 realpath=/sys/devices/platform/5fb80000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/0000:02:00.0/0000:03:00.0/usb1/1-2/1-2:1.3/video4linux/video5 21:12:39 [Info] /tmp/sandbox/src/context.cpp:128 - Found 0 RealSense devices (0xfe requested & 0xff from device-mask in settings)
Then I search online for the problems,I try to run libuvc_installation.sh,but it didn't run normally
`
linaro@bm1684:/data$ sudo ./libuvc_installation.sh
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
++ uname -r
Kernel version 5.4.217-bm1684-g70a3e20060f6-dirty
Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:2 https://librealsense.intel.com/Debian/apt-repo bionic InRelease
Hit:3 https://librealsense.intel.com/Debian/apt-repo focal InRelease
Reading package lists... Done
++ sudo swapon --show
++ wc -l
No swapon - setting up 1Gb swap file
mkswap: /swapfile: warning: wiping old swap signature.
Setting up swapspace version 1, size = 2 GiB (2147479552 bytes)
no label, UUID=8ea18b91-7bd9-4148-9e59-7aa2566480ba
swapon: /swapfile: swapon failed: Invalid argument
`
for more information
linaro@bm1684:/data$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04 LTS Release: 20.04 Codename: focal linaro@bm1684:/data$ uname -r 5.4.217-bm1684-g70a3e20060f6-dirty
Can you give me some advice ,please
The text was updated successfully, but these errors were encountered: