librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

No Frames Received in RealSense Viewer for RGB Camera and L500 Depth Sensor/Infrared

Open Vkhark opened this issue 3 years ago • 2 comments

librealsense 2.49.0 RELEASE
OS Windows
Name Intel RealSense L515
Serial Number f1381306
Firmware Version 01.05.08.01
Camera Locked YES
Usb Type Descriptor 3.2
Product Line L500
Asic Serial Number 0003cba4cfcb
Firmware Update Id 0003cba4cfcb

Please provide a description of the problem

Hello, We have bought the Intel Realsense L515 Camera and wanted to record some 3D-Models with it. Until now I've only been trying to make the camera work in the Viewer.

I downloaded the standalone Viewer. It recognizes the camera, but when I turn on any Streams, I receive the "NO Frames Received" Message. grafik

The motion module works and I can also see changes when i move the Camera. I get two Warnings when I run the Viewer: grafik

I have tried to run the Viewer with the camera on my colleagues Laptops and it worked fine there without any problems.

Do you have any Idea why I am having this issue?

Thanks in advance, Vlad

Vkhark avatar Aug 10 '22 08:08 Vkhark

Hi @Vkhark Do the depth and RGB streams work correctly if you shut down and reboot the PC and then launch the RealSense Viewer but do not enable the Motion Module (just depth and RGB)

MartyG-RealSense avatar Aug 10 '22 08:08 MartyG-RealSense

Hi @MartyG-RealSense,

No, I am getting the same error even if I don't turn on the motion module. The problem also persists if i start the Viewer as admin. grafik

Also there is an error receiving Timestamps in the Viewer grafik

I've also tried to turn the USB-C Input, as it was mentioned in other issues. Br, Vlad

Vkhark avatar Aug 10 '22 09:08 Vkhark

As your L515 works correctly on your colleagues laptops, that would seem to rule out a problem with the camera hardware, the USB cable or the camera firmware driver (which is stored inside the camera).

Please next use the instructions at https://github.com/IntelRealSense/librealsense/issues/3381#issuecomment-503424789 to check that permission to access the camera and permission for applications to access the camera are both set to On in the Windows camera permission settings.

If the camera privacy settings are set to On, please then try completely uninstalling and reinstalling the two Depth and RGB camera drivers in the Device Manager interface of Windows using instructions at the link below.

https://support.intelrealsense.com/hc/en-us/community/posts/4419989666323-Installing-D400-UWP-driver-disables-Infrared-streams-on-D435?page=1#community_comment_4431239847443

Did the privacy settings or driver uninstall / reinstall resolve your problem?

MartyG-RealSense avatar Aug 10 '22 11:08 MartyG-RealSense

Camera Access is activated and I already tried reinstalling drivers. Camera_Settings

If I scroll down, I can see that the viewer is an enabled for the camera too. Allowed_Desktop_apps

When uninstalling drivers I do not get the option to tick a checkbox. There is no option "Delete the driver software for this device" after pressing "uninstall device" Drivers Drivers_uninstall Drivers_uninstall_RGB

I can also access the RGB & Depth Camera over the Windows Camera App. It just does not work inside the Viewer. Depth Camera in Windows Kamera App: grafik

Vkhark avatar Aug 10 '22 12:08 Vkhark

Thank you. Looking at your kindly provided images, I see that the camera is detected correctly in the Viewer, and hardware timestamps being unavailable should not prevent RGB and depth streams from being displayed.

Are these streams able to be displayed if you run the rs-capture.exe example program? If the full RealSense SDK has been installed with Intel.RealSense.SDK-WIN10 then this program and other pre-made executable examples and tools programs are located in an SDK folder called 'Tools'. To find the Tools folder quickly, right-click on the RealSense Viewer launch icon on the desktop and select Open File Location from its menu.

MartyG-RealSense avatar Aug 10 '22 13:08 MartyG-RealSense

When i start the rs-capture.exe, a window with a black screen opens and closes again.

I called it from terminal and received following error: grafik

Vkhark avatar Aug 10 '22 13:08 Vkhark

A black screen on launching rs-capture indicates that either there is a communication problem with the camera (but it works correctly on other computers) or the camera is already being used by another program such as the Viewer when rs-capture is launched.

