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

No 3D point cloud in RealSense Viewer #8110

Closed
AlexXieee opened this issue Jan 5, 2021 · 12 comments
Closed

No 3D point cloud in RealSense Viewer #8110

AlexXieee opened this issue Jan 5, 2021 · 12 comments

Comments

@AlexXieee
Copy link

librealsense 2.41.0 RELEASE
OS Windows
Name Intel RealSense D455
Serial Number 035322250100
Firmware Version 05.12.10.00
Advanced Mode YES
Camera Locked YES
Usb Type Descriptor 3.2
Product Line D400
Asic Serial Number 025523050865
Firmware Update Id 025523050865

Hello, the D455 is connected to a Thinkpad X1 Carbon Gen 8, using windows installer. The 3D cloud point appears only 3-5 seconds after open the Viewer, and then disappear with only axis left; the 2D mode still works in stereo mode and in RGB mode. This problem only appears on my computer. I re-install the software but make no sense.

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Jan 5, 2021

Hi @AlexXieee I can foresee a couple of situations where you may get only the axis in 3D point cloud mode:

  • If the Stereo Module and RGB Camera modules are not currently enabled when you switch to 3D mode (the icon beside the modules is colored red, meaning that they are off).

image

  • If the RGB Camera module is currently enabled but the Stereo Module is not enabled.

image

If you have at least the Stereo Module enabled when in 3D mode (a blue icon beside the module name indicates that the module is On) then you should receive a point cloud.

image

@AlexXieee
Copy link
Author

Hi @MartyG-RealSense , thanks for your fast reply. However, it seems not as simple as you describe. Let me show you the video so that you can understand my means. Also, I found even though there are no 3D cloud point, the RAM consumption will reach up to 10GB after several minutes, which seems like a bug.

2021-01-05.15-11-13.1.mp4

@MartyG-RealSense
Copy link
Collaborator

Thanks very much for the very helpful video. The depth stream does seem to be generating the point cloud normally, up until the point where it starts disappearing and re-appearing and then disappears completely.

Could you please go back to the Assets list where you downloaded the Windows SDK installer file from and download the standalone version of the RealSense Viewer (Intel.RealSense.Viewer.exe). Once the file is downloaded, launch it from the folder location that you downloaded it to (not with the shortcut icon on the Windows desktop). Do you see a difference in performance with the standalone Viewer?

image

@AlexXieee
Copy link
Author

Hi @MartyG-RealSense , previously I installed the full SDK for WIN10. And now I download only Viewer.exe and open it. The same problem appears: the cloud point flickers and then disappears.

@MartyG-RealSense
Copy link
Collaborator

Can you test with the rs-pointcloud.exe example program? You can find this in the Tools folder of the SDK by right-clicking on the launch shortcut for the Viewer and selecting the Open file location menu option. If rs-pointcloud can generate a point cloud without problems for an extended period of time then it may suggest that the problem you are experiencing is with the Viewer program specifically.

image

image

@AlexXieee
Copy link
Author

AlexXieee commented Jan 5, 2021

Hi @MartyG-RealSense , there is no problem when I use rs-pointcloud.exe so that the issue results from Viewer programme.

@MartyG-RealSense
Copy link
Collaborator

Thanks again for the test update. Could you download the 2.40.0 standalone Viewer version please to test whether or not the problem is with the latest 2.41.0 Viewer?

https://github.com/IntelRealSense/librealsense/releases/tag/v2.40.0

@AlexXieee
Copy link
Author

AlexXieee commented Jan 5, 2021

Hi @MartyG-RealSense, I tried 2.40.0, 2.39.0, 2.38.1, and 2.37.0, all of them appears the same problem.
The severe problem that I would like to emphasise is, the Viewer programme takes too much RAM (up to 10GB) after serveral minutes, and the PC become slower.
Inside of the Viewer programme, the camera seems like still works, but has no real-time 3D cloud point display. Also, the exported PLY file shows nothing.
I guess this is a bug.

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Jan 5, 2021

There was a case where a RealSense user could not run the Viewer correctly because the GLSL graphics functions were enabled in the Viewer's settings. They did not have similar problems in SDK programs that did not use GLSL. So let's try disabling GLSL for the sake of eliminating it as a cause of the problem.

  1. Left-click on the gear-wheel icon in the top corner of the Viewer and select the Settings option to open the Viewer's settings interface.

image

  1. Select the Performance option tab of the settings window and left-click on the blue boxes beside the 'Use GLSL for rendering' and 'Use GLSL for processing' options, so the boxes turn from blue (On) to black (Off). Then click the Apply button at the bottom of the settings interface, followed by OK to close the interface.

image

@AlexXieee
Copy link
Author

AlexXieee commented Jan 5, 2021

Hi @MartyG-RealSense, I have completed the test in the Use GLSL for Rendering and Use GLSL for Processing, and the result is:

  1. Enable Use GLSL for Rendering, no problem, normal RAM usage;
  2. Enable Use GLSL for Processing, no problem, but the RAM usage start to rapidly increase;
  3. Disable both options, no problem; normal RAM usage;
  4. Enable both options, problem appears (the original issue).

Much appreciation for your guidance, and I wonder what the diffrence is, for using / unusing GLSL. Does GLSL affect generated PLY file or BAG file, that is, the quality or information?

@MartyG-RealSense
Copy link
Collaborator

GLSL is an optional graphics acceleration feature that can "offload" processing work from the CPU to the graphics GPU for some SDK functions such as point clouds. It may not produce noticable improvement on low-end computers though, and you should still get good performance from the SDK if it is not used.

The link below has a good guide to GLSL.

#3654

@AlexXieee
Copy link
Author

Thank you so much @MartyG-RealSense. Another problem is about MATLAB usage, let me create a new topic. See you.

This was referenced Feb 19, 2024
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