-
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
uvcvideo: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024). #5302
Comments
Hi @AlexGit2,
|
This doesn't really seem to be hindering me, but I am also experiencing this issue. I am running Ubuntu 18.04.3 (Kernel 5.0.0-37-generic) Several times a second it appears that they interchange. It doesn't look like it's actually effecting the depth image. I am also getting that error on dmesg, but it appears to only be on startup for me. I am however getting this error every few seconds, but the interchaning streams happens much more frequently
After patching ( which said patched kernels modules were created successfully), my modinfo uvcvideo says
|
Hi, Will you be needing further help with this? If we don’t hear from you in 7 days, this issue will be closed. Thanks |
Hi there, I'm on Ubuntu 18.04.5 updated today, and I'm using librealsense2 from Intel repositories. About the camera: model is D435 with firmware 05.12.07.100. I'm glad to provide other info if needed! |
same here: Ubuntu 18.04.5 LTS I'm occasionally experiencing frame drops but I'm not sure if it is related. So far I have been simply ignoring the dmesg errors, but would be nice to get it addressed some day. |
I am also experiencing lots of spam in dmesg on multiple kernel versions. P.S. Hi @stfuchs 👋 |
Same dmesg spam here on Ubuntu kernel 5.4 (patched) |
same here (and I've seen it before as well with D435s) Ubuntu 18.04 |
+1 |
same issue here |
+1 on an Rpi 3B+ running Home Assistant. |
same issue with l515 intel realsense |
same issue here. Even with l515 camera |
Hi, We are unable to reproduce this issue on our setup here. Do you experience the same results if you don't use kernel patching; ex: install the SDK via deb packages? What about if you build with the FORCE_RSUSB_BACKEND instead? Thanks |
On my desktop, Ubuntu-18.04LTS kernel 4.15.0-124-generic with USB webcam:: 1b3f:2002 Will flooding disk /var/log/uvcdynctrl-udev.log update to kernel 5.4.0-70-generic #78~18.04.1-Ubuntu SMP, the flooding stopped |
Hi @AlexGit2 Will you be needing further help with this? If we don’t hear from you in 7 days, this issue will be closed. Thanks |
I encountered this on ubuntu 18.04 kernel |
Ok thanks we will investigate. Thanks |
I am facing the same problem in |
Same here with Kernel 5.4.0-1. Connected both T265 and D455 - additionally:
|
I have the same issue.
|
These types of errors are almost always related to needing correct kernel patches. Another option is to bypass altogether and use the RSUSB_BACKEND. |
Hi everyone, does anybody who commented on this case require further assistance with it, please? Thanks! |
Case closed due to no further comments received. |
Hi @RealSenseSupport @MartyG-RealSense , I am experiencing similar issues:
This is leading to delayed in camera streams on our end.
Do you mind pointing me to the recommended mitigation step of how to patch the kernel? Thanks! |
Hi @russellkir Step 4 of the Prerequisites section of the RealSense SDK instructions for building from source code at the link below describe how to patch the kernel if you are building librealsense from source code. https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md#prerequisites For Ubuntu 18.04 / kernel 4.15, use the patch script ./scripts/patch-realsense-ubuntu-lts.sh If you build librealsense from Debian packages then you do not need to patch the kernel as the patch is included in the packages. https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md You also do not need to patch if you build librealsense from source code using the libuvc backend / RSUSB backend method, as such a build is not dependent on Linux versions or kernel versions and does not require patching. It is a helpful build method for situations where a kernel conflict may be occurring, as this type of build bypasses the kernel. The easiest way to build is with the libuvc backend method in the link below. https://github.com/IntelRealSense/librealsense/blob/master/doc/libuvc_installation.md If you require a more customized build where you may need to configure various options or want to install compatibility 'wrappers' for platforms such as Python at the same time as librealsense, you can build with RSUSB support from source code using CMake by including the -DFORCE_RSUSB_BACKEND=true build flag in the CMake build instruction. Example instructions for such a build can be found at #9931 (comment) |
@MartyG-RealSense we are installed from package as such:
If that includes the patch, can you provide guidance on why we might still be seeing the following issue?
The problem isn't, by the way, explicitly the error. We simply see this error extensively when seeing a delay in the camera streams. Thank you! |
There was a case with this error a couple of years ago where I consulted with Intel's RealSense team about it. They provided the response below. The message “uvcvideo: Failed to query (GET_CUR) UVC control” indicates a failure on (kernel) driver level to read the requested parameter, for instance if the device was busy with internal operation or that the incoming requests queue is full. In most cases this message can be disregarded as the SDK has built-in auto-retry mechanism to compensate for the temporalities. |
The possibility of implementing a mechanism to turn off kernel debug messages to mute the warnings was considered by Intel but not proceeded with for the reasons provided below. Suppressing kernel-generated logs is not feasible by design. RealSense is a user-space SDK and must not affect third party applications (driver) running in the kernel space. The kernel warning messages that arise from temporal glitches are cosmetic annoyances and there is not a degradation in the functionality of librealsense. Depending on the use-case, the frequency that the messages are generated at may be between once every several seconds and a lengthy period of minutes between each one. The log may therefore typically not be a burden to read. |
@MartyG-RealSense Thank you very much. So the issue we run into is:
So maybe I'd like to understand more about the following:
Can you say more about this? |
If the computer is unable to keep up with processing the incoming flow of images then the 'frame queue' could become jammed full, resulting in errors. You could try reducing frame rate (FPS) and / or resolution to see whether that reduces the frequency of the messages. Alternatively, you could try increasing the frame queue size from its default of '1' to a value of '2' if you have more than one stream active simultaneously, as described in the Latency vs Performance section of the SDK's frame buffering management documentation at the link below. |
@MartyG-RealSense thanks! We'll take what you've provided and come back if we have additional questions. Thanks for the timely responses. |
You are very welcome to ask further questions if you have them. Good luck! |
see here linux kenel log
|
I am working on a pc with Ubuntu 18.04 LTS (Kernel 5.0.0-36). I use the realsense viewer to display the right and left infrared image of the realsense d415 camera. At first glance everything seems to work perfectly. The camera is recognized and I can stream the left and right infrared image without problems. But if you look closely you notice that the right and left camera images are interchanged now and then for a short time (i think for the time of one frame). Whenever that happens, the frame rate, which is being displayed in the realsense viewer, drop to zero for a short time . After I noticed that, i looked at the dmesg output (terminal). Whenever the streams in the realsense viewer flicker, the following message was on dmesg:
[ 2625.008920] uvcvideo: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024).
I installed the librealsense software with the help of the manual (Linux Ubuntu Installation) https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md
In another manual I have read, that after patching the kernel module uvcvideo with the script "./scripts/patch-realsense-ubuntu-lts.sh", the version name of the uvcvideo modul must include the string "realsenese". This is not the case for me.
Here is the output that gives me the command "modinfo uvcvideo | grep "version:"":
version: 1.1.1
srcversion: 1B3F01A2600CA3708971F1B
Can it be that the module is not patched properly and therefore these errors occur?
I've tried the whole again with a D430 camea. Here too, exactly the same happens.
Is there anyone else who also has this problem and know how to solve it?
Thanks in advance.
The text was updated successfully, but these errors were encountered: