Onboarding and Overpressure Settings¶
TL;DR. From an empty data partition, a first-run setup panel replaces the Steam client's own setup: welcome, language, time zone, Wi-Fi, controllers and lens distance, once, before the first sign-in. Afterwards Overpressure Settings, a tab in SteamVR's dashboard, sets the lens distance and pairs controllers. Both are part of Valve's VR session (session.md).
What a new owner meets¶
What a new owner meets, from an empty data partition:
| Part | Covers | Here |
|---|---|---|
| Steam's OOBE (the client) | welcome, language, time zone, network, update, sign-in; stage 2: Steam Controller, underscan, audio | does not run: only on Valve's factory image |
| First-run setup | welcome, language, time zone, Wi-Fi, controllers, lens distance | before the first sign-in, once |
| The Frame's guided tour | pairing, health, playspace, laser mouse, system button, PC pairing | does not run (device type 541) |
| SteamVR | playspace setup for a new room (head-tracking.md) | when a game starts in a new room, or from Space Setup |
| Overpressure Settings | the lens distance, the controllers' pairing | SteamVR's dashboard; the controllers' page in front when none is connected |
The setup is pico4-onboarding
(pico4-onboarding.service, part of
steamvr.service), SteamVR's scene application: a panel 1.3 m in front of the wearer, level, over other
overlays. It comes back in front when the headset is put on and a second after it left the view (more
than 30 degrees aside, or 0.3 m above or below the eyes); while looked at it stays. Once the setup is
done, or someone signed in (CompletedOOBE in ~/.steam/registry.vdf), it exits at once.
- Controllers. With no controller connected 20 s after the start, the station listens for one controller after the other, 60 s each, through the driver's pairing socket (controllers.md), while the panel says what to press (trigger and PICO button together for about 6 s, PICO OS's instruction). With one controller connected, its laser pairs the other from the panel's Pair button. After the setup, Overpressure Settings does the same.
- Not covered: the Frame tour's PC pairing; Steam Link is in the menu (Steam Link).
First-run setup¶
Before the first sign-in the panel replaces the client's own setup. The client unpacks itself first (the
panel shows its texts and fonts), then waits in
wait-first-run (ExecStartPre of
steam.service) until the setup is finished or skipped, someone signed in before, or the panel's service
failed for good. Until then gamescope-session.target stays in its start job, and the checks
(pico4-userspace-check, pico4-valve-session-check) take SteamVR, gamescope and the setup's panel for
the session (wait-first-run --pending). During the setup:
- Scene application. It submits a frame to both eyes at every SteamVR frame, an even dark room, which the room view covers.
- No wait for Steam.
/settings/dashboard/expectSteamis off; with it on, the system UI shows a spinner until Steam's UI is up and after 120 s the error whose only button restarts the headset. - Dashboard closed. The system UI opens its dashboard at start, over the panel; the setup closes it
as the system button does (
hide_dashboard_requestedto the mailboxvrwebui_dashboard). The system button still opens it. - Keyboard started. SteamVR's keyboard starts on the first message to the mailbox
keyboard_vrwebui/main, which the system UI sends only while its dashboard is fully visible; without it "Rejecting ShowKeyboard call because no keyboard implementation exists". The setup sends that message itself. At its first showing the keyboard loads its layout and passes no key ("render layout==null"), so the setup shows it once, 2 s after starting it, for 2 s. SteamVR's English layout (layout_english_overlay.json) has no underscore on any of its three planes: its shift plane repeats the number row and its symbols plane has two tildes, so an underscore can be typed nowhere the keyboard is shown. The image build puts the underscore in the second tilde's place (build-userspace.sh); a layout of Valve's that has an underscore stays as it is. - Room view on (the compositor's
set_camera_roomview_enabled, room-view.md); the dark room shows only while the cameras have no image. The system UI sets the room view as it starts, so the setup waits for its overlay (system.systemui) and 5 s more for its mailboxes.
SteamVR refuses most settings and messages from a scene application, so a short background application,
pico4-steamvr-switch, throws these switches. Messages go through
vrclient's IVRMailbox_002: its open takes a third string after the name and the handle, which must be
nullptr; any other value crashes the caller. A settings file written before SteamVR starts does not
work: on a first start SteamVR writes its own copy back. Steam's own path property /steam/oobe is not
used: without the client the dashboard's contents it pins are SteamVR's own bar. When the setup ends the
room view goes off, expectSteam on, the setup leaves its mark and exits, and the client starts.
The client's own words come from its files at runtime (localization files and language-screen module in
~/.local/share/Steam/steamui): its welcome, language and zone names, the network page's texts and the
buttons. The panel's other texts are pico4-onboarding.strings, in
all 31 of the client's languages; English is the reference, the others are machine-assisted translations
awaiting a native speaker's review. Pango lays them out in the image's Noto fonts, which cover the scripts
of all 31 languages: Chinese, Japanese and Korean through noto-fonts-cjk. overpressure-base's fontconfig rules
give each language its own face, as PICO OS does: the SC, TC, JP or KR face for the text's language, Naskh
for Arabic, and the SC face and Naskh for CJK and Arabic text in another language's page.
| The client's page | Here |
|---|---|
| Welcome | the client's welcome, the controllers' state; Skip leaves the setup for good |
| Language | the client's 31 languages by their own names; a choice sets the client's language in registry.vdf (steam-language; a running client restarts, as its own setting does) and the panel's |
| Time zone | the client's 62 zones with its names and cities, set through steamos-set-timezone |
| Network | Wi-Fi networks (nmcli), strongest first; Wi-Fi turned on if off. A password page as in the client's settings: a field, a show switch, and SteamVR's keyboard in minimal mode, which sends each key to the panel and keeps no text. The password goes to nmcli --ask on its input only. A hidden network's name comes first on the same kind of page. The attempt shows a spinner, then a tick, or a cross with the reason and the password page again; a refused password's profile is deleted. Proxy and captive portals are in the client's settings |
| Update | none: the system is updated from the installer on a computer; the client updates itself at every start |
| Screen reader | none on the panel, which draws its pages itself; the client's own screen reader is as on the Frame: Orca (orca.service, started by steamos-manager when the client's setting turns it on), speaking through speech-dispatcher with espeak-ng |
| Stage 2: Steam Controller | none: no Valve radio; a Steam Controller pairs over Bluetooth in the client's settings |
| Stage 2: controller pairing | the PICO 4's controllers, as above |
| Stage 2: underscan | none: no television |
| Stage 2: audio | none: the headset's speakers; other devices in the client's settings |
| (none) | the lens distance, 58 to 72 mm in 0.5 mm steps, through pico4-lens; closer than 62 mm once the box of the warning about the nose is ticked, as on PICO OS (lenses.md) |
Done on the last page, or Skip on the first, writes ~/.local/share/pico4/setup-done and the client
starts.
The pages' logic, zones, languages and the readers of the client's files and nmcli's output are in
pico4_setup.h, pico4_onboarding.h and
pico4_pairing.h, tested on the host.
pico4-onboarding --render DIR [LANGUAGE] draws every page as PNG without SteamVR.
| Check | Result |
|---|---|
| Worn, after an install with both controllers off | the panel listened for the left controller hands-free; the right one connected when switched on and its laser paired the left |
| Worn, on an installed system: room view, keyboard, Wi-Fi | the room view shows behind the panel; the password field opens the keyboard; after a refused password the retry joins |
| The setup's pages worn, from an empty data partition | open |
Overpressure Settings¶
Overpressure Settings (overpressure-settings,
overpressure-settings.service, part of steamvr.service) is
a tab in SteamVR's dashboard for what the PICO 4 cannot do the Frame's way, laid out like SteamVR's own
settings: a menu on the left, the chosen page on the right, in the client's language with the texts of
pico4-onboarding.strings.
| Page | Why | What |
|---|---|---|
| Lens distance | the lenses have no wheel, and SteamVR shows the IPD but has no control that sets it | a slider, ±0.5 mm buttons and four presets, 58 to 72 mm; closer than 62 mm after PICO OS's warning (lenses.md) |
| Controllers | SteamVR cannot pair the PICO 4's controllers | each one's state, and Pair for a missing one through the driver's pairing socket (controllers.md) |
With no controller connected 20 s after the start, and the first-run setup over (it pairs itself), the
Controllers page comes up 1.3 m in front of the wearer as the setup's panel does, and the station
listens hands-free for one controller after the other, 60 s each. With one connected, its laser pairs
the other or closes the panel; with both connected the panel goes after 3 s. The layout and decisions
are in pico4_settings.h, tested on the host;
overpressure-settings --render DIR [LANGUAGE] draws the pages as PNG without SteamVR.
| Check | Result |
|---|---|
| The pages rendered in English and German | as designed; GCC builds it without warnings |
| Worn: the dashboard's tabs | Overpressure Settings is the only one of the project's |
| Worn: lens distance | the slider and ±0.5 mm move the lenses; a held preset stores the distance, a pressed one moves to it |
| Worn: both controllers switched off, then on | the Controllers page came up in front within seconds; both reconnected and it went |