openvr
openvr copied to clipboard
Is it possible to run SteamVR with a custom HMD driver without actual display?
Hi! I'm currently working on a project called OpenVR-OpenTrack (https://github.com/pbzweihander/OpenVR-OpenTrack). I'm trying to use OpenTrack as a head tracker like HMD, so I wrote an HMD device driver code.
But it is not working. Error looks like this:
I think the driver is partially working and SteamVR recognizes it as a headset (The "H" icon says the headset is working) but it seems like SteamVR is trying to find a dedicated display for HMD.
How do I work around this?
My environment is Arch Linux with KDE Plasma Wayland. I did not test it on Windows. Perhaps it is a Linux problem?
I tried adding "requireHmd": false
to the steamvr.vrsettings
file, but it did not work either.
Do you have a display set up for the HMD? If you don't you can use the extended mode (check the sample hmd driver), or write your own implemenation with a IVRDriverDirectModeComponent
The driver code is here: https://github.com/pbzweihander/OpenVR-OpenTrack
What do you mean by "setting up a display"? I don't have an actual display. But I did implement IVRDisplayComponent
.
It does not work when I implement IVRDriverDirectModeComponent
instead of IVRDisplayComponent
. What exactly is the "extended mode"? I can't find any documentation of it.
And the simplehmd
in sample driver does not work with same error.