summaryrefstree
path: root/vendor/etc/qvr/cfg/356/1/196608/morpheus3.txt
blob: ef1f360769e840c7e39cd71df64fc7d9c5e08d0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
##############################################################################
# Copyright (c) 2016-2021 Qualcomm Technologies, Inc.
# All Rights Reserved
# Confidential and Proprietary - Qualcomm Technologies, Inc.
##############################################################################

# Configuration parameters for qvr service for Morpheus device.

# Calibration data path
# If device-specific calibration data is present in an alternate location
# (typically one that wouldn't get wiped during a build update), specify
# that path here and the VR service will attempt to load calibration data
# from that path first before loading it from its default location.
#calibration_path =

# External Sensor related configurations
#external_sensor_lib =

# External Camera related configurations
#external_camera_lib =

# EyeTracking Plugin related configurations
plugin_eye_tracking_lib = libqvr_eyetracking_plugin.so

# Controls how/when eye tracking is started/stopped:
#   "default"    : eye tracking mode (enable/disable) must be set prior to
#                  starting VR mode.
#                  if enabled, eye tracking will start when VR mode is started.
#                  if enabled, eye tracking will stop when VR mode is stopped.
#   "standalone" : eye tracking will start when eye tracking mode is enabled.
#                  eye tracking will stop when eye tracking mode is disabled,
#                  or when VR mode stops.
plugin_eye_tracking_operating_mode = default

# Ultrasound Controller Plugin related configurations
#plugin_ultrasound_controller_lib = libqvr_ultrasoundcontroller_plugin.so

# Tracker library
6dof_tracker_lib = libtracker_6dof_skel_8250.so

# Sensor orientation: default is: 1 2 3 (Android Portrait)
# 1 represents x, 2 represents y and 3 represents z
# The 3DOF and 6DOF tracking algorithms require IMU data
# to be in Android Portrait orientation. If the device's
# default orientation is *not* Android Portrait, these values
# are used to convert from device orientation to Android
# Portrait orientation.
# For Android landscape sensor orientation, use 2 -1 3
#sensor_orientation = 2 -1 3
sensor_orientation = 1 2 3

# tracking camera properties
tracking_camera_id                  = 0,2
tracking_camera_sensor              = ov9282_stereo
tracking_camera_driver              = native_pair
tracking_camera_res                 = 2560 800 30 90
tracking_camera_quarter_res         = 1280 400 30 90
tracking_camera_frame_rdi_mode      = true
tracking_camera_frame_rdi_bit_depth = 10
tracking_camera_rdi_frame_format    = raw16
tracking_camera_auto_exposure       = true
tracking_camera_hvx_mode            = false
tracking_camera_hvx_algo            = qvrcam_receiver
tracking_camera_master_only         = false
tracking_camera_control_protected   = true
tracking_camera_privileged_client   = 0
tracking_camera_frame_logging_mode  = disabled
tracking_camera_hvx_sensor          = ov9282
tracking_camera_default_flash_mode  = off
tracking_camera_hvx_stereo_slave_camera_id = -1
tracking_camera_default_resolution_mode  = quarter
tracking_camera_supported_formats        = y8 depth16
tracking_camera_default_frame_format     = y8
tracking_camera_fast_frame_request_mode  = true

# eye camera properties
eye-tracking_camera_id                  = 5,4
eye-tracking_camera_sensor              = ov6211_stereo
eye-tracking_camera_driver              = native_pair
eye-tracking_camera_res                 = 800 400 60 220
eye-tracking_camera_quarter_res         = 400 200 60 220
eye-tracking_camera_frame_rdi_mode      = true
eye-tracking_camera_frame_rdi_bit_depth = 10
eye-tracking_camera_rdi_frame_format    = raw10
eye-tracking_camera_auto_exposure       = false
eye-tracking_camera_hvx_mode            = false
eye-tracking_camera_hvx_algo            = qvrcam_receiver
eye-tracking_camera_master_only         = true
eye-tracking_camera_control_protected   = true
eye-tracking_camera_privileged_client   = 0
eye-tracking_camera_frame_logging_mode  = disabled
eye-tracking_camera_hvx_sensor          = ov6211
eye-tracking_camera_default_flash_mode  = torch
eye-tracking_camera_hvx_stereo_slave_camera_id = -1
eye-tracking_camera_default_resolution_mode  = full
eye-tracking_camera_supported_formats        = y8
eye-tracking_camera_default_frame_format     = y8

