Skip to content

0.11.1

Pre-release
Pre-release

Choose a tag to compare

@nicolas-riera nicolas-riera released this 02 Oct 17:54

ALVR PS4 v0.11.1 - changes since v0.11.0

PS4 app

  • Fade to black between the lobby and the game, both ways (0.3 s out, 0.3 s in): the
    lobby fades out once the first picture of the game is ready, then the game fades in;
    going back to the lobby fades the game out first. A stream that stops on its own gives
    way to the lobby fading in.
  • Settings open by themselves when you come back to the lobby from the game (new
    setting "Open the settings when back in the lobby", on by default). Closing them keeps
    you in the lobby, as before.
  • Reset tracking button at the bottom of the settings: the same tracking reset as a
    trip through the PS menu, without leaving the app.
  • Floor kept in place after a tracking reset: a reset makes the tracker estimate the
    PS Camera's tilt again, which moved the floor by a few centimetres. The app now compares
    your neck height just before the reset (PS menu or Reset tracking) with the second after
    it and moves the floor by the difference, when you stayed in place (less than 25 cm
    sideways, 12 cm up or down). The Dev logs say "floor: re-anchored" or why not.
  • Worn detection from the headset's proximity sensor for the "confirm your position"
    screen: hmu_mount in the headset information, read a few times per second (checked on
    the console: 0 as soon as the headset is taken off, 1 when it is put on). It is trusted
    once it has said "worn" during the launch; until then the headset moving is still the
    clue. Every change of the headset information is logged in full.
  • Tracking sent to ALVR PS4 Tracking Viewer (the new PC program below): while its
    window is open, the app sends it the headset, PS Moves and DualShock 4 tracking (UDP port
    9955) up to 60 times a second, in the lobby and during a game. Nothing is sent otherwise.

ALVR PS4 Tracking Viewer (new PC program, installed by the setup)

  • A window on the PC showing what the PS4 tracks, live: the headset as a wireframe
    PS VR modelled on the real one (front unit with its silver trim and light shield, rigid
    headband, rear unit, pads) with its nine blue lights where they are; the PS Moves and
    DualShock 4 with their pressed buttons, triggers, sticks and touchpad, as in the lobby;
    the PS Camera; on the lobby's floor grid. Something the camera does not see turns grey,
    the headset's lights included.
  • Free camera: left drag turns around, right drag (or Shift + left drag) moves, the
    wheel zooms, double-click or R resets it.
  • Asks for the PS4's IP address (shown in the lobby) and remembers it; it can also be
    given on the command line. F2 changes it. The title bar says whether the PS4 answers, or
    runs another version.
  • Recording and playback: a bar at the bottom records what the window shows, plays it
    back (play / pause, a slider that goes where you click and follows the mouse, 5 s
    steps) and saves it to a .psvrdata file where you choose; recordings load back with Load, by dropping the file on the window, or from the
    command line, without a PS4. Shortcuts: Ctrl+R record / stop, Space play / pause, L back
    to live, Left / Right 5 s, Home start, Ctrl+O load, Ctrl+S save.
  • Installed by the PC setup in ALVR-PS4_PC-Streamer\ (the .bat carries it; no
    shortcut). One portable .exe, also usable on its own.

PC setup (ALVR-PS4-Setup.bat)

  • Audio cable toggle: an uninstalled cable no longer blocks it. Uninstalling Virtual
    Audio Cable leaves its "Line 1" speaker and microphone in the Windows registry, marked
    disabled; the toggle took them for a cable turned off in Device Manager, asked to enable
    its driver and left ALVR's microphone as it was. They are now ignored when the cable's
    driver device is gone (the setup no longer counts them either). Added to this release's
    ALVR-PS4-Setup.bat after its publication.

Development

  • ALVR PS4 Tracking Viewer lives in companion/, built in WSL with MinGW-w64 by
    tools/build_companion.sh; it compiles in the lobby renderer and the shared wire format
    (client/src/trackview_proto.h). tools/make_release.py embeds it in the setup .bat
    (build it first). tools/test/lobby_preview.cpp has a mode 11 for its headset model.
  • The project is now under the MIT License (LICENSE, with the third-party notices for
    ALVR's foveation math and the icons).
  • New page docs/psvr-technical-reference.md (linked from the README): a detailed
    technical reference of the PS VR headset and the PS4's VR system as this project uses
    them: the headset library, the system dialogs, the VR display mode, the reprojection
    compositor, the camera tracker, the PS Move and DualShock 4, raw HID reads, audio, the
    video decoder, coordinate systems, error codes and open questions.
  • New page docs/ps4-video-decoder.md: the PS4 video decoder in depth (libSceVideodec2's
    API and limits, how the system decoder is built, pipeline depth, bench measurements, the
    hardware decoder question, libSceVideodec v1, colour conversion and paced display).
  • The video decoder page has a diagram (Mermaid) of the whole video pipeline, from the
    camera tracking to the PSVR panel, with the time each stage takes.
  • Documentation review: the README pointed to the v0.10 package and now mentions Calibrate;
    the PC setup page no longer says a late controller stays greyed out (the driver patch
    fixes it) and explains a turned-off audio cable; troubleshooting gained the blinking
    camera, the floor shifting after a tracking reset and the PSVR connection prompt, and its
    stutter hint uses the performance overlay; the development page lists every source file
    and every field of the Dev log line; the protocol page links ALVR's sources instead of a
    local folder and says the client supports foveated encoding.