microsoft / MixedReality-HolographicRemoting-Samples

Code samples for using Microsoft's Holographic Remoting library.
Other
143 stars 49 forks source link

Could not see the sample results #34

Closed xiaolongrenlzj closed 3 years ago

xiaolongrenlzj commented 3 years ago

Thank you for providing such a great project. The code for player works perfect for me. But for the remote app using openXR, I followed every step and installed everything it needed but when I deployed it to the PC, I did not find any space for inputting the IP address of HoloLens. I've attached a pic which shows what it looks like. The same for using the Mixed Reality runtime. I even tried to use the 2.4.0 version of Holographic Remoting OpenXr but I got the same result. Could you please tell me how to fix it? Thanks a lot. 8

FlorianBagarMicrosoft commented 3 years ago

The IP address is passed to SampleRemoteOpenXr via command line parameters.

If you launch the sample from Visual Studio you can configure this via the Debugging in Property Pages: image

If you want to launch the sample without Visual Studio, do it via a Command Prompt like: image

xiaolongrenlzj commented 3 years ago

The IP address is passed to SampleRemoteOpenXr via command line parameters.

If you launch the sample from Visual Studio you can configure this via the Debugging in Property Pages: image

If you want to launch the sample without Visual Studio, do it via a Command Prompt like: image

Thank you so much for your elaborate explanation. It works fine for v2.5.0 of Holographic Remoting OpenXr. But for v2.6.0, I tried to launch the sample with or without Visual Studio, it did not work and it looks like:

9

lappelsmeier commented 3 years ago

Hi @xiaolongrenlzj,

Can you please paste the whole command line you use when starting the RemoteOpenXr sample? We tried to repro it and I double checked our code. The IP address in the titlebar (and to which we connect to) is just taken from the command line options. We also didn't make any changes that I'm aware of between versions 2.5 and 2.6 in that area.

lappelsmeier commented 3 years ago

Hi @xiaolongrenlzj,

one other thing - did you update your player? A 2.6 remote application (like our OpenXR sample) can only connect to a player of version 2.6 and higher. You might need to force an update in the Windows Store if you use the normal player from there. If you have built a custom player you need to build a new one based on the current code on github.

xiaolongrenlzj commented 3 years ago

Hi @xiaolongrenlzj,

one other thing - did you update your player? A 2.6 remote application (like our OpenXR sample) can only connect to a player of version 2.6 and higher. You might need to force an update in the Windows Store if you use the normal player from there. If you have built a custom player you need to build a new one based on the current code on github.

Thank you so much. I just updated my player and it worked.

lappelsmeier commented 3 years ago

Great that this was an easy fix, will close the ticket now. Thanks for the update!