Skip to content

PSVR2-DriverKit v0.2

Latest

Choose a tag to compare

@mkooner mkooner released this 22 Nov 23:37
· 30 commits to main since this release

PSVR2-DriverKit v0.2

PlayStation VR2 on Linux: headset, Sense controllers and eye tracking, with SteamVR and OpenXR through Monado.

New: hand tracking (experimental, test feature)

  • Bare-hand tracking with the headset's cameras, using Monado's Mercury hand tracker, while a Sense controller is
    off. Hands show up in SteamVR as tracked hands with a full finger skeleton.
  • Gestures: pinch as the trigger, a closed hand as the grip; palm toward your face and pinch for the dashboard.
  • Faster hand finding: the hand detector's zoomed-in areas now run in parallel, all nine every frame.
  • How to get it: DriverKit → Compile Driver → tick Compile hand tracking (experimental) → Install
    dependencies
    → Compile Driver. Then turn it on in Settings → Hand tracking. It's off by default.
  • Needs: OpenCV and onnxruntime (Install dependencies adds them). Arch based systems, Debian 13, Ubuntu 25.04,
    Fedora 43 or newer; Ubuntu 24.04 has no onnxruntime package. The driver gets several hundred MB bigger.
  • This is a test feature: expect hands to be lost at times, and please send logs.

New in DriverKit

  • Install dependencies button (before Compile Driver): finds your package manager (pacman, apt or dnf) and installs
    everything compiling needs, asking for your password. Also ./install-deps.sh from a terminal.
  • Headset cameras in SteamVR setting: on (default), noimages or off. "off" works around SteamVR crashing with -203
    on Intel Arc GPUs (see Fixes).
  • Lighter camera picture setting: a half-size see-through picture for slower PCs.
  • Legacy games' controllers setting: what games without SteamVR Input (Skyrim VR, Fallout 4 VR) see on the Sense
    controllers: Oculus Touch (default, as Sony's driver), Vive, Index or native. The headset stays the PS VR2.

Fixes

  • SteamVR freezing at startup: a deadlock between the headset's USB start and its first data could hang SteamVR
    (seen in 3 of 11 starts on one PC). Fixed.
  • Slow or stuck startup with controllers: controller setup over Bluetooth no longer blocks SteamVR's start (it could
    wait 5 s per request), and closing SteamVR waits at most 1 s for Bluetooth.
  • Clean shutdown: the headset's USB thread always stops and the Sense controllers are disconnected when SteamVR
    closes; nothing calls SteamVR for a device after it's switched off.
  • Fake headset with no PS VR2 connected: SteamVR used to start with Monado's "Simulated HMD" when the PS VR2 wasn't
    found. Now it reports no headset.
  • Legacy games' controllers: older games (Skyrim VR, Fallout 4 VR) now see working Oculus Touch controllers, as with
    Sony's driver, instead of no controllers.
  • Sense controllers reconnect after a Bluetooth drop.
  • Controller LED timing:
    • follows the controllers' clock shifts that the cameras confirm, and controllers whose clock runs faster than
      normal;
    • a briefly unconfirmed timing window is held longer (8 checks instead of 3), so tracking isn't dropped as easily;
    • the controllers' first LED calibration finishes faster (3.6 s instead of 4.8 s in simulation).
  • Faster startup: the headset's saved calibration is used straight away, without waiting for the headset to send it
    again (it still checks the copy against the headset's).
  • Room drawn before anchoring is kept at the floor capture.
  • SteamVR rendering settings: SteamVR's Facet renderer is off for the session, and async reprojection is left to
    SteamVR's own setting by default (DriverKit's setting still turns it on).
  • See-through picture: camera images are converted once per frame.
  • Intel Arc GPUs, SteamVR error -203: SteamVR's compositor crashes about 2 s after start on Intel Arc GPUs when its
    camera view (Room View) is set up. The cause is a divide-by-zero in Mesa's Intel Vulkan driver (26.3.1), not in this
    driver. Workaround: Settings → Headset cameras in SteamVR → off (no see-through until Mesa is fixed).
  • Eye tracking: no eye calibration is sent to the headset any more.
  • Building: Compile Driver builds without RealSense (fixes a failed build with some librealsense versions) and
    always uses the newest build script from GitHub.

For testers: better logs

  • Startup timeline: one timed line per startup step (headset, first pose, controllers' LED timing, first controller
    pose), shown by summarize.sh.
  • Controller tracker report every 5 s: how many poses were found, accepted and rejected per controller.
  • Headset tracking resets logged with whether the headset was worn and moving.
  • USB streams that stop are logged with the reason.
  • Hand tracking says when it's on in DriverKit but the driver was built without it.

Credits

Mercury (Moshi Turner and Collabora, part of Monado) for the hand tracker and its models; the device pictures in
DriverKit are from Wikimedia Commons (C.Suthorn, ArlindoPereira). Full credits in the README.

Download

PSVR2-DriverKit-x86_64-v0.2.AppImage: run it, then Compile Driver tab → Install dependencies → Compile Driver.