Was rs-capture the only RealSense program that you were using when you launched it?

MartyG-RealSense avatar Aug 10 '22 13:08 MartyG-RealSense

Just to be sure, I just restarted my computer again and started rs-capture again. Still same error.

I have no other applications running.

Vkhark avatar Aug 10 '22 13:08 Vkhark

Is your model of laptop the same as the one that your colleagues use? If the camera works correctly on their machines, perhaps there is a characteristic of your laptop's hardware or the version of Windows on it that causes a conflict with the camera.

For example, in the Kameras section of the Device Manager, does it make a difference if you right-click on 'Integrated Camera' and select 'Disable device' to temporarily disable the driver of the laptop's built-in webcam (you can re-enable it at any time by right-clicking on 'Integrated Camera' and selecting 'Enable device' from the menu).

MartyG-RealSense avatar Aug 10 '22 16:08 MartyG-RealSense

Hi again @MartyG-RealSense ,

I have done some Updates on my Windows PC and I started getting a new Error: When I start the Viewer an error is shown: grafik

This Error appears also when i start the Depth Sensor or the RGB Camera Stream in the Viewer: grafik

I have also disabled the integrated camera.... but that did not change anything.

My colleague has a different model of laptop. We might try to test it in future on the same model.... we just dont have access to the same model at the moment.

BR, Vlad

Vkhark avatar Aug 11 '22 09:08 Vkhark

Soo. I've installed an Ubuntu VM on Virtualbox and forwarded the USB 3.0.

grafik

At least I can try the camera and SDK in Ubuntu VM now.

If you have any other suggestions on how to get it to work on Windows, I'd be happy to try them, as I'd prefer to work there instead of the VM.

Vkhark avatar Aug 11 '22 11:08 Vkhark

Is the Virtualbox installed on the same Windows PC and the camera inserted in the same USB port? If so then the camera being able to function in the VM suggests that there is not a problem with that computer's USB port.

MartyG-RealSense avatar Aug 11 '22 16:08 MartyG-RealSense

The VM is installed on the same PC and I am using the same USB port. Only the viewer and SDK on my native Windows on my Laptop are not able to access the Frames, even though the camera is recognized by the Viewer.

Vkhark avatar Aug 12 '22 11:08 Vkhark

If you are comfortable with Linux style commands and compiling then there is the option to try building the RealSense SDK from source code on Windows with CMake instead of using the usual installer file to see whether that makes a difference.

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

The section of the guide titled Enabling metadata on Windows can be skipped because it is easy to do it in the RealSense Viewer instead once the SDK has been installed.

MartyG-RealSense avatar Aug 12 '22 12:08 MartyG-RealSense

Hi @Vkhark Do you require further assistance with this case, please? Thanks!

MartyG-RealSense avatar Aug 20 '22 06:08 MartyG-RealSense

Hi @MartyG-RealSense,

It currently works fine in the VM. So i think I'll just stay there. I might check the installation with CMake in the future. though. I'm trying to create a handheld-sensor where i can walk around and record objects with it. I am trying to repeat this: https://dev.intelrealsense.com/docs/rs-motion in Python.

I am trying to rotate the axis according to the movement of the camera. But the resulting rotation-matrix, that I get after calculating Theta just makes the Axis spin uncontrollably. I calculated the matrix as follows: grafik

I wondered if you have an example in Python on how to do it? I am not too experienced with Python or using Depth Sensors, so any help is appreciated.

Thanks, Vlad

Vkhark avatar Aug 23 '22 12:08 Vkhark

At https://github.com/IntelRealSense/librealsense/issues/4391 where a RealSense Python user attempted to create an equivalent of rs-motion that could extract roll, pitch and yaw, they experienced difficulties such as highly fluctuating results.

They were advised by a RealSense team member that "in an inertial system affected by G-Force only you can extract the actual Pitch and Roll angles. You also track the left-right rotation, but the initial Heading angle is arbitrary defined".

MartyG-RealSense avatar Aug 23 '22 13:08 MartyG-RealSense

Hi @Vkhark Do you require further assistance with this case, please? Thanks!

MartyG-RealSense avatar Aug 29 '22 06:08 MartyG-RealSense

Case closed due to no further comments received.

MartyG-RealSense avatar Sep 04 '22 06:09 MartyG-RealSense