Skip to content

Instantly share code, notes, and snippets.

@ChristophHaag
Last active December 21, 2021 18:50
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ChristophHaag/79587495848f34771a0a2589eb42f198 to your computer and use it in GitHub Desktop.
Save ChristophHaag/79587495848f34771a0a2589eb42f198 to your computer and use it in GitHub Desktop.
Using null driver in SteamVR on Linux
If you have other steamvr plugins intalled, e.g. the osvr plugin in /usr/lib/openvr/osvr/, remove it temporarily to avoid with annoying behavior like slow osvr startup:
~/.local/share/Steam/SteamApps/common/SteamVR/bin/linux64/vrpathreg removedriver /usr/lib/openvr/osvr
If you do want to use it later, enable it again:
~/.local/share/Steam/SteamApps/common/SteamVR/bin/linux64/vrpathreg adddriver /usr/lib/openvr/osvr
Set up ~/.local/share/Steam/config/steamvr.vrsettings like this:
{
"driver_lighthouse" : {
"enable" : false
},
"driver_null" : {
"enable" : true
},
"driver_oculus" : {
"enable" : false
},
"driver_oculus_legacy" : {
"enable" : false
},
"driver_null" : {
"enable": true,
"id": "Null Driver",
"serialNumber": "Null 4711",
"modelNumber": "Null Model Number",
"windowX": 100,
"windowY": 100,
"windowWidth": 800,
"windowHeight": 600,
"renderWidth": 800,
"renderHeight": 600,
"secondsFromVsyncToPhotons": 0.1,
"displayFrequency": 60
},
"steamvr" : {
"enableHomeApp" : false
}
}
@VoodaGod
Copy link

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment