The catch is that software like this rarely disappears just because you stopped opening its in-headset menu. When OpenXR Toolkit was installed, it registered itself in the Windows Registry as an implicit OpenXR API layer. That means the OpenXR loader automatically injects its DLL between your game and your headset runtime every single time you launch an OpenXR title. According to a 12-step diagnostic workflow outlined by Shattered.io, you can audit your entire OpenXR layer stack, back up your registry, reversibly disable any retired components, and measure your frame-time impact in roughly 60 minutes. Even better, we can tighten that workflow to plug a registry blind spot and clarify a few benchmarking traps that trip up even seasoned flight-sim pilots.
Why a Retired OpenXR Layer Is a Silent Liability
To understand why an unmaintained VR utility can still cause headaches years after its final release, it helps to picture how the OpenXR call chain works. As Varjo's engineering team explained in a 2022 technical deep dive, OpenXR Toolkit acts as an API layer interposing between the host application and the OpenXR runtime. That middleman position is what allowed it to inject AMD FidelityFX Super Resolution (FSR), NVIDIA Image Scaling (NIS), color tweaks, and Variable Rate Shading-based Fixed Foveated Rendering (FFR) into games that never shipped those features natively.
The flip side of sitting in the middle of every API call is fragility. When a newer game or updated runtime uses OpenXR extensions or rendering paths that a frozen 2023/2024 layer never anticipated, conflicts can surface—ranging from broken menus and eye-tracking failures to outright launch crashes. Simulators and competitive titles have moved on, too: Digital Combat Simulator (DCS) natively integrated NVIDIA DLSS and DLAA, Microsoft Flight Simulator 2024 added native quad views foveated rendering in Sim Update 2, and iRacing now explicitly recommends removing OpenXR Toolkit in favor of its built-in foveated rendering.
Before you reach for the digital sledgehammer, keep one crucial distinction in mind: OpenXR itself is alive and well. Khronos's OpenXR 1.1 Loader specification treats API layers as a standard, supported architectural feature for intercepting or augmenting commands during xrCreateInstance. You are not abandoning OpenXR; you are simply sweeping one retired third-party layer out of the call chain.
Key Takeaways
- OpenXR Toolkit ended development and support in 2024, and its maintainer warns against using it with newer titles.
- Because it installs as an implicit API layer, it loads automatically into every OpenXR game until disabled or removed.
- Major sims like MSFS 2024, DCS, and iRacing now ship native alternatives, making external injection unnecessary for many players.
How Windows Discovers OpenXR API Layers
Every OpenXR game links against an OpenXR loader library. When the game starts an OpenXR session, the loader checks the Windows Registry to locate the active runtime and scans specific subkeys for JSON manifest files describing available API layers.
Each layer entry in the registry uses the full file path to its JSON manifest as the value's name, paired with a DWORD data value. Per the Khronos OpenXR Loader design, a DWORD of 0 tells the loader to attempt loading that layer, while any nonzero value disables it. Flipping that DWORD from 0 to 1 is the secret to a clean, reversible audit—you leave the files intact until you are ready to uninstall via Windows Settings, and you can undo the change in two seconds.
| Registry Location | Target Scope | What Lives Here |
|---|---|---|
HKLM\SOFTWARE\Khronos\OpenXR\1 | 64-bit, system-wide | ActiveRuntime and 64-bit ApiLayers\Implicit or Explicit |
HKLM\SOFTWARE\WOW6432Node\Khronos\OpenXR\1 | 32-bit, system-wide | 32-bit ActiveRuntime and 32-bit layers |
HKCU\SOFTWARE\Khronos\OpenXR\1 | 64-bit, current user | Per-user ApiLayers\Implicit or Explicit |
HKCU\SOFTWARE\WOW6432Node\Khronos\OpenXR\1 | 32-bit, current user | Per-user 32-bit layer manifests |
Notice that fourth row: HKCU\SOFTWARE\WOW6432Node\Khronos\OpenXR\1. Khronos's official loader documentation (api_layer.adoc) explicitly documents per-user 32-bit discovery under <HKCU>\WOW6432Node\SOFTWARE\Khronos\OpenXR alongside the system-wide HKLM paths. Why does 32-bit coverage matter in 2026? Because Valve added 32-bit OpenXR runtime support in SteamVR 2.17 (and refined 32-bit symlinks in the SteamVR 2.19.1 beta), meaning legacy 32-bit VR apps or older mod tools can still invoke the 32-bit OpenXR loader. Notably, Shattered.io's original script only inspects HKCU once without checking that 32-bit per-user path. The updated Python script below fixes that oversight so nothing slips past your audit.
Prerequisites and Environment Prep
Whether you stream wirelessly to a Meta Quest via Steam Link, Virtual Desktop, or Meta Horizon Link (the Windows app formerly branded as Oculus and Meta Quest Link), or run a tethered DisplayPort headset like a Pimax or Bigscreen Beyond, the OpenXR layer chain runs on your Windows PC.
Before touching the registry, assemble the following tools on Windows 11 (64-bit):
- Python 3.12 or newer: Uses only the standard library (
winreg,json,csv,statistics,argparse), so nopippackages are needed. - Elevated PowerShell: Reading the registry works as a standard user, while modifying
HKLMrequires Administrator privileges. - Intel PresentMon (console binary): For capturing repeatable frame-time CSV logs before and after disabling layers.
- A fixed test scene: Pick one OpenXR game with a repeatable stationary scene (a cockpit on a runway, a hangar, or an offline lobby) and screenshot your graphics settings so nothing changes between runs.
Note for non-coders: If you have zero interest in running Python scripts and just want a quick visual toggle, developer Fred Emmott maintains an open-source Windows utility on GitHub called OpenXR API Layers GUI. It displays registered layers, highlights conflicts, and lets you enable, disable, or reorder them visually. The Python audit below goes further by creating full .reg backups, scanning for orphaned DLLs, and running controlled PresentMon comparisons.
The 12-Step OpenXR Toolkit Audit and Fix Plan
Steps 1–2: Capture a Baseline and Build layerwatch.py
Step 1: Lock down your baseline hardware and software state before making any edits. Launch your test game, load your repeatable scene, let it warm up for a minute to clear initial shader compilation, and record two minutes of frame times with PresentMon. First, create C:\vr-audit and log your GPU driver and OS details:
New-Item -ItemType Directory -Force C:\vr-audit | Out-Null
Set-Location C:\vr-audit
Get-CimInstance Win32_VideoController | Select-Object Name, DriverVersion | Format-Table -AutoSize | Out-File baseline.txt
(Get-CimInstance Win32_OperatingSystem).Caption | Add-Content baseline.txt
python --version | Add-Content baseline.txt
Next, capture your baseline frame times using PresentMon's console executable (replace MyGame.exe with your title's actual process name, and run .\PresentMon.exe --help first if your version uses slightly different flags):
.\PresentMon.exe --process_name MyGame.exe --output_file C:\vr-audit\baseline.csv --timed 120 --terminate_after_timed
PresentMon 2.x uses --v2_metrics by default (exporting a FrameTime column measured from CPU frame start), while --v1_metrics outputs the classic MsBetweenPresents column. Whichever PresentMon release you use, keep the exact same binary and flags for both your baseline and post-change captures so you are comparing apples to apples.
Step 2: Create C:\vr-audit\layerwatch.py. Rather than stitching pieces together piecemeal, save the complete, corrected script below, which adds the missing HKCU\SOFTWARE\WOW6432Node\Khronos\OpenXR\1 scan and backup target on top of Shattered.io's core design:
#!/usr/bin/env python3
"""layerwatch.py: audit and reversibly manage OpenXR API layers on Windows."""
import argparse
import csv
import ctypes
import json
import math
import os
import statistics
import subprocess
import sys
from dataclasses import asdict, dataclass
from datetime import datetime
from pathlib import Path
try:
import winreg
except ImportError:
winreg = None
OPENXR_KEY = r"SOFTWARE\Khronos\OpenXR\1"
OPENXR_WOW64_KEY = r"SOFTWARE\WOW6432Node\Khronos\OpenXR\1"
# Lowercase fragment matched against layer name + manifest path
KNOWN = [
("toolkit", "OpenXR Toolkit", "RETIRED"),
("quad_foveated", "Quad-Views-Foveated", "LEGACY"),
("quad-views", "Quad-Views-Foveated", "LEGACY"),
("varjo_foveated", "Varjo-Foveated", "LEGACY"),
("fovea", "FoveaXR", "REVIEW"),
]
@dataclass
class Layer:
hive: str
view: str
kind: str
manifest: str
enabled: bool
base_key: str = OPENXR_KEY
name: str = ""
library: str = ""
label: str = "unknown"
status: str = "REVIEW"
problem: str = ""
def need_windows():
if winreg is None:
sys.exit("layerwatch reads the Windows registry. Run it with Windows Python.")
def read_runtime():
need_windows()
found = {}
for view, flag in (("64", winreg.KEY_WOW64_64KEY), ("32", winreg.KEY_WOW64_32KEY)):
try:
with winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, OPENXR_KEY, 0, winreg.KEY_READ | flag) as key:
found[view] = winreg.QueryValueEx(key, "ActiveRuntime")[0]
except FileNotFoundError:
found[view] = None
return found
def read_layers():
need_windows()
targets = [
("HKLM", "64", winreg.HKEY_LOCAL_MACHINE, winreg.KEY_WOW64_64KEY, OPENXR_KEY),
("HKLM", "32", winreg.HKEY_LOCAL_MACHINE, winreg.KEY_WOW64_32KEY, OPENXR_KEY),
("HKCU", "64", winreg.HKEY_CURRENT_USER, 0, OPENXR_KEY),
("HKCU", "32", winreg.HKEY_CURRENT_USER, 0, OPENXR_WOW64_KEY),
]
layers = []
for hive_name, view, hive, flag, base_key in targets:
for kind in ("implicit", "explicit"):
path = f"{base_key}\\ApiLayers\\{kind.capitalize()}"
try:
key = winreg.OpenKey(hive, path, 0, winreg.KEY_READ | flag)
except FileNotFoundError:
continue
with key:
index = 0
while True:
try:
manifest, data, _ = winreg.EnumValue(key, index)
except OSError:
break
index += 1
layers.append(Layer(hive_name, view, kind, manifest, data == 0, base_key))
return layers
def inspect(layer):
manifest = Path(layer.manifest)
if not manifest.is_file():
layer.problem = "manifest file missing"
else:
try:
doc = json.loads(manifest.read_text(encoding="utf-8-sig"))
info = doc.get("api_layer", {})
layer.name = info.get("name", "")
layer.library = info.get("library_path", "")
library = Path(layer.library)
if not library.is_absolute():
library = manifest.parent / library
if not layer.library or not library.is_file():
layer.problem = "library_path missing"
except (OSError, ValueError) as err:
layer.problem = f"manifest unreadable: {err}"
haystack = f"{layer.name} {layer.manifest}".lower()
for needle, label, status in KNOWN:
if needle in haystack:
layer.label, layer.status = label, status
break
return layer
def toolkit_leftovers():
base = Path(os.environ.get("LOCALAPPDATA", "")) / "OpenXR-Toolkit"
if not base.is_dir():
return []
return sorted(str(p) for p in base.rglob("*") if p.is_file())
def backup(folder):
folder.mkdir(parents=True, exist_ok=True)
stamp = datetime.now().strftime("%Y%m%d-%H%M%S")
keys = {
"hklm64": r"HKLM\SOFTWARE\Khronos\OpenXR",
"hklm32": r"HKLM\SOFTWARE\WOW6432Node\Khronos\OpenXR",
"hkcu64": r"HKCU\SOFTWARE\Khronos\OpenXR",
"hkcu32": r"HKCU\SOFTWARE\WOW6432Node\Khronos\OpenXR",
}
for tag, key in keys.items():
target = folder / f"{stamp}-{tag}.reg"
result = subprocess.run(["reg", "export", key, str(target), "/y"], capture_output=True, text=True)
print(f" {tag}: {'saved' if result.returncode == 0 else 'key not present'}")
snapshot = folder / f"{stamp}-layers.json"
snapshot.write_text(json.dumps([asdict(layer) for layer in read_layers()], indent=2))
print(f" snapshot: {snapshot}")
return snapshot
def is_admin():
try:
return bool(ctypes.windll.shell32.IsUserAnAdmin())
except AttributeError:
return False
def set_state(layer, enabled):
need_windows()
if layer.hive == "HKLM":
hive = winreg.HKEY_LOCAL_MACHINE
flag = winreg.KEY_WOW64_32KEY if layer.view == "32" else winreg.KEY_WOW64_64KEY
else:
hive, flag = winreg.HKEY_CURRENT_USER, 0
path = f"{layer.base_key}\\ApiLayers\\{layer.kind.capitalize()}"
with winreg.OpenKey(hive, path, 0, winreg.KEY_SET_VALUE | flag) as key:
winreg.SetValueEx(key, layer.manifest, 0, winreg.REG_DWORD, 0 if enabled else 1)
def load_frame_times(path, trim):
with open(path, newline="", encoding="utf-8-sig") as handle:
reader = csv.DictReader(handle)
columns = {name.lower(): name for name in reader.fieldnames or []}
column = columns.get("msbetweenpresents") or columns.get("frametime")
if column is None:
sys.exit(f"{path}: no MsBetweenPresents or FrameTime column found. Check CSV header.")
values = []
for row in reader:
try:
values.append(float(row[column]))
except (TypeError, ValueError):
continue
values = [v for v in values[trim:] if v > 0]
if not values:
sys.exit(f"{path}: no usable frames after trimming {trim}")
return values
def percentile(ordered, pct):
index = math.ceil(pct / 100 * len(ordered)) - 1
return ordered[min(len(ordered) - 1, max(index, 0))]
def summarize(values):
ordered = sorted(values)
median = statistics.median(ordered)
p99 = percentile(ordered, 99)
return {
"frames": len(ordered),
"average_ms": statistics.fmean(ordered),
"p95_ms": percentile(ordered, 95),
"p99_ms": p99,
"one_percent_low_fps": 1000 / p99,
"spikes_over_1_5x_median": sum(1 for v in ordered if v > 1.5 * median),
}
def cmd_compare(args):
base = summarize(load_frame_times(args.baseline, args.trim))
cand = summarize(load_frame_times(args.candidate, args.trim))
print(f"{'metric':26} {'baseline':>10} {'candidate':>10} {'change':>8}")
for key in base:
a, b = base[key], cand[key]
change = (b - a) / a * 100 if a else 0.0
print(f"{key:26} {a:10.2f} {b:10.2f} {change:+7.1f}%")
ratio = cand["p99_ms"] / base["p99_ms"]
if ratio < 0.97:
print("VERDICT: candidate run has lower 99th percentile frame time.")
elif ratio > 1.03:
print("VERDICT: baseline run has lower 99th percentile frame time.")
else:
print("VERDICT: inside 3% noise band; repeat captures before drawing conclusions.")
return 0
def cmd_disable(args):
layers = [inspect(layer) for layer in read_layers()]
wanted = {"RETIRED", "LEGACY"} if args.include_legacy else {"RETIRED"}
targets = [l for l in layers if l.status in wanted and l.enabled]
if not targets:
print("Nothing to disable.")
return 0
for layer in targets:
print(f"Would disable: {layer.label} ({layer.hive}{layer.view}) -> {layer.manifest}")
if not args.apply:
print("Dry run only. Add --apply from an elevated terminal to write the change.")
return 0
if not is_admin():
sys.exit("Run this from an elevated terminal (Run as administrator).")
print("Backing up first:")
backup(Path(args.backup_dir))
for layer in targets:
set_state(layer, False)
print(f"Disabled: {layer.label}")
return 0
def cmd_restore(args):
need_windows()
if not is_admin():
sys.exit("Run this from an elevated terminal (Run as administrator).")
saved = json.loads(Path(args.snapshot).read_text())
for item in saved:
set_state(Layer(**item), item["enabled"])
print(f"{'Enabled ' if item['enabled'] else 'Disabled'} {item['manifest']}")
return 0
def print_report(runtime, layers):
print("Active OpenXR runtime (Registry)")
for view, value in runtime.items():
print(f" {view}-bit: {value or 'not set'}")
print()
print(f"{'STATE':8} {'HIVE':6} {'KIND':9} {'STATUS':8} LAYER")
for layer in layers:
state = "enabled" if layer.enabled else "disabled"
shown = layer.name or Path(layer.manifest).name
print(f"{state:8} {layer.hive + layer.view:6} {layer.kind:9} {layer.status:8} {shown} ({layer.label})")
if layer.problem:
print(f"{'':8} problem: {layer.problem}")
def cmd_audit(args):
runtime = read_runtime()
layers = [inspect(layer) for layer in read_layers()]
print_report(runtime, layers)
leftovers = toolkit_leftovers()
if leftovers:
print(f"OpenXR Toolkit settings folder holds {len(leftovers)} file(s) under %LOCALAPPDATA%\\OpenXR-Toolkit")
flagged = [l for l in layers if l.status == "RETIRED" and l.enabled]
print()
if flagged:
print(f"FINDING: {len(flagged)} retired layer(s) still enabled. Next: python layerwatch.py disable")
else:
print("FINDING: no enabled retired layers.")
if args.json:
payload = {"runtime": runtime, "layers": [asdict(layer) for layer in layers]}
Path(args.json).write_text(json.dumps(payload, indent=2))
return 1 if flagged else 0
def cmd_backup(args):
print("Backing up:")
backup(Path(args.backup_dir))
return 0
def build_parser():
parser = argparse.ArgumentParser(description="Audit OpenXR API layers on Windows.")
sub = parser.add_subparsers(dest="command", required=True)
audit = sub.add_parser("audit", help="list runtime and layers")
audit.add_argument("--json", help="write findings to a JSON file")
audit.set_defaults(func=cmd_audit)
save = sub.add_parser("backup", help="export registry keys and a layer snapshot")
save.add_argument("--backup-dir", default="backups")
save.set_defaults(func=cmd_backup)
off = sub.add_parser("disable", help="disable retired layers (dry run by default)")
off.add_argument("--apply", action="store_true")
off.add_argument("--include-legacy", action="store_true")
off.add_argument("--backup-dir", default="backups")
off.set_defaults(func=cmd_disable)
back = sub.add_parser("restore", help="restore layer states from a snapshot")
back.add_argument("snapshot")
back.set_defaults(func=cmd_restore)
cmp_ = sub.add_parser("compare", help="compare two frame-time CSV captures")
cmp_.add_argument("baseline")
cmp_.add_argument("candidate")
cmp_.add_argument("--trim", type=int, default=600, help="frames to drop from the start")
cmp_.set_defaults(func=cmd_compare)
return parser
if __name__ == "__main__":
arguments = build_parser().parse_args()
sys.exit(arguments.func(arguments))
Steps 3–4: Read the Active Runtime, Parse Manifests, and Spot Orphans
Run your initial audit from a standard PowerShell prompt:
python layerwatch.py audit --json audit.json
This checks both the registered ActiveRuntime paths and all four layer registry targets. Keep in mind that ActiveRuntime only reports what is written in HKLM—environment variables like XR_RUNTIME_JSON or XR_API_LAYER_PATH can override loader discovery at launch time.
The inspect() function reads each JSON manifest (stripping any UTF-8 BOM), verifies that the referenced DLL exists on disk, and classifies matches against KNOWN. Notice the deliberate status tiers:
- RETIRED: Matches OpenXR Toolkit (
toolkitsubstring). Always verify the printed manifest path by eye before disabling, since substring matching is a heuristic rather than a cryptographic signature. - LEGACY: Flags related projects by the same author, such as
Quad-Views-FoveatedandVarjo-Foveated, which are also no longer supported. Leave them alone unless troubleshooting a specific issue, or disable them deliberately with--include-legacy. - REVIEW: Unrecognized or active tools (motion compensation helpers, overlays, or newer layers like
FoveaXR). Do not blindly disable these. - Orphan Warnings: If
inspect()printsmanifest file missingorlibrary_path missing, someone manually deleted a program folder without unregistering it, leaving behind a dead registry entry that can trigger loader warnings on launch.
Steps 5–6: Check Leftover Profiles and Back Up the Registry
Even after disabling OpenXR Toolkit, per-game configuration profiles often remain under %LOCALAPPDATA%\OpenXR-Toolkit. The audit command counts those files so you know whether the Toolkit was actively used on your account; before wiping them later, jot down your old resolution scale or sharpening percentages as a reference point for native game settings.
Before writing anything to the registry, run an explicit backup:
python layerwatch.py backup
This invokes Windows' built-in reg export across all four OpenXR registry branches (hklm64, hklm32, hkcu64, hkcu32) and writes a JSON snapshot. Seeing key not present for one or more branches is completely normal—it simply means that particular view is empty.
Steps 7–8: Dry-Run, Disable Reversibly, and Verify Loader Behavior
Step 7: Run a dry run first to confirm the exact manifest path layerwatch.py intends to disable:
python layerwatch.py disable
Once you verify the path points to OpenXR Toolkit (for example, XR_APILAYER_NOVENDOR_toolkit.json), open PowerShell as Administrator and apply the change:
python layerwatch.py disable --apply
The script automatically generates a fresh backup and sets that manifest's registry DWORD to 1. Need to roll back? Run python layerwatch.py restore backups\<timestamp>-layers.json from an elevated prompt, or double-click the exported .reg file. Fully exit and restart SteamVR, Meta Horizon Link, or your headset's vendor software so the OpenXR runtime starts fresh.
Step 8: Confirm the loader actually stopped loading the layer. Khronos's OpenXR loader documentation (debug.adoc) specifies that setting the XR_LOADER_DEBUG environment variable to all writes verbose loader diagnostics to std::cerr. For console OpenXR test apps (such as hello_xr.exe), you can capture that stream directly in PowerShell:
$env:XR_LOADER_DEBUG = "all"
.\your_openxr_console_app.exe *> C:\vr-audit\loader-after.log
Remove-Item Env:\XR_LOADER_DEBUG
Select-String -Path C:\vr-audit\loader-after.log -Pattern "layer","manifest" | Select-Object -First 20
One important caveat for GUI games: because XR_LOADER_DEBUG targets std::cerr rather than Windows OutputDebugString, many packaged desktop VR games without a console window suppress or drop standard error output unless launched with console redirection or captured through the specific runtime's own diagnostic log. If your game swallows std::cerr, verify layer status via layerwatch.py audit and OpenXR API Layers GUI, or test with an explicit OpenXR sample binary.
Steps 9–10: Capture the Candidate Run and Compare Frame Times
Step 9: Launch the exact same game, load the exact same scene with identical graphics presets, warm up for a minute, and record candidate.csv using the same PresentMon command and metric mode as Step 1:
.\PresentMon.exe --process_name MyGame.exe --output_file C:\vr-audit\candidate.csv --timed 120 --terminate_after_timed
Step 10: Compare the two CSVs:
python layerwatch.py compare baseline.csv candidate.csv
The script trims the first 600 frames to bypass initial settling and calculates frame count, mean frame time, 95th and 99th percentile frame times, 1% low FPS, and spike counts exceeding 1.5x the median. In VR, pay closest attention to the 99th percentile and spike count rather than raw averages—smoothness lives in the frame-time tail. Treat any difference inside the script's 3% band as measurement noise, and remember that a controlled before/after capture isolates frame pacing on your rig rather than proving universal behavior across every PC.
Steps 11–12: Choose Replacements and Automate Future Audits
Step 11: Because disabling OpenXR Toolkit removes its upscaling and foveated rendering, audit your replacement options per feature rather than hunting for a single drop-in clone:
| Replacement Option | Best For | Key Trade-offs |
|---|---|---|
| Game's native upscaler / foveation | MSFS 2024, DCS, iRacing, Half-Life: Alyx | Most stable path; engine-level DLSS, FSR, or native quad views outperform external injection. |
| SteamVR / Steam Link updates | Wireless Quest and Steam Frame streaming | SteamVR 2.19.1 beta raised streamed default render scale to 1.5 (targeting ~1.4x panel res), while 2.19.6 beta refined Steam Link and OpenXR extensions—these improve streaming, not in-engine upscaling. |
| Vendor software (e.g., Pimax Play) | Headset-specific ecosystems | Vendor-locked; only helps owners of supported headsets. |
| FoveaXR (Open Source, GPL-3.0) | Direct3D 12 OpenXR/OpenVR games lacking native foveation | Adds fixed or experimental eye-tracked VRS foveation on RTX 20 / RX 6000 / Intel Arc and newer; skips anti-cheat titles and games with native foveation. |
Before installing any community layer—whether FoveaXR or legacy OpenVR tools like PimaxMagic4All—check its maintenance status, back up your registry, and test one title at a time.
Step 12: Keep your audit folder intact and schedule a weekly check. Because layerwatch.py audit exits with code 1 whenever an enabled retired layer is detected, Task Scheduler can flag if an old mod installer silently re-registers OpenXR Toolkit:
$action = New-ScheduledTaskAction -Execute "python.exe" -Argument "C:\vr-audit\layerwatch.py audit --json C:\vr-audit\weekly.json" -WorkingDirectory "C:\vr-audit"
$trigger = New-ScheduledTaskTrigger -Weekly -DaysOfWeek Sunday -At 9am
Register-ScheduledTask -TaskName "LayerWatch" -Action $action -Trigger $trigger
Common Troubleshooting Scenarios
| Symptom | Likely Cause | Recommended Fix |
|---|---|---|
| OpenXR Toolkit overlay still appears in-game | A second registration exists in HKCU or a 32-bit WOW6432Node key. | Rerun layerwatch.py audit, verify every row shows disabled, and restart the runtime. |
| Script exits with Windows registry error | Launched from WSL or a Linux Python interpreter instead of Windows Python. | Run from Windows PowerShell using the native Windows Python binary. |
Access denied on --apply or restore | PowerShell window is not elevated. | Reopen PowerShell via Run as administrator. |
no MsBetweenPresents or FrameTime column found | Capture tool exported a custom or differently named header. | Open the CSV's first line to check column names, or capture using Intel PresentMon with consistent --v1_metrics or --v2_metrics flags. |
| Game launches on the wrong headset or shows black | Runtime registration changed (e.g., Meta Horizon Link vs. SteamVR). | Set your intended OpenXR runtime as active inside SteamVR or your headset vendor app, then relaunch. |
Once your candidate runs confirm stable frame times and clean launches, you can safely uninstall OpenXR Toolkit through Windows Installed apps—keeping your .reg backup tucked away just in case an older simulator ever tempts you back.
Frequently Asked Questions
Is OpenXR Toolkit safe to install in 2026?
Its maintainer discontinued development and support in 2024 and advises against installing or using it because it is known to cause issues with newer games released since 2024. If a specific older title still relies on it, keep it disabled globally and enable it only when needed rather than leaving it active as an implicit layer.
Does a Meta Quest 3 or 3S using Steam Link need OpenXR Toolkit?
No. Whether you connect via Steam Link, Virtual Desktop, or Meta Horizon Link, OpenXR games communicate directly with your PC's active OpenXR runtime. OpenXR Toolkit was strictly an optional third-party enhancement layer.
What is the difference between layerwatch.py and OpenXR API Layers GUI?
layerwatch.py is a transparent, zero-dependency Python CLI script that exports full .reg backups, scans all four Windows Registry views (64-bit and 32-bit across HKLM and HKCU), detects orphaned manifests, and parses PresentMon CSVs. Fred Emmott's OpenXR API Layers GUI is a standalone Windows desktop app that lets you inspect, reorder, and toggle layers with mouse clicks. Both accomplish safe layer toggling without deleting files—use whichever fits your workflow.
Does this audit script work on Linux?
No. The registry reader relies on Python's Windows-only winreg module, whereas Linux OpenXR loaders scan JSON manifests from filesystem directories. However, the compare subcommand works on any OS because it only parses standard CSV files.
References
- OpenXR Toolkit Audit: 12 Steps, 60 Min Fix Plan - shattered.io shattered.io · 2026-12-01T18:27:31+00:00
- github.com github.com
- Releases github.com