Closed yinalger closed 2 years ago
Hey @yinalger
Sorry for the late response. Unfortunately, we were not able to reproduce the issue with the mentioned specs & versions.
However, you mentioned that you were able to get remote/uwp sample to connect to the HoloLens2 remoting player but the issue is with remote/desktop or remote_openxr/desktop, so this might indicate an issue with your firewall settings for desktop samples because usually the uwp apps have some info in their .manifest files which grant them permissions to be allowed through the firewall but for desktop apps, you get those pop-ups on the first time you launch the app to ask for the required permissions. This might also be the issue for the Unity editor since you mentioned the version of your Unity Engine that you probably tried to use with Holographic Remoting. it would make sense to double check if the remote/desktop apps (and Unity Editor) are allowed through Windows Defender Firewall on your machine. If you are using any other antivirus program, you need to check how to allow apps according to the instructions relevant to your antivirus program.
If the apps are already allowed through your firewall or you still have an issue after allowing them, we still want to help you in resolving this issue, so we would appreciate if you collect some information on what is exactly happening on attempting to connect the remote/desktop or remote_openxr/desktop sample to the Hololens2 Player. So, please follow these instructions:
AzureRemoteRenderingNetworkProfiling.wprp
.wpr -start AzureRemoteRenderingNetworkProfiling.wprp -filemode
XR_REMOTING_DISCONNECT_REASON_TRANSPORT_CONNECTION_FAILED_MSFT
.wpr -stop trace.etl
N.B. The wpr tool captures information about about everything happening on your system not just the sample remote app. So, please do not run any workloads on your system that process sensitive data while running the above wpr commands.
@Hanaae-MSFT Thanks for the replay.I will try when I have free time.I tried the same project on anthor computer and successed. I saw that h265 uses nvdia graphics card, but my CPU is AMD. It has amdh265 and does not support h265.Is this the possible cause of the problem? As you might think, I tried to use playmoderemoting in unity, but it didn't work for the same reason. When I searched the results, I found the OpenXR-Unity-MixedReality-Samples, which included appremoting. It works. They don't have much difference. The problem with uinty may be that I have not configured the correct environment. You can close the problem.I solved my problem.And I will send the trace.etl quickly. And the last,thanks for you help.
Thanks for the response. For machines, where there is more the one GPU, the selection of the correct GPU device could be a bit tricky. In your system, if I understood correctly, there are 2 GPUs, the dedicated Nvidia RTX 3060 and the integrated AMD Radeon one. However, it shouldn't be an issue which GPU is selected/enabled as long as the GPU supports H265 and you have the HEVC video extensions installed on your machine . Unfortunately, I would need more information to interpret what is exactly going on. So, you are welcome any time to send me an etl trace to investigate it further and for now, I will close the issue since the problem is resolved.
Describe the bug Can not connect the remote player which retrun Disconnected with reason 12(TransportConnectionFailed) and Holographic Remoting: Disconnected - Reason: 12(XR_REMOTING_DISCONNECT_REASON_TRANSPORT_CONNECTION_FAILED_MSFT) By the way I built the .sln in remote/uwp which can connect the player in holoens2.The another one which in remote/desktop can not.What is the difference between them.
Remote side (your Windows PC):