pyrealsense2-macosx icon indicating copy to clipboard operation
pyrealsense2-macosx copied to clipboard

Support on macOS Monterey and Ventura

Open swishswish123 opened this issue 2 years ago • 6 comments

Hi @cansik and thank you very much for your work, this is the only solution I have managed to get working for the realsense cameras on a Mac.

I have managed to get pyrealsense2-macosx working after downgrading to macOS Big-Sur and I have no issues with the installation on Monterey. However when on Monterey, the camera doesn't seem to connect:

    pipeline.start(config)
RuntimeError: No device connected

Would it be possible to expand this package to newer versions of Mac?

Thanks again for your consideration and hard work in sharing and maintaining this package, it is greatly appreciated!

swishswish123 avatar May 02 '23 11:05 swishswish123

the same issue ,I ran into this problem while writing my thesis and it disturbed me.

HiWiQiao avatar May 02 '23 14:05 HiWiQiao

I am getting this error on Monterey as well. Is there a way to do this for M1?

gschian0 avatar Jun 29 '23 18:06 gschian0

Apart from power state issues it works fine when running under sudo. E.g. sudo jupyter notebook --allow-root fixes the issues with not finding a device (this ofc raises security concerns but is apparantly due to MacOS ventura locking down usb)

selenecodes avatar Oct 09 '23 13:10 selenecodes

Sadly it seems that Sonoma breaks realsense yet again, in a different way. Now even with sudo we get:

Job 1, 'sudo realsense-viewer' terminated by signal SIGSEGV (Address boundary error)

rosejn avatar Nov 17 '23 18:11 rosejn

I was able to build version 2.54.2 and run the test scripts using sudo to display RGB and depth streams. The current framework works, not stable (sometimes you have to run it twice), but when using sudo it seems to work.

cansik avatar Jan 19 '24 16:01 cansik