English | 简体中文
| Connection Mode | Feature | Status |
|---|---|---|
| WiFi | Desktop Streaming | ✅ Working |
| WiFi | Virtual Displays | ✅ Working |
| WiFi | Keyboard & Mouse Sharing (PCH) | ✅ Working |
| WiFi | VR Streaming & Hand Tracking | ✅ Working |
| WiFi | Built-in VRCFT Protocol (Face & Eye Tracking) | ✅ Working |
| USB | USB Mode Features | 🚧 WIP |
| DP-VR | DisplayPort Direct Mode (5176×2804@90Hz) |
🚧 WIP |
An open-source Linux (NixOS-friendly) reimplementation of PICO Connect v20.6.7.8, primarily built and adapted for PICO Space Pro on Linux (while remaining compatible with other PICO headsets using the PICO Connect protocol). It provides the full streaming server protocol, DisplayPort 1.4 + DSC lossless DP-VR Direct Mode (5176×2804@90Hz via Wayland DRM Lease / Vulkan VK_KHR_display), native SteamVR Linux Direct-Mode capture driver (with dynamic 6xxx+ SSAA support), seamless controller ↔ 31-bone hand tracking switching, built-in VRCFaceTracking (VRCFT) Unified Expressions v2 engine, native Wayland/KDE seamless mouse/keyboard crossing (PCH) & virtual displays, and a bilingual (Zh/En) eframe/egui control panel.
Based on protocol & shader analysis of the official PICOConnect-v20.6.7.8 desktop clients, covering:
- Multiplexed Transport: TCP + pure-Rust (
nusb) USB Bulk (all 30 PICO VID/PID pairs), 10-byte packet framing ([0x4A, 0xA4]+ CRC16), priority control/video queues, Linux DSCP AF41 QoS (IP_TOS/SO_PRIORITY) & TCP keepalive,TCP_INFOcongestion detection + stale video queue purging (DropQueuedMediaData) & IDR keyframe resync, and 17-bytePRC15-second transparent TCP reconnect - LAN Discovery: UDP broadcast (
61375/61537/61735, keyPicoStreamingServiceDiscoveryBroadcast000) + mDNS (_picoxrss2._tcp.local.) - Complete RPC Stack: All 26
.protodefinitions compiled viaprost, handling Channel 0 (StreamingServer), Switch channel (PICOConnect/EventServer), KeepAlive, and NTP-styleClockSync - Lossless DP-VR Direct Mode (DisplayPort 1.4 + DSC) (experimental — implemented from official protocol/DXBC shaders, awaiting live hardware verification):
- Zero video encoding over USB/LAN (
video_streams = [], pinned 90 Hz, ASW suppressed); USB 2.0 (480 Mbps) carries 6DoF/eye/hand/face tracking & audio (<10 Mbps), leaving all 4 high-speed Type-C lanes for DP 1.4 HBR3 + DSC - Zero-dependency Wayland
wp_drm_lease_v1(multi-GPU / KDE Plasma 6 KWin) +VK_EXT_acquire_drm_displayandVK_KHR_displayfallback; auto-detects PICO EDID (PIR/0x3241) or5176×2804mode (PICO_DP_CONNECTORoverride supported) - Official 3 DP clarity tiers: Mode 1
2800×2588(1:1 linear), Mode 24200×3882(fixed-foveated AADT), Mode 35600×5176(eye-tracked dynamic ET-AADT), with 4-way eye rotation calibration and Linear→sRGB OETF - Bit-exact 4-row 457-bit per-eye in-frame metadata shader (
0xAAsync preamble +frame_index / fov[4] / orientation[4] / position[3] / gaze[2]+ odd parity) encoded into rows0and2803of the5176×2804DP frame
- Zero video encoding over USB/LAN (
- Streaming Quality Alignment (v20.6.7.8):
- Codecs: H.264 / AVC (up to 1000 Mbps, automatic 4096-max encode guard), H.265 / HEVC (up to 600 Mbps, optional 10-bit), and AV1 (up to 600 Mbps)
- Hardware encoders: NVIDIA NVENC, VA-API, and automatic CPU software fallback (
libx264/libx265/libsvtav1) - 8 official VR per-eye resolution presets (
Smooth 1728²→Legend+ 5184², plus DP Max5600×5176and custom up to8192×8192), live hot-apply SSW / ASW frame interpolation, Super Resolution, Sharpening, Gamma, Color Mode, Auto Bitrate, Frame Buffer, and Performance Panel
- Desktop Streaming, Virtual Displays & Seamless PCH:
- Multi-monitor detection & bidirectional layout synchronization (
kscreen-doctoron KDE Wayland /xrandron X11) - Native KDE Plasma 6 Wayland Virtual Displays via
org.freedesktop.portal.ScreenCast(SourceType::Virtual), piped directly into the unified PipeWire → NVENC/VA-API encoder - Native Wayland/KDE Edge-Crossing Mouse & Keyboard Sharing (PCH) via
org.freedesktop.portal.InputCapturev2 +reis(EIS) — slide your physical mouse off the monitor edge directly into the PICO headset (slide back or pressCtrl+Alt+Escto return) /dev/uinputvirtual input injection + PipeWire 48 kHz bidirectional audio (isolated virtualPICO_Headset_Micsink to prevent acoustic feedback)
- Multi-monitor detection & bidirectional layout synchronization (
- SteamVR Linux Native Direct-Mode Driver (
steamvr-driver/driver_pico_linux.so):- Uses OpenVR 2.x Linux Direct-Mode APIs (
IVRDriverDirectModeComponent_009+IVRIPCResourceManagerClient_003+VK_KHR_external_memory_fd+VkMemoryDedicatedAllocateInfo) with dynamic per-eye render resolution, 256 MiB SHM + GPUvkCmdBlitImagedownscale for 6xxx+ SteamVR supersampling, HDR (R16G16B16A16_SFLOAT), UV bounds, and SBS textures - Zero global Vulkan layer injection required — works seamlessly across NixOS Steam
bwrap/uu-netnssandboxes and NVIDIA RTX GPUs (legacylibpico_vulkan_layer.soalso included as an optional fallback) - Streams 6DoF HMD + dual controller poses, inputs, FOV/IPD/refresh rate to
vrserver, and forwards haptics (ControllerVibrationEvent) back to the headset - Full Hand Tracking Passthrough & Seamless Switching (PICO Space Pro Ready): decodes all 26 OpenXR hand joints (
HandJointLocationsEvent) into SteamVR 31-bone Skeletal Input (/input/skeleton/left&/input/skeleton/right, verified against Valve'svr_glove_*_model_slim.glbbone basis), with automatic controller stale-pose expiry for seamless controller ↔ bare-hand switching (aim-ray 6DoF pose, index pinch → Trigger, grasp/middle pinch → Grip, ring pinch → A/X, little pinch → Menu/Dashboard)
- Uses OpenVR 2.x Linux Direct-Mode APIs (
- Built-in VRCFaceTracking (VRCFT) + Eye Tracking:
- Controls PICO headset face tracking (Mode 1: 52 IR face / Mode 2: 20 audio lips / Mode 3: 72 hybrid / Mode 4: visemes), eye tracking (with 2D gaze foveation metadata), and hand tracking
- VRCFT Standalone Mode (default): directly replaces external VRCFaceTracking by emitting complete Unified Expressions v2 (
/avatar/parameters/FT/v2/...) + native VRChat eye tracking (/tracking/eye/...) + OSCQuery HTTP/mDNS (_oscjson._tcp.local.) discovery - Also supports External VRCFT PICO UDP Bridge (
127.0.0.1:29763) and Dual output modes
- Bilingual Control Panel (
pico-connect-gui): Dark-themedeframe/eguiGUI with live English / Chinese UI switching and English runtime/tracing logs
No!
The LAN and USB connection handshake (ConnectPeerService → ApplyConnectPermissionRequest → ConnectToExternalDeviceRequest) runs completely locally without cloud authentication tokens.
Note: Keep "Private Access (same account only)" disabled in the headset's PICO Connect settings so it can discover and connect to your Linux host without logging in.
cd ~/Projects/pico-connect-linux
nix-shell -p gcc openvr vulkan-headers --run "./steamvr-driver/build.sh"Build outputs:
steamvr-driver/build/driver_pico_linux.so(primary OpenVR Direct-Mode driver)steamvr-driver/build/libpico_vulkan_layer.so(optional legacy fallback Vulkan layer)
nix develop -c cargo run --release --bin pico-connect-guiOpen the SteamVR & Logs tab and click "Install & Register SteamVR Driver (Direct Mode)":
- Installs the driver into
~/.local/share/pico-connect-linux/driver/ - Safely appends to
~/.config/openvr/openvrpaths.vrpath(preserves existing external drivers and creates an automatic.pico-backup) - Open PICO Connect on your headset and select your Linux host for Desktop or SteamVR streaming
# Install and register the SteamVR Direct-Mode driver
./target/release/pico-connect-linux --install-steamvr
# Start streaming server (face tracking Mode 3 + eye tracking + built-in VRCFT OSC 127.0.0.1:9000)
./target/release/pico-connect-linux \
--name "My-NixOS-PC" \
--codec h265 \
--encoder nvenc \
--vr-width 2592 --vr-height 2592 --vr-fps 90 --vr-bitrate 150000
# Or start in lossless DP-VR Direct Mode (5176x2804@90Hz via Wayland DRM Lease / Vulkan; DP 1.4+DSC + USB)
./target/release/pico-connect-linux --dpvr --dpvr-clarity 3 --dpvr-rotation 0
# Unregister SteamVR driver
./target/release/pico-connect-linux --unregister-steamvrcargo testpico-connect-linux/
├── flake.nix # Nix devShell (Rust, protoc, gcc, openvr, vulkan, Wayland/X11, CJK fonts)
├── proto/ # 26 protocol .proto definitions (PICO Connect v20.6.7.8)
├── steamvr-driver/
│ ├── driver_pico_linux.cpp # OpenVR driver + Linux Direct Mode (IVRDriverDirectModeComponent_009)
│ ├── dp_direct_output.h # Wayland wp_drm_lease_v1 + Vulkan VK_KHR_display DP-VR output pipeline
│ ├── dp_shaders_spv.h # Compiled SPIR-V shaders (AADT/ET-AADT pack + 457-bit metadata)
│ ├── shaders/ # GLSL sources (dp_fullscreen.vert, dp_pack.frag, dp_metadata.frag)
│ ├── vk_capture_layer.cpp # Optional legacy Vulkan Implicit Layer fallback
│ └── build.sh # Driver build script
├── src/
│ ├── bin/gui.rs # pico-connect-gui (bilingual Zh/En eframe/egui control panel)
│ ├── main.rs # pico-connect-linux CLI
│ ├── runtime.rs # Shared CLI/GUI server runtime controller
│ ├── session.rs # Full protocol state machine (Desktop/VR/Face/Eye/PCH/Haptics)
│ ├── transport/ # TCP & USB Bulk multiplexed transport
│ ├── discovery/ # UDP broadcast & mDNS peer discovery
│ ├── rpc/ # Wire RPC codec
│ ├── media/ # Dynamic/DynamicExtension framing, NVENC/VA-API/SW encoder, PipeWire audio
│ ├── desktop/ # Display detection/sync, PipeWire/X11 capture, virtual display, Wayland PCH, uinput
│ └── vr/ # SteamVR bridge, SHM stereo reader, built-in VRCFT UE v2 + OSCQuery
└── tests/protocol_e2e.rs # End-to-end Desktop + VR + Face/Eye/PCH protocol test
This project is licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later) — see LICENSE and NOTICE for details.
Disclaimer: This project is NOT an official PICO application and is NOT affiliated with, endorsed, authorized, or supported by PICO. It is provided solely as an independent alternative for Linux desktop environments. All PICO software, hardware, trademarks, and related products belong exclusively to their respective official PICO entities. This software is provided "AS IS", without warranty of any kind.