# RGB left camera properties
rgb-left_camera_id                      = 3
rgb-left_camera_sensor                  = ov8856
rgb-left_camera_driver                  = native
rgb-left_camera_res                     = 3264 2448 30 30
rgb-left_camera_quarter_res             = 1408 792 90 90 91.8
rgb-left_camera_frame_rdi_mode          = false
rgb-left_camera_frame_rdi_bit_depth     = 10
rgb-left_camera_rdi_frame_format        = raw10
rgb-left_camera_auto_exposure           = true
rgb-left_camera_hvx_mode                = false
rgb-left_camera_hvx_algo                = qvrcam_receiver
rgb-left_camera_master_only             = false
rgb-left_camera_control_protected       = false
rgb-left_camera_privileged_client       = 0
# camera logging (disabled, continuous, oneshot)
rgb-left_camera_frame_logging_mode      = disabled
rgb-left_camera_hvx_sensor              = ov8856
rgb-left_camera_default_flash_mode      = off
rgb-left_camera_enable_yuv_ipe_bypass   = false
rgb-left_camera_hvx_stereo_slave_camera_id = -1
rgb-left_camera_default_resolution_mode    = quarter
rgb-left_camera_supported_formats          = yuv420
rgb-left_camera_default_frame_format       = yuv420
rgb-left_camera_enable_partial_frame_read  = true
rgb-left_camera_timing_quarter_res_buffer_fill_duration_us = 10600
rgb-left_camera_timing_quarter_res_buffer_fill_offset_us   = 200

# RGB right camera properties
rgb-right_camera_id                      = 1
rgb-right_camera_sensor                  = ov8856
rgb-right_camera_driver                  = native
rgb-right_camera_res                     = 3264 2448 30 30
rgb-right_camera_quarter_res             = 1408 792 90 90 91.8
rgb-right_camera_frame_rdi_mode          = false
rgb-right_camera_frame_rdi_bit_depth     = 10
rgb-right_camera_rdi_frame_format        = raw10
rgb-right_camera_auto_exposure           = true
rgb-right_camera_hvx_mode                = false
rgb-right_camera_hvx_algo                = qvrcam_receiver
rgb-right_camera_master_only             = false
rgb-right_camera_control_protected       = false
rgb-right_camera_privileged_client       = 0
# camera logging (disabled, continuous, oneshot)
rgb-right_camera_frame_logging_mode      = disabled
rgb-right_camera_hvx_sensor              = ov8856
rgb-right_camera_default_flash_mode      = off
rgb-right_camera_enable_yuv_ipe_bypass   = false
rgb-right_camera_hvx_stereo_slave_camera_id = -1
rgb-right_camera_default_resolution_mode    = quarter
rgb-right_camera_supported_formats          = yuv420
rgb-right_camera_default_frame_format       = yuv420
rgb-right_camera_enable_partial_frame_read  = true
rgb-right_camera_timing_quarter_res_buffer_fill_duration_us = 10600
rgb-right_camera_timing_quarter_res_buffer_fill_offset_us   = 200

# RGB sync camera properties
rgb_camera_id                      = 3,1
rgb_camera_sensor                  = ov8856_stereo
rgb_camera_driver                  = native_pair
rgb_camera_calibration_name        = rgb-left,rgb-right
rgb_camera_res                     = 6528 2448 30 30
rgb_camera_quarter_res             = 2816 792 90 90 91.8
rgb_camera_frame_rdi_mode          = false
rgb_camera_frame_rdi_bit_depth     = 10
rgb_camera_rdi_frame_format        = raw10
rgb_camera_auto_exposure           = true
rgb_camera_hvx_mode                = false
rgb_camera_hvx_algo                = qvrcam_receiver
rgb_camera_master_only             = false
rgb_camera_control_protected       = false
rgb_camera_privileged_client       = 0
# camera logging (disabled, continuous, oneshot)
rgb_camera_frame_logging_mode      = disabled
rgb_camera_hvx_sensor              = ov8856
rgb_camera_default_flash_mode      = off
rgb_camera_enable_yuv_ipe_bypass   = true
rgb_camera_hvx_stereo_slave_camera_id = -1
rgb_camera_default_resolution_mode    = quarter
rgb_camera_supported_formats          = yuv420
rgb_camera_default_frame_format       = yuv420
rgb_camera_enable_partial_frame_read  = true
rgb_camera_timing_quarter_res_buffer_fill_duration_us = 10600
rgb_camera_timing_quarter_res_buffer_fill_offset_us   = 200

