Direct Mode For Custom HMD

I am working on a device plugin / driver to SteamVR for a custom HMD. The HMD has 2 HDMI inputs and runs in extended mode. How can I make the HMD run in direct mode? I assume the graphics driver has to be told some info about the HMD such as the EDID. What are the steps for doing this?

Hello,

to access DirectMode, you need to register for the HMD manufacturer version of VRWorks: https://developer.nvidia.com/nvidia-vrworks-hmd-developer-program.
With that you will get access to a sample which shows how to set up direct mode.

Alternately you can use these steps to do direct mode in a cross-GPU-vendor way, though it’s less widely used than the VRWorks approach: Building a custom compositor app for head-mounted and specialized monitors - Windows drivers | Microsoft Learn