vr.conf - Carbonian's VR runtime
One key value per line; # starts a comment.
/etc/carbonian/vr.conf is read first, then ~/.config/carbonian/vr.conf,
whose lines win. carbonian-vr(1) reads them when it starts the
runtime.
When:
- start manual
- manual: the runtime starts with carbonian-vr start.
plug: also when a headset is plugged in.
What:
- program
monado-service
- The XR runtime: an OpenXR runtime that takes the headset through
wp-drm-lease-v1 (the compositor never makes it a screen).
- idle_tracking
5Hz
- While no VR app runs, the headset's cameras still give the tracker this
many frames a second (and its motion sensors keep going), so an app starts
with the headset already tracked; about a tenth of a CPU core. off:
they rest, and the first app after a long rest waits a few seconds for the
headset to be found. Read when the runtime starts (carbonian-vr
stop, then start).
- lens_scale
1
- The headset's lens model scaled (the Rift CV1's: metres on its panel a
unit of the tangent of the angle). Under 1 the field of view is wider and
the world looks smaller and farther; over 1, bigger and nearer. For a
world that does not look its size (the floor too near). Read when the
runtime starts.
- ipd slider
- The distance between the eyes the headset is drawn for. slider:
what the headset reads from its own IPD slider (on the Rift CV1 that
reading is a guess); a distance (63mm): that, whatever the slider
says. The world's scale depends on it: too small, everything looks big and
the floor near; too big, a model of a world. Read when the runtime
starts.
- gaze mouse
- The gaze VR apps see (XR_EXT_eye_gaze_interaction), for apps that point
with it. mouse: a direction around the head that the mouse turns,
from where the head is, while a VR app has the focus (carbonian-shell
sends it the mouse's motion, and its clicks do not reach the desktop
then); carbonian-ctl vr home recenter aims it ahead again.
head: the head's own forward, for tests. off: no gaze. Read
when the runtime starts, and by carbonian-shell when a session
starts.
How it looks:
- eye_height
135cm
- The head's height over the floor, seated (cm or m): the VR
home and the VR lab put their floor this far under the head when they
start and on each recenter, wherever the runtime's own floor is.
- mode hybrid
- The VR home (carbonian-ctl vr home on). hybrid: the screens
stay as they are, the mouse is the home's pointer or the desktop's
(Super+Esc, carbonian-ctl vr home mouse); the status bar shows VR,
bright while the mouse is in VR. exclusive: every screen says
"look in the headset" (drawn twice a second), the mouse and the
keyboard are all VR's; Super+Esc gives the screen back for the moment.
auto: exclusive while the headset is worn (its presence sensor),
hybrid when it is lifted off. carbonian-ctl vr home mode changes it
for the session.
- mouse_start
desktop
- In hybrid, where the mouse is when the home opens: desktop (the
screens'; Super+Esc, or carbonian-ctl vr home mouse on, takes it
into VR; a headset may not be on the head, as with a phone in a holder) or
vr (the home's pointer from the first moment). Read when the home
starts.
- desktop_rate
10Hz
- While a VR session runs, the desktop (out of sight in the headset) is
drawn, and its apps are let draw, this often. full: unchanged.
carbonian-shell reads it when a session starts (the runtime tells it with
carbonian-ctl vr on).
/etc/carbonian/vr.conf
~/.config/carbonian/vr.conf