# 6dof pose logging (disabled, continuous, oneshot)
tracking_6dof_pose_logging_mode    = disabled


# the service will expose display interrupts to its clients from
# /dev/graphics/fb[display_id] (default is fb0)
#display_id = 0

# vblank off delay
disp_vblank_off_delay = 20

# QVRService display lineptr interrupt is not supported on SM8150/SDM845
# and later platforms. Set this config to true to handle linePtr interrupt by VSYNC
# interrupt. This config only need to be enable to support apps built with older VR
# SDKs that do not support using vsync callback via svrapi_config.txt.
disp_lineptr_override_to_vsync = false

#force to mag sensor based drift free 3dof
#force_drift_free_3dof = true

#Received mag sensor data should be in the range of Earth's magnetic field magnitude range (0.25 to 0.65 gauss)
#if not, then either mag is not calibrated or indicates presence of external noise
#use (0 0) to disable this checking
mag_validity_range_gauss = 0.25 0.65

# performance: thread_attributes<_optional soc id>
# format -> [thread type]:[cpu performance level]>[sched_policy],[priority],[cpu_affinity];[cpu performance level]>[sched_policy],[priority],[cpu_affinity];
# cpu_affinity is given as bit mask
performance_thread_attributes = render:0>SCHED_FIFO,48,0xFF;1>SCHED_FIFO,48,0xF0;2>SCHED_FIFO,48,0xF0;3>SCHED_FIFO,48,0xF0
performance_thread_attributes = warp:0>SCHED_FIFO,49,0xFF;1>SCHED_FIFO,49,0xF0;2>SCHED_FIFO,49,0xF0;3>SCHED_FIFO,49,0xF0
performance_thread_attributes = controller:0>SCHED_OTHER,0,0xFF;1>SCHED_OTHER,0,0xF;2>SCHED_OTHER,0,0xF0;3>SCHED_OTHER,0,0xF0
performance_thread_attributes = normal:0>SCHED_OTHER,0,0xFF;1>SCHED_OTHER,0,0xF;2>SCHED_OTHER,0,0xF0;3>SCHED_OTHER,0,0xF0
performance_thread_attributes = qvrcamera_realtime:*>SCHED_OTHER,0,0x70

# performance: hints for gpu and cpu levels
# format -> [cpu_level gpu_level]:[hint id in powerhint.xml] [cpu_level gpu_level]:[hint id in powerhint.xml]
# format -> [cpu_level gpu_level] - lower byte for gpu level and next higher byte for cpu_level. Max level 255
performance_perf_hints = 0x0101:0x0000130A 0x0102:0x0000130B 0x0103:0x0000130C
performance_perf_hints = 0x0201:0x0000130D 0x0202:0x0000130E 0x0203:0x0000130F
performance_perf_hints = 0x0301:0x00001310 0x0302:0x00001311 0x0303:0x00001312

# performance thermal rules to be enabled
# format -> [thermal rule name]:[algo type]>[hardware type]
performance_thermal_rules = QVR_Rule_G:monitor>gpu QVR_Rule_C:monitor>cpu

# performance thermal interval in millisecond
performance_thermal_interval_ms = 1000

# performance thermal level in degrees celsius
# format -> [thermal level name]:[temparature in celsius]
performance_thermal_level_cpu = level1:40 level2:50 level3:60 level4:70
performance_thermal_level_gpu = level1:30 level2:40 level3:50 level4:60

# performance: temperature to temperature level mapping
# format -> [hardware type]:[temperature]>[temperature level];[temperature]>[temperature level]
performance_temp_levels = gpu:30000>1;32000>2;34000>3;36000>4 cpu:38000>1;41000>2;42000>3;43000>4

# performance: thermal rule threshold index to mitigation actions mapping
# format -> [thermal rule name]:[threshold index]>[mit_action1,mit_action2];[threshold index]>[mit_action1,mit_action2]
# mit_actions: fpsup & fpsdown -> increase & decrease fps , resup & reddown -> increase & decrease eye buffer resolution
performance_mitigation_actions = QVR_Rule_G:1>fpsdown,resup;2>fpsdown,resdown;3>fpsdown,resup;4>fpsup,resdown;5>fpsdown,resdown;6>fpsdown,resup;7>fpsup,resup QVR_Rule_C:1>fpsdown,resup;2>fpsup,resup

