librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

Release v2.54.2 does not provide color or infrared streams on MacOS

Open cansik opened this issue 1 year ago • 7 comments

Required Info
Camera Model 400 Series (D435, D455)
Firmware Version 5.15.1.0
Operating System & Version MacOS Somona (14.2.1)
Platform PC
SDK Version 2.54.2
Language python
Segment others

Issue Description

I am still building the pyrealsense2-macosx python library to support more recent MacOS versions. This works, even with some workarounds and stability issues (like using sudo and a lot of errors).

However, since version v2.54.1 and v2.54.2, the camera is not able to provide or list any color streams (see screenshot). This happens in the brew packaged realsense-viewer as well as in my custom built python library. Infrared streams do not work as well, they can not be started.

Version v2.53.1 worked without these problems. Has anything changed in regards to the color / infrared streams?

Screenshot 2024-01-19 at 15 22 41

cansik avatar Jan 19 '24 14:01 cansik

I just tested the most recent development build (v2.55.0) and the issue not there anymore. The pyrealsense2 pypi package has the version number 2.54.2.5684 which seems like a patched version, which has not been officially released. To which commit does this version link to?

cansik avatar Jan 19 '24 15:01 cansik

Another update, using the current master branch seems to contain the fixes. I am now building 2.54.2 with the current master and check if it solves everything.

@MartyG-RealSense Is there a reason for the realsense team not to tag these additional versions as well? It would be great to be able to reference them from my script.

cansik avatar Jan 19 '24 15:01 cansik

Hi @cansik A change in the pyrealsense2 wrapper that was merged since the last release was to fix pybind arg names - see https://github.com/IntelRealSense/librealsense/commit/b831660f50d9e54b8a2ec7873bf491aad14fb100

I do not have information on how version numbers are created, however.

Since you had problems with accessing streams in the RealSense Viewer though, the fix may be due to a merge other than the wrapper one.

MartyG-RealSense avatar Jan 19 '24 15:01 MartyG-RealSense

Thanks for the information. I could successfully build and test version 2.54.2 built from the master branch (with the additional fixes): https://github.com/cansik/pyrealsense2-macosx/releases/tag/macosx-v2.54.2

It would still be interesting if you could ask the development team, if additional builds like 2.54.2.5684 could be tagged as well? Otherwise it is always difficult to find out, what has changed for this specific build.

cansik avatar Jan 19 '24 15:01 cansik

I will highlight your question about tagging to my Intel RealSense development colleagues. Thanks so much for your continued work on the pyrealsense2-macosx library!

MartyG-RealSense avatar Jan 19 '24 15:01 MartyG-RealSense

@cansik Hi, Looking on master branch history I see no commit that will fix this kind of issues. This looks like a local issue.

Now that it works, if you checkout the 2.54.1.2 you reproduce this issue?

Nir-Az avatar Jan 19 '24 19:01 Nir-Az

How did you get the viewer to work on macOS? Are you just using the Homebrew install? I couldn't get it to work the last time I tried.

HasanTheSyrian avatar Jan 26 '24 07:01 HasanTheSyrian

Hi @cansik Were you able to test the advice of @Nir-Az at https://github.com/IntelRealSense/librealsense/issues/12594#issuecomment-1900967206 please? Thanks!

MartyG-RealSense avatar Feb 20 '24 08:02 MartyG-RealSense

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

MartyG-RealSense avatar Feb 27 '24 10:02 MartyG-RealSense

@MartyG-RealSense Currently, I don't have the time to try it out. Let's close the issue and I will re-open it if needed.

cansik avatar Feb 28 '24 10:02 cansik

Okay, thanks very much @cansik for the update. Please do feel free to re-open at a future date.

MartyG-RealSense avatar Feb 28 '24 10:02 MartyG-RealSense