Skip to content

Releases

PSVR2-DriverKit v0.2

Choose a tag to compare

@mkooner mkooner released this 22 Nov 23:37

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.

PSVR2-DriverKit 0.1

Choose a tag to compare

@mkooner mkooner released this 20 Nov 05:53

PlayStation VR2 on Linux, as a native SteamVR headset. Head tracking, Sense controllers, eye tracking, passthrough and in-headset room setup, plus the PSVR2-DriverKit app that compiles, installs, updates and launches everything.

Highlights

  • Full SteamVR integration. A native SteamVR driver, registered with Steam, works with Room Setup and Room View natively.
  • Full headset support:
    • 6DoF head tracking from the headset's inside-out tracking, smoothed by our pose filter;
    • distortion correction, IPD from the dial;
    • the wear sensor;
    • the function button for Room View.
  • Sense controllers with every input:
    • 6DoF optical and motion-sensor tracking;
    • all buttons, sticks, triggers and grip;
    • the touch and finger-distance sensors;
    • haptics, and the PS button for the dashboard.
  • Finger tracking: a hand skeleton driven by the Sense's touch and distance sensors, for games that animate hands.
  • Eye tracking for SteamVR games and OpenXR apps (no per-user calibration yet).
  • Passthrough: Room View with the full camera picture, plus the camera view near your play-area walls.
  • Room setup in the headset, like Steam Frame: draw your play area from the dashboard's Playspace menu.
  • Native OpenXR through Monado's runtime, without SteamVR.
  • Real PS VR2 controller models and icons in SteamVR when Sony's PlayStation VR2 App is installed.

PSVR2-DriverKit app

  • Compile Driver:
    • downloads the latest version from GitHub and builds the driver, Monado and DriverKit into one folder;
    • registers the driver with SteamVR, and turns on SteamVR's camera features with one button;
    • Check tells you whether your build is up to date;
    • lists package install commands for Arch, Debian/Ubuntu and Fedora.
  • Launcher: start SteamVR or monado-service, set the play area, launch OpenXR apps.
  • AppImage: PSVR2-DriverKit-x86_64-v0.1.AppImage installs everything on first run. After your first compile it starts your own locally built DriverKit, so it doubles as the updater.

Getting started

  1. Install the build packages (listed in the Compile Driver tab).
  2. Recommended: install Sony's free PlayStation VR2 App from Steam, for the controller models and icons.
  3. Run the AppImage, then Compile Driver → Register our driver → Turn on PS VR2 features.
  4. Start SteamVR or a VR game from Steam.
    Important: Initial Setup takes 30secs first time you use it, so keep you hands visible to the headset until tracking locks in

Known limitations

  • Controller tracking drops in bright sunlight.
  • The controllers' initial calibration takes about 5 seconds to start in SteamVR.
  • For the best results with Proton in VR, use UMU-Proton.

Credits

Built on Monado (all the Monado developers). ALVR and PSVR2Toolkit served as reference implementations.