summaryrefstree
path: root/vendor/etc/qvr/cfg/339/0/65536/mtp855.txt
blob: fe495e740c8aa98fcd13e18f3499e1cede3cc245 (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
##############################################################################
# Copyright (c) 2016-2020 Qualcomm Technologies, Inc.
# All Rights Reserved
# Confidential and Proprietary - Qualcomm Technologies, Inc.
##############################################################################

# Configuration parameters for qvr service Hana MTP 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 =

# 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

# Tracker library
6dof_tracker_lib = libtracker_6dof_skel_8150.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
tracking_camera_sensor              = v4l_ov7251_stereo
tracking_camera_driver              = v4l2
tracking_camera_res                 = 2560 960
tracking_camera_quarter_res         = 1280 480
tracking_camera_frame_rdi_mode      = false
tracking_camera_frame_rdi_bit_depth = 10
tracking_camera_rdi_frame_format    = raw10
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
# camera logging (disabled, continuous, oneshot)
tracking_camera_frame_logging_mode  = disabled
tracking_camera_hvx_sensor          = v4l_ov7251
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
tracking_camera_default_frame_format     = y8
tracking_camera_gamma_blacklevel_cfg     = 0.5:0

# 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: 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 = false

# 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 = host_simple

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

# 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

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