# A hw_transform setting defines a physical transform between two hardware
# components in the Android Portrait coordinate system. The format is as follows:
#   hw_transform = [from] [to] [4x3 float matrix]
# The values of the matrix are in meters and are flattened as follows:
#   R00 R01 R02 T1
#   R10 R11 R12 T2  --> [ R00 R01 R02 T1 R10 R11 R12 T2 R20 R21 R22 T3 ]
#   R20 R21 R22 T3
# Valid values for [from] and [to] are:
#   hmd  = virtual HMD reference point
#   imu  = IMU
#   eyeL = left eye tracking camera
#   eyeR = right eye tracking camera
hw_transform = imu hmd  1.0 0.0 0.0 0.095 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0
hw_transform = imu eyeL 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0
hw_transform = imu eyeR 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0

# Early initialization of the Tracker module
6dof_tracker_early_init = true

# Synchronizer config
# sync_config_eye_pose options: 1=get_eye_pose 2=vsync
# sync_config_tracker options:  1=get_frame    2=vsync
# sync_config_rgb options:      1=get_frame    2=vsync
#sync_config_eye_pose = 1
sync_config_tracker  = 1
sync_config_rgb      = 1

# device mode definitions
#   default:               same as standalone
#   standalone:            all-in-one
#   host_simple:           host for simple viewer
#   host_smart:            host for smartviewer
#   smartviewer_remote:    smartviewer warp-on-host
#   smartviewer_local:     smartviewer warp-on-hmd
device-mode = standalone

# When set to a non-zero value, the service's main thread will run at SCHED_FIFO
# with the specified priority value.
sched_prio = 42

# QVR 3dof Tracker library
qvr_3dof_tracker_lib = libqvr_3dof_tracker_skel.so

# Tracker Helper Prediction - Holt Winter's algo (6dof headset pose prediction)
gyro_alpha = 0.13
gyro_beta = 0.50
gyro_gamma = 0.01
gyro_delta = 0.03
gyro_epsilon = 1.0
gyro_f1 = 1.1
gyro_f2 = 1.1
gyro_f3 = 5.0
translation_alpha = 0.068
translation_beta = 0.059
translation_f1 = 1.021

# 3D Reconstruction
3dr_enabled = false

# Size of the samples stored in the 3D reconstruction in meters.
#   Type: float
#   Suggested Value: 0.01 to 0.1 meter
3dr_config_sample_distance = 0.05

# Size of the samples stored in the 3D reconstruction in meters.
#   Type: float
#   Suggested Value: At least 5 * 3dr_config_sample_distance
3dr_config_integration_distance = 0.25

# Max std error acceptable for a fitted/merged plane in meters.
#   Type: float
#   Suggested Value: 3dr_config_sample_distance * 5
3dr_config_plane_detection_max_std_error = 0.25

# Max angular error acceptable for a merged plane in radians.
#   Type: float
#   Suggested Value: 0.2 radians
3dr_config_plane_detection_max_angle_error = 0.2

# Number of iterations for the plane refinement algorithm.
#   Type: unsigned integer
#   Suggested Value: 5
3dr_config_plane_detection_l1_fitting_iterations = 5

# Alpha value in shape plane contour extraction algorithm. Set to zero for convex hull.
#   Type: float
3dr_config_plane_detection_alpha = 0

# Max angle tolerance to determine whether a plane is horizontal or vertical.
#   Type: float
3dr_config_plane_orientation_max_angle_tolerance = 5.0

# Max valid depth distance in mm.  Values strictly greater than the clipping distance are ignored.
# Recommended values: 5000 for dnn, 2000 for dfs
3dr_config_depth_clipping_distance = 5000

# Source of depth map
#  Valid values:
#      depth : Depth Camera
#      tracking: Tracking camera
#  Type: string
3dr_depth_source = tracking

# Algorithm to create depth.
#  Valid values:
#      dfs: Depth from Stereo
#      dnn: Depth from Neural Network
#  Type: string
#  Note: This value will be ignored if 3dr_depth_source = depth
3dr_depth_mode = dnn

# Preferred 3DR frame rate.  System load/performance may limit frame rate.
3dr_depth_fps = 10

# EVA/CVP 2.0+ dfs: Depth From Stereo
# Depth and CVP output raster rearrange computation for dfs disparity output.
#     true: computation performed on DSP using Halide libraries (faster, low power)
#     false: computation performed on ARM CPU
dfs_disparity_convert_on_dsp = false

# Frequency of the sensors
# IMU(accel and gyro) sensor frequency
sensor_frequency_hz = 1000
# Magnetometer sensor frequency
magnetometer_frequency_hz = 100