This fork adds Pico 4 support (test build). It's an unofficial port of CreoleVR/QuestLHSync, not made or supported by CreoleVR; see Pico 4 (test build) below. Everything after that section is the original README.
The headset part reads the Pico 4's tracking cameras inside its tracking
service (pvrtrackingservice) and uses the headset's own factory camera
calibration. The PC driver gains the Pico's camera model. Downloads are in
Releases.
Tested so far: two Pico 4s (A8110, PUI 5.13.3 and 5.13.7, Magisk), one sold as a Pico 4 Pro and one as a Pico 4 Enterprise, streamed with Pico Connect (and one with Virtual Desktop) and four 2.0 base stations. On one it locked within about a minute and levelled with the base stations within 0.3°; the other took longer to line up all four. Sleep and wake with the module installed recovers by itself (test build 2). Others report it working with Steam Link. Test build 4 has only run for a few minutes, on one headset. Not tested yet: the Pico 4 Ultra / Neo 3, and test build 4 in long sessions, after a sleep, or under strong ceiling lights. Please report how it goes.
The first time, give it a few minutes and look around at each base station, turning your head side to side: it's still learning how your streamer times the headset's poses, and where the base stations are. It saves both, so the next session starts from them.
Test build 4: update both the headset module and the SteamVR driver.
- Fixes base stations not being found while the Pico's controllers are awake. The cameras then alternate a bright frame with a very dark one, and builds 1 to 3 looked at the dark one, too short to catch most laser sweeps: in one recording it saw the stations in 0-2% of those frames and in 53-83% of the bright ones.
- The camera reader counts each frame once (it could take half-written or repeated ones), takes about 1-1.5 ms per frame instead of 6-8, and keeps a steady rhythm, which the timing and the base station identity check rely on.
- If a camera stops sending or loses its rhythm, the driver has the headset start
its camera reader afresh (at most 3 times in half an hour;
"autoReset": falseturns it off). It doesn't do that for a missing base station.
Test build 3: fixes controller button clicks (such as the Pico controller's menu button) not reaching SteamVR while QuestLHSync is loaded. The fix is Ryan6-VRC's, from CreoleVR/QuestLHSync#67, and only the SteamVR driver changed: the Pico module is the same as test build 2.
Test build 2: fixes the cameras getting mixed up when the headset wakes from sleep (it could grab the camera buffers while the Pico was still setting them up), and stops the headset's log from repeating the same warning every few seconds while it sleeps.
- A Pico 4, rooted with Magisk.
- SteamVR base stations, with at least one lighthouse tracker or Index controller switched on.
- Windows with SteamVR, the Pico streamed with Pico Connect (others may
work with
"anyHmd": true, below). - The PC and the Pico on the same local network.
-
Remove the official QuestLHSync driver if you have it. Two drivers named
questlhsyncconflict, and the official installer downloads CreoleVR's release, which has no Pico support. With SteamVR closed, click Uninstall in the official installer, orvrpathreg removedriverits folder. -
Headset: install
QuestLHSync-pico-module-<version>.zipin the Magisk app (Modules > Install from storage) and reboot. Or over adb:adb push QuestLHSync-pico-module-<version>.zip /sdcard/Download/ adb shell su -c "magisk --install-module /sdcard/Download/QuestLHSync-pico-module-<version>.zip" adb reboot -
PC: extract the
questlhsyncfolder fromQuestLHSync-steamvr-pico-<version>.zipsomewhere permanent and, with SteamVR closed, register it:"C:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win64\vrpathreg.exe" adddriver "C:\path\to\questlhsync" -
Turn off SpaceCalibrator, OpenVR-SpaceOverride or anything else that moves lighthouse devices (SteamVR Settings > Startup / Shutdown > Manage Add-ons).
Then use it as described in Use below: start SteamVR, connect the Pico with Pico Connect, switch on a tracker or controller and look around so the cameras see each base station.
The Pico doesn't store where its cameras sit relative to your eyes, so the
driver works it out from the camera layout. If lighthouse devices sit
consistently a little off, these keys in steamvr.vrsettings under
"driver_questlhsync" adjust it:
| Key | Default | |
|---|---|---|
picoPitch |
0 |
Degrees: tilts the assumed head frame up (+) or down (-) |
picoEyeDepth |
0.06 |
Metres from the cameras back to between your eyes |
picoFlip |
false |
true turns the assumed up direction upside down (only if nothing ever locks) |
autoReset |
true |
false keeps the driver from restarting the headset's camera reader |
- Reading the cameras costs about a third of one CPU core on the headset. Report heat, battery drain or stutter.
- Strong lamps, such as bright ceiling lights, can be taken for base stations and make it lock onto a wrong alignment.
- Lighthouse devices may drift upward while you lie on your back. Not explained yet; a recording (Record session) of it helps.
- The headset part answers anyone on the local network, as on the Quest.
Please open an issue with:
%LOCALAPPDATA%\QuestLHSync\questlhsync.logfrom the PC;- the headset's log:
adb shell su -c cat /dev/.questlhsync/lhsyncd.log; - optionally a recording (the dashboard's Record session button).
The logs contain your headset's serial number (the headset's log), its model and firmware, and your local IP addresses: look them over before posting, and blank out the serial if you like.
- Headset: remove "QuestLHSync (Pico 4)" in the Magisk app and reboot.
- PC: with SteamVR closed,
vrpathreg removedriver "C:\path\to\questlhsync"and delete%LOCALAPPDATA%\QuestLHSync.
As below, plus python pico\build_module.py for the Pico module (needs
Zig: zig on PATH or ZIG set to it; no Android NDK) and
python pico\release_pico.py for the two release files.
Lighthouse trackers, controllers and base stations aligned to a Quest's or a Steam Frame's own tracking, with nothing mounted on the headset. The headset's tracking cameras see the laser flashes of SteamVR base stations, and QuestLHSync uses them to keep the lighthouse space lined up with the headset's while you play. No SpaceCalibrator, no tracker strapped to your head.
It has two parts: a headset part, which serves what the cameras see on your local network (a Magisk module on a Quest, a user service and a small SteamVR driver on a Steam Frame), and a SteamVR driver for the PC, which solves the alignment, applies it to every lighthouse device and adds a page to the SteamVR dashboard.
Steam Frame support is by @NotZoeyDev.
Galaxy XR support is by @stearnsbq, with the questlhsync-galaxy-xr headset module.
- A Quest Pro, Quest 3 or Quest 3S, rooted with Magisk.
- Or a Steam Frame. No root, no developer password: everything installs as your user.
- SteamVR base stations, 1.0 or 2.0.
- Windows with SteamVR, with the headset streamed by anything: Steam Link, Link, Air Link, Virtual Desktop, ALVR, CreoleCast...
- The PC and the headset on the same local network.
- At least one lighthouse device switched on (a tracker or an Index controller). SteamVR only shows base stations while one is on.
Each device has its own file in Releases.
-
Headset:
-
Quest: install
QuestLHSync-quest-module-<version>.zipin the Magisk app (Modules > Install from storage) and reboot. Or over adb:adb push QuestLHSync-quest-module-<version>.zip /sdcard/Download/ adb shell su -c "magisk --install-module /sdcard/Download/QuestLHSync-quest-module-<version>.zip" adb reboot -
Steam Frame: in Desktop Mode, open
QuestLHSync-frame-installer.flatpakin Discover, then start QuestLHSync Installer and click Install. Or copyQuestLHSync-frame-module-<version>.tar.gzto the Frame and, in a terminal on it or over ssh:tar xzf QuestLHSync-frame-module-<version>.tar.gz QuestLHSync-frame/install.shEither way, SteamVR on the headset restarts once to load its driver.
-
-
PC: run
QuestLHSync-steamvr-installer.exe. It downloads the latest release, installs the driver to%LOCALAPPDATA%\QuestLHSync\questlhsync, registers it with SteamVR (in place of a copy you registered by hand) and offers an update whenever a newer release is out. It closes SteamVR if it's running.Or by hand: extract the
questlhsyncfolder fromQuestLHSync-steamvr-<version>.zipsomewhere permanent and, with SteamVR closed, register it:"C:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win64\vrpathreg.exe" adddriver "C:\path\to\questlhsync" -
Turn off SpaceCalibrator, OpenVR-SpaceSync or anything else that moves lighthouse devices. Two tools correcting the same devices fight each other.
Start SteamVR as usual. QuestLHSync finds the headset by itself. Its page is in the SteamVR dashboard, with a copy on the desktop.
The first time, look around so the cameras catch both base stations (the Frame uses only its two upper cameras: the lower pair looks at the floor, not at the base stations). It locks within about half a minute, and after that starts from the saved alignment. Wear a tracker or hold a controller meanwhile: when two base stations could be either way round, the devices you wear or hold decide.
With three base stations, glance at the third one too. QuestLHSync's reference
frame keeps whatever tilt SteamVR's lighthouse space had when it was first
seen, and with two base stations in view a tilt of 1.5° puts trackers on the
floor 15 cm to the side. Once the cameras have seen three base stations well
enough to tell, QuestLHSync levels the reference frame with the headset's
gravity and keeps the level in stations.json. With two, the lighthouse
controllers' and trackers' accelerometers level it as they move about.
- Pause corrections holds lighthouse devices where they are.
- Record session saves what the driver receives to a file, for bug reports.
- Force recalibrate drops everything learned about the alignment and starts
over, for when it sits stuck on a wrong fit. It clears the sightings, the fit,
the headset's saved alignment and pose timing, and an automatic reference frame
(
stations.json: pinned again from SteamVR's base stations, its level found again). Lighthouse devices go back to SteamVR's own places until the cameras have found the base stations again. A reference frame you measured yourself stays.
What a headset's cameras have seen is kept per headset, in
%LOCALAPPDATA%\QuestLHSync\headsets\<model>-<id>\state.json (the id is a hash
of its serial number), so switching between headsets doesn't seed one with the
other's alignment or pose timing. The state.json of earlier versions moves to
the first headset that connects. stations.json, the reference frame of your
base stations, is shared by all headsets.
Optional, in steamvr.vrsettings under "driver_questlhsync":
| Key | Default | |
|---|---|---|
enable |
true |
false turns QuestLHSync off |
host |
"" |
The headset's IP address(es), comma-separated, for networks that drop broadcasts |
headset |
"" |
A headset serial to prefer when several answer |
anyHmd |
false |
Use SteamVR's headset even when it isn't named a Quest Pro, 3, 3S or Steam Frame |
record |
false |
Record every session (same as the button) |
gravity |
true |
false turns levelling by the lighthouse devices' accelerometers off |
steadyStations |
true |
false lets SteamVR move base stations by each new measurement instead of their average |
With a wired headset (SteamVR's headset is a lighthouse one, or tracked by a driver that isn't a streamer's: Index, Vive, Windows Mixed Reality, ...), QuestLHSync switches itself off: no corrections, no levelling, no base station averaging, and the dashboard closes. anyHmd keeps it on for a headset it wouldn't otherwise accept (never a lighthouse one).
- "Looking for the headset": the headset must be awake and on the same
network. If your router drops broadcasts, set
host. - "No camera frames": the cameras only run while the headset tracks. Put it
on. If it stays there, check
%LOCALAPPDATA%\QuestLHSync\questlhsync.log: ano camera buffers foundline means the headset part doesn't know this headset or OS build yet. Please open an issue with that line. On the Frame, a "questlhsync_frame SteamVR driver isn't running" line means SteamVR on the headset hasn't restarted since the install:systemctl --user restart steamvr.service. - "Waiting for base stations": switch on a tracker or controller.
- "Finding the base stations" for a long time: face each base station for a few seconds.
The PC side writes only to %LOCALAPPDATA%\QuestLHSync and only talks to the
headset. The headset part answers anyone on the local network without
authentication. It sends bright-spot positions (never images), the camera
calibration, and the headset's serial number, model and firmware. Use it on a
network you trust. It only reads the cameras while a PC is connected, and
patches nothing on disk. On the Frame, lhsyncd logs to the user journal
(journalctl --user -u questlhsync).
- Quest: remove the module in the Magisk app and reboot.
- Steam Frame: click Uninstall in QuestLHSync Installer, or run
QuestLHSync-frame/uninstall.shon the headset. - PC: with SteamVR closed, click Uninstall in the installer, or run
vrpathreg removedriver "C:\path\to\questlhsync"and delete%LOCALAPPDATA%\QuestLHSync.
Visual Studio 2022 with C++, the Android NDK, Zig and Python 3:
build.bat SteamVR driver + dashboard app (SteamVR closed) + out\QuestLHSync-Installer.exe
build.bat installer only the installer
python magisk\build_module.py Quest module (Magisk), into out\
python frame\build.py Steam Frame package, into out\
python release.py the release files, into out\release-<version>\
python install.py register driver\questlhsync with SteamVR
python install.py headset install the module over adb, no reboot
Zig cross-compiles the Steam Frame package (zig on PATH, or ZIG set to it).
On the Frame itself or any arm64 Linux, frame/build.py uses cc and c++
instead.
The Steam Frame's installer app is a Flatpak, built on Linux for the machine's
own architecture (so on the Frame, or any arm64 Linux) with
python3 frame/installer/build.py, into
out/QuestLHSync-frame-installer-<version>.flatpak. It needs flatpak-builder
and the GNOME SDK:
flatpak install --user flathub org.flatpak.Builder org.gnome.Sdk//50.
release.py adds it to the release files as QuestLHSync-frame-installer.flatpak
when it's in out/.
lhsyncd's core (src/headset/lhsyncd.c) is shared by both headsets; each adds
its own side behind src/headset/headset.h (magisk/src/quest.c,
frame/src/frame.c).
MIT, see LICENSE. Third-party code is listed in THIRD_PARTY_NOTICES.md.
QuestLHSync is not affiliated with Meta or Valve. Meta Quest is a trademark of Meta Platforms, Inc.; Steam Frame and SteamVR are trademarks of Valve Corporation. Rooting a headset and running code inside its system services is at your own risk.
