-
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
Camera not detected on Mac #9542
Comments
Hi @Timmmm RealSense 400 Series cameras are UVC 1.5 compliant, as described in the link below. Whilst I do not have access to a Mac to test this on, there are some video applications where the RGB feed of a RealSense camera is not visible unless a camera-change or view-change option is toggled. An example of this is the built-in non-RealSense Camera app in Windows, as described in the link below. Zoom's Mac troubleshooting information states "If you are on on Mac OS 10.14 Mojave and are still having difficulty accessing the camera, check your operating system permissions to confirm that Zoom has access to the camera" (see the link below). https://support.zoom.us/hc/en-us/articles/360016688031 This permissions advice applies to MacOS Catalina too, according to the guidance in the link. |
Hi, thanks for the reply!
Yeah I think that's just the normal camera selection UI right?
Unfortunately Mac's camera permissions are for all camera access (i.e. you grant access to all cameras, not just specific cameras) and I had already done that so that wasn't the issue. I did some more testing - I found a USB-C to USB-C USB 3.1 cable so I could connect the camera directly to my Mac, but got the same result. I also tested on another Macbook which behaved exactly the same. It is detected, it just doesn't show up as a camera:
(Those errors at the top happen without it plugged in at all so I assume it is unrelated.) Unfortunately there seems to be almost no information available about debugging USB on Mac - nothing shows up in syslog. But I did eventually figure out that you can open the
Note the assertion. Could this be a bug in Mac's UVC driver, or the Realsense firmware? Can you guys confirm if this works for you or if it has ever been tested on Mac? |
The camera selector in video tools is designed for normal webcams but can work with RealSense cameras too. A RealSense team member stated in the link below that the librealsense SDK software would have to be installed on Mac in order for a RealSense camera to be accessed as a general webcam. |
Yes I am aware how camera selection UIs work 😃
No they're saying they were not able to access the camera via UVC at all, and the only way they could access it is via librealsense, which obviously doesn't work in Zoom, etc. because they don't use librealsense. Installing librealsense can't make UVC work because it doesn't include any drivers. You can't "install" it at all in fact. Thanks for linking to that thread though. It sounds like this is just broken and has probably never worked. It must be either a bug in Mac's UVC driver or a bug in the Realsense camera firmware. It would be nice if you could fix it but I understand why it might be low priority! |
I researched the subject further but #2893 seems to be the best reference available. As I do not have a Mac to test with and do not have solid enough references to form confident advice on this particular situation, it will be better to see what advice Mac owners can provide in response to your comment on #2893 In regard to librealsense not being able to make UVC work: the SDK can make use of the RSUSB backend on Mac, and RSUSB is compliant with UVC 1.5. This is described in the SDK's Build Configuration documentation. |
Hi @Timmmm Do you require further assistance with this case, please? Thanks! |
Well, I think it's probably unfixable by anyone except your firmware developers or Apple's UVC driver developers so I probably wouldn't spend any more time on it if I were you. I did some more research though.
But also
However looking at the code it seems like a couple of years ago libuvc was removed entirely in favour of RSUSB (which I guess is your own version?
|
As far as I am aware, the FORCE_LIBUVC instructions are deprecated rather than removed completely, meaning that they are usable but it is recommended to use the RSUSB instruction instead. An example of installing via libuvc-backend (which dates back to before the introduction of RSUSB in librealsense SDK version 2.30.0) can be found in the link below. https://github.com/IntelRealSense/librealsense/blob/master/doc/libuvc_installation.md In Linux, a non-RSUSB build (-DFORCE_LIBUVC=OFF) uses V4L2 backend. |
Those instructions and script are out of date and should have been removed when the libuvc backend was removed. If you check the code there is no way to use libuvc now and I guess it's possible that some old firmware used to work with libuvc, but new firmware doesn't and nobody noticed because librealsense can't use libuvc anymore. Anyway kind of getting off topic! |
Hi @Timmmm Do you require further assistance with this case, please? Thanks! |
Nope. I mean it's still broken but I don't need it fixed. |
Okay, thanks very much @Timmmm for the update. I will close the case, but please feel free to return to it at a future date if you wish to do so. Good luck! |
Issue Description
Hi, I have a D435 and I plugged it into my Macbook Pro via a Thunderbolt 3 dock (I don't have the right cable to go directly unfortunately). It is detected as a USB device in System Info, but no camera-using apps detect it (Zoom, Photo Booth, etc.). I'm trying to use it as a standard webcam.
I was under the impression that it presented itself as a standard UVC camera, and it definitely seems to behave like that on Windows - I was able to use it for Zoom on Windows without installing any drivers.
Would you expect it to work on Mac too?
The text was updated successfully, but these errors were encountered: