Skip to content

Driver settings

The environment variables of the PICO 4's Monado driver and its head tracker, with their defaults. The driver reads them from the environment of the process that runs it (monado-service, or SteamVR's driver_monado), not the client's; XR hardware shows how to set them for a test. What each one changes is explained on the XR hardware pages.

Variable Default Effect
PICO4_LOG info driver log level; debug adds latency, tilt and gyro bias every 5000 samples
PICO4_IMU_RATE 1000 head IMU rate requested from the DSP, Hz
PICO4_CALIBRATION_DIR /usr/share/qcom/pico4/calibration factory lens, camera and controller calibration
PICO4_LENS_CA off chromatic aberration correction
XRT_COMPOSITOR_COMPUTE 0 (service) Monado's compute composition path
PICO4_PREDICT_MS 12 hand out the head pose this much (plus the display lead) later than asked for
PICO4_LATENCY_PROBE_MS 0 (off) latency probe for a still headset: periods of this many ms cycle through a 5° yaw step and a reported 30°/s turn
PICO4_SLAM on 6DoF
PICO4_SLAM_BACKEND stock stock: PICO OS's tracker through pico4-slamd; basalt: Monado's Basalt
PICO4_SLAMD_LSC by module id pico4-slamd's lens-shading table in /system/etc/pvr/config; set in the unit's environment
PICO4_SLAMD_DEBUG unset pico4-slamd passes the tracker's debug and verbose log lines to the journal, and libSlam's own informational ones (tag SLAM, its per-frame timing); without it, as on PICO OS, the stock libraries' stdout and stderr go to /dev/null and only their Android log lines reach the journal
PICO4_SLAMD_AE on 0: no PICO OS auto exposure; the driver's own sets the exposure
PICO4_SLAMD_RESTART_S 10 seconds a tracker that lost its confidence stays lost before a restart; 0 off
PICO4_SLAMD_RELOCALISE_S 10 seconds from the first frames without a relocalisation until the session is a new room
PICO4_CAMERA_HZ 50 tracking camera rate: 50 as stock, or 60 (scene frames at 30 Hz instead of 25)
PICO4_TCAM_SLOTS 0,2,1,3 capture slot of factory cameras cam0–cam3
PICO4_CAPTURE_RESTART_TEST_S 0 (off) test: restart the camera capture every N seconds
PICO4_ROOMVIEW_RGB on room view in colour from the IMX471; 0: the grey pair
PICO4_CTRACK on controller tracker
PICO4_CTRACK_TRACE unset CSV file: per hand and update, the last set's acquisition and tracking result and the pose
PICO4_CONTROLLER_AXES_LEFT, _RIGHT x,-z,y controller IMU axes in the aim frame
PICO4_SLAM_CAMS 0,1,2,3 Basalt: factory cameras in tracker order, at least two
PICO4_SLAM_UPRIGHT on Basalt: turn images upside down relative to the first camera's
PICO4_SLAM_DIVISOR 1 Basalt: use every Nth scene set
PICO4_SLAM_IMU_DIVISOR 2 Basalt: use every Nth head IMU sample
PICO4_SLAM_MAX_EXPOSURE 400 Basalt: longest station exposure, sensor lines
PICO4_SLAM_BRIGHTNESS 70 Basalt: mean 8-bit brightness the digital gain aims for
PICO4_SLAM_EXPOSURE_CENTRE on Basalt: frame times at mid-exposure instead of the start of frame
PICO4_SLAM_VIO_CONFIG /usr/share/pico4-basalt/pico4-vio.json Basalt's VIO settings; empty for its defaults
PICO4_SLAM_IMU_NOISE 0.016,0.001,0.0016,0.0001 Basalt: accel noise density, its bias walk, gyro noise density, its bias walk
PICO4_SLAM_CPUS 63 (cores 0–5) Basalt: CPU bit mask (decimal); 0 = no restriction
PICO4_SLAM_DUMP unset Basalt: directory for PGM frames of every 500th set
PICO4_SLAM_RESET_AFTER_S 0 (off) Basalt: reset once this many seconds after the fusion started (tests the runaway path)
PICO4_FUSION on Basalt: the IMU-rate fusion; off: Monado's prediction
PICO4_FUSION_POSITION_MS 150 Basalt: time constant pulling position and velocity to Basalt's
PICO4_FUSION_SMOOTHING_MS 50 Basalt: time over which a correction reaches the output
PICO4_FUSION_CSV unset Basalt: directory for fusion_slam.csv and fusion_pose.csv
SLAM_PREDICTION_TYPE 3 (gyro and acceleration) Basalt without the fusion: 0 none, 1 pose only, 2 gyro, 4 dead reckoning
SLAM_ACCEL_DEADBAND 0.3 Basalt without the fusion: world acceleration (m/s²) the prediction ignores