microsoft / HoloLens2ForCV

Sample code and documentation for using the Microsoft HoloLens 2 for Computer Vision research.
MIT License
490 stars 145 forks source link

ARM Support #22

Open vos90 opened 4 years ago

vos90 commented 4 years ago

Hello,

Is there any way to compile samples in ARM configuration (not ARM64)?

kysucix commented 4 years ago

hi vos90,

no that's not possible because hololens 2 includes a Snapdragon 850 which has a 64-bit architecture.

Silvano

dorinung commented 4 years ago

We are working on adding OS support for running RM apps compiled for ARM on the OS.

dorinung commented 4 years ago

The samples can be compiled for ARM. However they will not run correctly at the moment. This was also reported here: https://github.com/microsoft/HoloLens2ForCV/issues/11

eshel commented 3 years ago

@kysucix / @dorinung - could you clarify why ARM32 cannot be supported properly?

In our project, we rely on another library for Hololens 2 - MixedReality-WebRTC, which specifically cannot compile on ARM64 yet (adding support there is a massive undertaking, as described in mrwebrtc#414 due to build complexities in the underlying webrtc library).

This leaves us in the awkward spot of having to choose - either target ARM32 and have WebRTC, or target ARM64 and have Research Mode, but not both simultaneously.

Is it somehow possible to mix & match ARM32 and ARM64 code in the same runtime (in our case it happens to be a unity app)? Alternatively, what does supporting research mode in ARM(32) involve?

Any help will be very appreciated! Thanks in advance

dorinung commented 3 years ago

We are working on providing arm32 support. arm32 and arm64 can not be used in the same executable. Will have an update in the next few weeks.

whirwind commented 3 years ago

Hello, same problem here.

I want to get RGB video stream using MixedReality-WebRTC, then get IMU and Depth data using RM api windows runtime component plugin. All project is done in Unity.

One of them can only work in ARM and another one can only work in ARM64, this is really ……

ylsislove commented 3 years ago

Hello, Are there any updates on the ARM32 support progress?

Same problem here. I can not use MixedReality-WebRTC and HoloLens2ForCV simultaneously. One of them can only work in ARM and another one can only work in ARM64.