Closed Halven08 closed 3 years ago
Which graphics debugger are you using? Pix, Visual Studio graphics debugger, or RenderDoc?
Visual Studio graphics debugger
@Halven08, we are able to reproduce the issue and will get back to you as soon as we know more.
@Halven08, the Holographic Remoting stack internally uses DirectX 12 for a couple of things in the video encoding/decoding context. Unfortunately the Visual Studio graphics debugger does not support DirectX 12 as stated here. We also recommend PIX on Windows.
When trying to connect to the HoloLens 2 while graphics debugging is on there is information that:
Disconnect: Transport connection was closed due to the requested video format not being available
It works like that for
PreferredVideoCodec::Any
andPreferredVideoCodec::H264
and byPreferredVideoCodec::H265
and errorSampleRemote.exe: WinRT originate error - 0x80004005 : 'Cannot find an encoder for the requested video codec.'.
is thrown.Tried it with the 2.2.2. sample version. It was possible to use graphics debugging with the HoloLens 1 and it was a useful feature.