xref: /aosp_15_r20/prebuilts/android-emulator/darwin-x86_64/lib/advancedFeaturesCanary.ini (revision d870e0501505f2fc9999364ffe386a6b6151adc1)
1*d870e050SAndroid Build Coastguard Worker#-------------------------------------------------------------------------------
2*d870e050SAndroid Build Coastguard Worker# Advanced emulator features
3*d870e050SAndroid Build Coastguard Worker#-------------------------------------------------------------------------------
4*d870e050SAndroid Build Coastguard Worker
5*d870e050SAndroid Build Coastguard Worker# GLPipeChecksum----------------------------------------------------------------
6*d870e050SAndroid Build Coastguard Worker# For every GL call that transfers between host and guest, GLPipeChecksum = on
7*d870e050SAndroid Build Coastguard Worker# will compute a checksum consisting of some function of the actual bit vector
8*d870e050SAndroid Build Coastguard Worker# corresponding to the GL command, verifying that the same checksum shows up
9*d870e050SAndroid Build Coastguard Worker# on both the host and guest. Violations of the checksum (mismatches) result
10*d870e050SAndroid Build Coastguard Worker# in an abort() and crash report being sent.
11*d870e050SAndroid Build Coastguard Worker#
12*d870e050SAndroid Build Coastguard Worker# Currently, the checksum is mainly making sure that the command itself and all
13*d870e050SAndroid Build Coastguard Worker# arrays passed through the pipe are of proper length.
14*d870e050SAndroid Build Coastguard WorkerGLPipeChecksum = on
15*d870e050SAndroid Build Coastguard Worker# ------------------------------------------------------------------------------
16*d870e050SAndroid Build Coastguard Worker
17*d870e050SAndroid Build Coastguard Worker# GrallocSync-------------------------------------------------------------------
18*d870e050SAndroid Build Coastguard Worker# Most apps that display images do so through OpenGL, but there are some apps
19*d870e050SAndroid Build Coastguard Worker# that write directly to gralloc color buffers. In our goldfish-driver gralloc
20*d870e050SAndroid Build Coastguard Worker# implementation, which represents gralloc color buffers as host OpenGL color
21*d870e050SAndroid Build Coastguard Worker# buffers.
22*d870e050SAndroid Build Coastguard Worker#
23*d870e050SAndroid Build Coastguard Worker# For example, in the camera app, the emulated webcam driver will pull frames
24*d870e050SAndroid Build Coastguard Worker# to a gralloc color buffer directly, and then in another thread or process,
25*d870e050SAndroid Build Coastguard Worker# the color buffer representing the camera frame preview could be posted
26*d870e050SAndroid Build Coastguard Worker# onscreen.
27*d870e050SAndroid Build Coastguard Worker#
28*d870e050SAndroid Build Coastguard Worker# These operations aren't guaranteed to have their order preserved when arriving
29*d870e050SAndroid Build Coastguard Worker# from the guest, and if executed on the host in the wrong order, we could
30*d870e050SAndroid Build Coastguard Worker# end up with out of order webcam frames, for instance.
31*d870e050SAndroid Build Coastguard Worker#
32*d870e050SAndroid Build Coastguard Worker# GrallocSync = on adds synchronization to the host for this use case where apps
33*d870e050SAndroid Build Coastguard Worker# directly write to gralloc color buffers and then post them.
34*d870e050SAndroid Build Coastguard Worker# Gralloc sync disabled for now because it is making CTS sad.
35*d870e050SAndroid Build Coastguard WorkerGrallocSync = off
36*d870e050SAndroid Build Coastguard Worker# ------------------------------------------------------------------------------
37*d870e050SAndroid Build Coastguard Worker
38*d870e050SAndroid Build Coastguard Worker# GLAsyncSwap-------------------------------------------------------------------
39*d870e050SAndroid Build Coastguard Worker# OpenGL apps in the guest present their contents indirectly through
40*d870e050SAndroid Build Coastguard Worker# SurfaceFlinger. The goldfish driver's implementation of eglSwapBuffers is
41*d870e050SAndroid Build Coastguard Worker# based on queuing the finished frame (buffer) to SurfaceFlinger.
42*d870e050SAndroid Build Coastguard Worker# SurfaceFlinger then acquires that finished buffer from the OpenGL app,
43*d870e050SAndroid Build Coastguard Worker# does the actual posting to the display (which may involve a call in turn
44*d870e050SAndroid Build Coastguard Worker# to eglSwapBuffers, esp. if we are not using hardware composer),
45*d870e050SAndroid Build Coastguard Worker# and releases the buffer, allowing the OpenGL app to dequeue a fresh
46*d870e050SAndroid Build Coastguard Worker# buffer for whatever to draw next.
47*d870e050SAndroid Build Coastguard Worker#
48*d870e050SAndroid Build Coastguard Worker# The problem is that when we are using host GPU, the rubber meets the road #
49*d870e050SAndroid Build Coastguard Worker# in the host not the guest (what the user sees is not due to any concrete
50*d870e050SAndroid Build Coastguard Worker# action inside the guest, but due to the host GPU communicating with the host
51*d870e050SAndroid Build Coastguard Worker# display), so it's not always clear what a "finished frame" means. In
52*d870e050SAndroid Build Coastguard Worker# particular, the frame is not necessarily finished when the buffer is queued
53*d870e050SAndroid Build Coastguard Worker# in the guest, depending on host driver quirks. So, posting unfinished or
54*d870e050SAndroid Build Coastguard Worker# even older buffers to SurfaceFlinger will result in out of order frames.
55*d870e050SAndroid Build Coastguard Worker#
56*d870e050SAndroid Build Coastguard Worker# GLAsyncSwap = off pretends this issue doesn't exist and it's up to the host
57*d870e050SAndroid Build Coastguard Worker# driver to properly synchronize upon calling rcFlushWindowColorBuffer.
58*d870e050SAndroid Build Coastguard Worker# GLAsyncSwap = on uses the host GL driver's fence commands and fence fd's in
59*d870e050SAndroid Build Coastguard Worker# the guest in order to have explicit signals of buffer swaps complete. This
60*d870e050SAndroid Build Coastguard Worker# preserves frame ordering at a slight performance cost, but the cost is less
61*d870e050SAndroid Build Coastguard Worker# than that of other solutions like calling glFinish() on the host.
62*d870e050SAndroid Build Coastguard Worker# Disabled by default for now
63*d870e050SAndroid Build Coastguard WorkerGLAsyncSwap = off
64*d870e050SAndroid Build Coastguard Worker# ------------------------------------------------------------------------------
65*d870e050SAndroid Build Coastguard Worker
66*d870e050SAndroid Build Coastguard Worker# EncryptUserData---------------------------------------------------------------
67*d870e050SAndroid Build Coastguard Worker# CTS requires that userdata be encrypted, at least for api23 and later. However
68*d870e050SAndroid Build Coastguard Worker# for non Google images or older system images, this is not required or not
69*d870e050SAndroid Build Coastguard Worker# implemted. Emulator will enable this feature only if the system says it supports
70*d870e050SAndroid Build Coastguard Worker# encryption. It is on by default on the host, and according to the current rule,
71*d870e050SAndroid Build Coastguard Worker# a feature is only on if both host and guest support it; so it effectively leaves
72*d870e050SAndroid Build Coastguard Worker# to guest to decide.
73*d870e050SAndroid Build Coastguard WorkerEncryptUserData = on
74*d870e050SAndroid Build Coastguard Worker# ------------------------------------------------------------------------------
75*d870e050SAndroid Build Coastguard Worker
76*d870e050SAndroid Build Coastguard Worker# RefCountPipe------------------------------------------------------------------
77*d870e050SAndroid Build Coastguard Worker# RefCount Pipe is a different approach to simplify the Color Buffer management
78*d870e050SAndroid Build Coastguard Worker# on host. In guest, the handle returned by gralloc allocator can be passed around
79*d870e050SAndroid Build Coastguard Worker# between processes through Binder. Android system ensures that the handle on both
80*d870e050SAndroid Build Coastguard Worker# calling and receiving end willl be properly closed. Thus, when gralloc allocates
81*d870e050SAndroid Build Coastguard Worker# buffer for the first time, we establish a Refcount pipe between guest and host,
82*d870e050SAndroid Build Coastguard Worker# and assign its fd to the handle. In the desturctor of the handle, close the fd.
83*d870e050SAndroid Build Coastguard Worker# Guest kernel will decide when to really close the fd and thus trigger the pipe's
84*d870e050SAndroid Build Coastguard Worker# closing on host. On the host side, we only need to destroy the color buffer
85*d870e050SAndroid Build Coastguard Worker# immediately and not worry about any reference counting at all. This approach will
86*d870e050SAndroid Build Coastguard Worker# not only simplify the the logic between guest and host, but also reduce memory leaks.
87*d870e050SAndroid Build Coastguard WorkerRefCountPipe = on
88*d870e050SAndroid Build Coastguard Worker# ------------------------------------------------------------------------------
89*d870e050SAndroid Build Coastguard Worker
90*d870e050SAndroid Build Coastguard Worker
91*d870e050SAndroid Build Coastguard Worker# IntelPerformanceMonitoringUnit------------------------------------------------
92*d870e050SAndroid Build Coastguard Worker# Some CTS tests (mainly SimplePerf) require that the CPU expose some kind of
93*d870e050SAndroid Build Coastguard Worker# counters that can be used to measure CPU performance in cycles,
94*d870e050SAndroid Build Coastguard Worker# cache hit/miss, etc.
95*d870e050SAndroid Build Coastguard Worker# However, the use of this on the vCPU requires that the guest kernel be in
96*d870e050SAndroid Build Coastguard Worker# a fairly recent state, otherwise the emulator will kernel panic on startup.
97*d870e050SAndroid Build Coastguard WorkerIntelPerformanceMonitoringUnit = on
98*d870e050SAndroid Build Coastguard Worker# ------------------------------------------------------------------------------
99*d870e050SAndroid Build Coastguard Worker
100*d870e050SAndroid Build Coastguard Worker# GLDMA-------------------------------------------------------------------------
101*d870e050SAndroid Build Coastguard Worker# Video playback can approach 1080p60 and be solid 720p60 if we map guest memory
102*d870e050SAndroid Build Coastguard Worker# to host and use it to perofrm color buffer updates, and perform YV12->RGB
103*d870e050SAndroid Build Coastguard Worker# on the host as well, in an OpenGL shader.
104*d870e050SAndroid Build Coastguard WorkerGLDMA = on
105*d870e050SAndroid Build Coastguard Worker
106*d870e050SAndroid Build Coastguard Worker# Enables DMA support for glMapBufferRange and glUnmapBuffer
107*d870e050SAndroid Build Coastguard WorkerGLDMA2 = on
108*d870e050SAndroid Build Coastguard Worker# Enables direct memory (to the host memory) access in glMapBufferRange
109*d870e050SAndroid Build Coastguard WorkerGLDirectMem = off
110*d870e050SAndroid Build Coastguard Worker# ------------------------------------------------------------------------------
111*d870e050SAndroid Build Coastguard Worker
112*d870e050SAndroid Build Coastguard Worker# GLESDynamicVersion------------------------------------------------------------
113*d870e050SAndroid Build Coastguard Worker# This feature attempts to detect the maximum supported GLES version depending on
114*d870e050SAndroid Build Coastguard Worker# which OpenGL function pointers have been found on the GL libraries used
115*d870e050SAndroid Build Coastguard Worker# on the host system. Different platforms / hardware + video driver setups can
116*d870e050SAndroid Build Coastguard Worker# have different support.
117*d870e050SAndroid Build Coastguard Worker# For example, OS X is not known to support GLES 3.1.
118*d870e050SAndroid Build Coastguard Worker# If this feature is set to "off", the max supported GLES version is assumed to
119*d870e050SAndroid Build Coastguard Worker# be <= 2 and also depend on the system image only (some images only support ES 1).
120*d870e050SAndroid Build Coastguard WorkerGLESDynamicVersion = off
121*d870e050SAndroid Build Coastguard Worker# ------------------------------------------------------------------------------
122*d870e050SAndroid Build Coastguard Worker
123*d870e050SAndroid Build Coastguard Worker# Wifi -------------------------------------------------------------------------
124*d870e050SAndroid Build Coastguard Worker# This feature indicates that the system image and the emulator support Wifi.
125*d870e050SAndroid Build Coastguard Worker# When this is enabled the network configuration of the system image will be
126*d870e050SAndroid Build Coastguard Worker# significantly different and the emulator will send different network setup
127*d870e050SAndroid Build Coastguard Worker# information via RIL.
128*d870e050SAndroid Build Coastguard WorkerWifi = on
129*d870e050SAndroid Build Coastguard Worker
130*d870e050SAndroid Build Coastguard Worker# ForceANGLE--------------------------------------------------------------------
131*d870e050SAndroid Build Coastguard Worker# This feature attempts to default the renderer to ANGLE, but can be itself
132*d870e050SAndroid Build Coastguard Worker# overridden by:
133*d870e050SAndroid Build Coastguard Worker# -gpu command line argument
134*d870e050SAndroid Build Coastguard Worker# UI setting
135*d870e050SAndroid Build Coastguard Worker# The override (and others) are done through the UI, so the user is aware
136*d870e050SAndroid Build Coastguard Worker# and if the user changes to a setting other than "auto", the user setting
137*d870e050SAndroid Build Coastguard Worker# is respected.
138*d870e050SAndroid Build Coastguard WorkerForceANGLE = off
139*d870e050SAndroid Build Coastguard Worker# ------------------------------------------------------------------------------
140*d870e050SAndroid Build Coastguard Worker
141*d870e050SAndroid Build Coastguard Worker# ForceSwiftshader--------------------------------------------------------------
142*d870e050SAndroid Build Coastguard Worker# This feature attempts to default the renderer to Swiftshader. Otherwise,
143*d870e050SAndroid Build Coastguard Worker# same behavior as ForceANGLE.
144*d870e050SAndroid Build Coastguard WorkerForceSwiftshader = off
145*d870e050SAndroid Build Coastguard Worker# ------------------------------------------------------------------------------
146*d870e050SAndroid Build Coastguard Worker
147*d870e050SAndroid Build Coastguard Worker# PlayStoreImage ---------------------------------------------------------------
148*d870e050SAndroid Build Coastguard Worker# The playstore image has CTS requirements that emulator should check and ensure
149*d870e050SAndroid Build Coastguard Worker# Guest image will indicate whether it has it or not;
150*d870e050SAndroid Build Coastguard WorkerPlayStoreImage = on
151*d870e050SAndroid Build Coastguard Worker# ------------------------------------------------------------------------------
152*d870e050SAndroid Build Coastguard Worker
153*d870e050SAndroid Build Coastguard Worker# LogcatPipe ---------------------------------------------------------------
154*d870e050SAndroid Build Coastguard Worker# The pipe based logcat is meant to replace the 'adb shell logcat'
155*d870e050SAndroid Build Coastguard Worker# Guest image will indicate whether it has it or not;
156*d870e050SAndroid Build Coastguard WorkerLogcatPipe = on
157*d870e050SAndroid Build Coastguard Worker# ------------------------------------------------------------------------------
158*d870e050SAndroid Build Coastguard Worker
159*d870e050SAndroid Build Coastguard Worker# Hypervisor feature flags. Assumed mutually exclusive. If all flags are off,
160*d870e050SAndroid Build Coastguard Worker# then we have:
161*d870e050SAndroid Build Coastguard Worker# Mac/Win: HAXM
162*d870e050SAndroid Build Coastguard Worker# Linux: KVM
163*d870e050SAndroid Build Coastguard Worker# If a flag is on, then attempts are made to detect host support, and if there
164*d870e050SAndroid Build Coastguard Worker# is support, then the hypervisor in question is actually used.
165*d870e050SAndroid Build Coastguard WorkerHYPERV = off
166*d870e050SAndroid Build Coastguard WorkerHVF = on
167*d870e050SAndroid Build Coastguard WorkerKVM = off
168*d870e050SAndroid Build Coastguard WorkerHAXM = off
169*d870e050SAndroid Build Coastguard Worker
170*d870e050SAndroid Build Coastguard Worker# FastSnapshotV1 ---------------------------------------------------------------
171*d870e050SAndroid Build Coastguard Worker# Enable the new implementation of snapshotting in the emulator and use it for
172*d870e050SAndroid Build Coastguard Worker# quick boot.
173*d870e050SAndroid Build Coastguard WorkerFastSnapshotV1 = on
174*d870e050SAndroid Build Coastguard Worker# ------------------------------------------------------------------------------
175*d870e050SAndroid Build Coastguard Worker
176*d870e050SAndroid Build Coastguard Worker# ScreenRecording --------------------------------------------------------------
177*d870e050SAndroid Build Coastguard Worker# Enables the host-side screen recording feature.
178*d870e050SAndroid Build Coastguard WorkerScreenRecording = on
179*d870e050SAndroid Build Coastguard Worker# ------------------------------------------------------------------------------
180*d870e050SAndroid Build Coastguard Worker
181*d870e050SAndroid Build Coastguard Worker# VirtualScene -----------------------------------------------------------------
182*d870e050SAndroid Build Coastguard Worker# Enables the host-side virtual scene feature.
183*d870e050SAndroid Build Coastguard WorkerVirtualScene = on
184*d870e050SAndroid Build Coastguard Worker
185*d870e050SAndroid Build Coastguard Worker# VideoPlayback -----------------------------------------------------------------
186*d870e050SAndroid Build Coastguard Worker# Enables the camera video playback feature.
187*d870e050SAndroid Build Coastguard WorkerVideoPlayback = off
188*d870e050SAndroid Build Coastguard Worker
189*d870e050SAndroid Build Coastguard Worker# system as root  --------------------------------------------------------------
190*d870e050SAndroid Build Coastguard Worker# Guest feature: when this is on, emulator should use system partition as root fs
191*d870e050SAndroid Build Coastguard Worker# instead of using ramdisk as root fs.
192*d870e050SAndroid Build Coastguard WorkerSystemAsRoot = on
193*d870e050SAndroid Build Coastguard Worker
194*d870e050SAndroid Build Coastguard Worker# IgnoreHostOpenGLErrors--------------------------------------------------------
195*d870e050SAndroid Build Coastguard Worker# Don't query the host for OpenGL errors. Only use if rendering is OK for you
196*d870e050SAndroid Build Coastguard Worker# already. Should decrease jank in UI by quite a bit.
197*d870e050SAndroid Build Coastguard WorkerIgnoreHostOpenGLErrors = off
198*d870e050SAndroid Build Coastguard Worker
199*d870e050SAndroid Build Coastguard Worker# GenericSnapshotsUI------------------------------------------------------------
200*d870e050SAndroid Build Coastguard Worker# Show the generic snapshots UI.
201*d870e050SAndroid Build Coastguard WorkerGenericSnapshotsUI = on
202*d870e050SAndroid Build Coastguard Worker
203*d870e050SAndroid Build Coastguard Worker# AllowSnapshotMigration--------------------------------------------------------
204*d870e050SAndroid Build Coastguard Worker# Skip snapshot file consistency checks, allowing for snapshot migration.
205*d870e050SAndroid Build Coastguard WorkerAllowSnapshotMigration = off
206*d870e050SAndroid Build Coastguard Worker
207*d870e050SAndroid Build Coastguard Worker# WindowsOnDemandSnapshotLoad---------------------------------------------------
208*d870e050SAndroid Build Coastguard Worker# On-demand snapshot load for Windows.
209*d870e050SAndroid Build Coastguard WorkerWindowsOnDemandSnapshotLoad = on
210*d870e050SAndroid Build Coastguard Worker
211*d870e050SAndroid Build Coastguard Worker# Windows Hypervisor Platform---------------------------------------------------
212*d870e050SAndroid Build Coastguard Worker# Allow WHPX
213*d870e050SAndroid Build Coastguard WorkerWindowsHypervisorPlatform = on
214*d870e050SAndroid Build Coastguard Worker
215*d870e050SAndroid Build Coastguard Worker# Device Tree Blob--------------------------------------------------------------
216*d870e050SAndroid Build Coastguard WorkerKernelDeviceTreeBlobSupport = on
217*d870e050SAndroid Build Coastguard Worker
218*d870e050SAndroid Build Coastguard Worker# Dynamic partition support --------------------------------------------------------------
219*d870e050SAndroid Build Coastguard WorkerDynamicPartition = on
220*d870e050SAndroid Build Coastguard Worker
221*d870e050SAndroid Build Coastguard Worker# Location UI v2----------------------------------------------------------------
222*d870e050SAndroid Build Coastguard WorkerLocationUiV2 = on
223*d870e050SAndroid Build Coastguard Worker
224*d870e050SAndroid Build Coastguard Worker# SnapshotAdb-------------------------------------------------------------------
225*d870e050SAndroid Build Coastguard WorkerSnapshotAdb = off
226*d870e050SAndroid Build Coastguard Worker
227*d870e050SAndroid Build Coastguard Worker# QuickbootFileBacked-----------------------------------------------------------
228*d870e050SAndroid Build Coastguard WorkerQuickbootFileBacked = on
229*d870e050SAndroid Build Coastguard Worker
230*d870e050SAndroid Build Coastguard Worker# HWComposer Host Composition---------------------------------------------------
231*d870e050SAndroid Build Coastguard WorkerHostComposition = on
232*d870e050SAndroid Build Coastguard Worker
233*d870e050SAndroid Build Coastguard Worker# On-demand RAM load for snapshots----------------------------------------------
234*d870e050SAndroid Build Coastguard Worker# Currently disabled due to issues with MemoryWatch and host side
235*d870e050SAndroid Build Coastguard Worker# EFAULT's and recent guest kernels + Linux KVM
236*d870e050SAndroid Build Coastguard WorkerOnDemandSnapshotLoad = off
237*d870e050SAndroid Build Coastguard Worker
238*d870e050SAndroid Build Coastguard Worker# WifiConfigurable--------------------------------------------------------------
239*d870e050SAndroid Build Coastguard WorkerWifiConfigurable = off
240*d870e050SAndroid Build Coastguard Worker
241*d870e050SAndroid Build Coastguard Worker# Vulkan------------------------------------------------------------------------
242*d870e050SAndroid Build Coastguard Worker# If enabled, the guest Vulkan HAL (if installed) will activate.
243*d870e050SAndroid Build Coastguard WorkerVulkan = off
244*d870e050SAndroid Build Coastguard Worker
245*d870e050SAndroid Build Coastguard Worker# CarVHalTable--------------------------------------------------------------
246*d870e050SAndroid Build Coastguard Worker# if enabled, Car Vhal Table will show in extended window -> CarData
247*d870e050SAndroid Build Coastguard WorkerCarVHalTable = on
248*d870e050SAndroid Build Coastguard Worker
249*d870e050SAndroid Build Coastguard Worker# VirtioInput-------------------------------------------------------------------
250*d870e050SAndroid Build Coastguard Worker# VirtioInput is a guest side feature which indicates that CONFIG_VIRTIO_INPUT is
251*d870e050SAndroid Build Coastguard Worker# enabled in kernel. If enabled, emulator will use virtio input device instead of
252*d870e050SAndroid Build Coastguard Worker# goldfish_events to implement multi-touch functionality.
253*d870e050SAndroid Build Coastguard WorkerVirtioInput = on
254*d870e050SAndroid Build Coastguard Worker
255*d870e050SAndroid Build Coastguard Worker# IpDisconnectOnLoad------------------------------------------------------------
256*d870e050SAndroid Build Coastguard Worker# Reset IP connection state when loading from snapshots
257*d870e050SAndroid Build Coastguard WorkerIpDisconnectOnLoad = off
258*d870e050SAndroid Build Coastguard Worker
259*d870e050SAndroid Build Coastguard Worker# VulkanSnapshots---------------------------------------------------------------
260*d870e050SAndroid Build Coastguard Worker# Reset IP connection state when loading from snapshots
261*d870e050SAndroid Build Coastguard WorkerVulkanSnapshots = off
262*d870e050SAndroid Build Coastguard Worker
263*d870e050SAndroid Build Coastguard Worker# MultiDisplay------------------------------------------------------------------
264*d870e050SAndroid Build Coastguard Worker# MultiDisplay is a guest side feature
265*d870e050SAndroid Build Coastguard WorkerMultiDisplay = on
266*d870e050SAndroid Build Coastguard Worker
267*d870e050SAndroid Build Coastguard Worker# VulkanNullOptionalStrings-----------------------------------------------------
268*d870e050SAndroid Build Coastguard Worker# When we want to encode null optional vulkan strings as actual nulls instead of
269*d870e050SAndroid Build Coastguard Worker# empty strings
270*d870e050SAndroid Build Coastguard Worker# Requires guest support.
271*d870e050SAndroid Build Coastguard WorkerVulkanNullOptionalStrings = on
272*d870e050SAndroid Build Coastguard Worker
273*d870e050SAndroid Build Coastguard Worker# DynamicMediaProfile-----------------------------------------------------------
274*d870e050SAndroid Build Coastguard Worker# Enables changing the media_codecs_google_video.xml to link to another file by
275*d870e050SAndroid Build Coastguard Worker# setting a boot property ro.kernel.qemu.mediaprofile.video to the location of the
276*d870e050SAndroid Build Coastguard Worker# configuration file.
277*d870e050SAndroid Build Coastguard WorkerDynamicMediaProfile = off
278*d870e050SAndroid Build Coastguard Worker
279*d870e050SAndroid Build Coastguard Worker# YUV420888toNV21---------------------------------------------------------------
280*d870e050SAndroid Build Coastguard Worker# YUV420888toNV21 is a guest side feature which unifies the pixel format
281*d870e050SAndroid Build Coastguard Worker# HAL_PIXEL_FORMAT_YCbCr_420_888 as NV21 in gralloc and camera HAL
282*d870e050SAndroid Build Coastguard WorkerYUV420888toNV21 = on
283*d870e050SAndroid Build Coastguard Worker
284*d870e050SAndroid Build Coastguard Worker# YUVCache---------------------------------------------------------------
285*d870e050SAndroid Build Coastguard Worker# YUVCache is a guest side feature which asks the host to cache the
286*d870e050SAndroid Build Coastguard Worker# HAL_PIXEL_FORMAT_YCbCr_420_888 and HAL_PIXEL_FORMAT_YV12 frame.
287*d870e050SAndroid Build Coastguard WorkerYUVCache = on
288*d870e050SAndroid Build Coastguard Worker
289*d870e050SAndroid Build Coastguard Worker# KeycodeForwarding-------------------------------------------------------------
290*d870e050SAndroid Build Coastguard Worker# KeycodeForwarding is a guest side feature which emulator host will capture the keypress
291*d870e050SAndroid Build Coastguard Worker# and forward Liunx keycode to Android system.
292*d870e050SAndroid Build Coastguard WorkerKeycodeForwarding = on
293*d870e050SAndroid Build Coastguard Worker
294*d870e050SAndroid Build Coastguard Worker# VulkanIgnoredHandles----------------------------------------------------------
295*d870e050SAndroid Build Coastguard Worker# Change in the Vulkan protocol to ignore handles in some situations
296*d870e050SAndroid Build Coastguard Worker# (VkWriteDescriptorSet, and others)
297*d870e050SAndroid Build Coastguard Worker# Requires guest support
298*d870e050SAndroid Build Coastguard WorkerVulkanIgnoredHandles = on
299*d870e050SAndroid Build Coastguard Worker
300*d870e050SAndroid Build Coastguard Worker# VirtioGpuNext-----------------------------------------------------------------
301*d870e050SAndroid Build Coastguard Worker# Whether virtio-gpu-next is supported. Requires guest support.
302*d870e050SAndroid Build Coastguard WorkerVirtioGpuNext = on
303*d870e050SAndroid Build Coastguard Worker
304*d870e050SAndroid Build Coastguard Worker# Mac80211hwsimUserspaceManaged-------------------------------------------------
305*d870e050SAndroid Build Coastguard Worker# Do not create mac80211_hwsim radios by the kernel on boot, create radios from
306*d870e050SAndroid Build Coastguard Worker# userspace instead.
307*d870e050SAndroid Build Coastguard WorkerMac80211hwsimUserspaceManaged = on
308*d870e050SAndroid Build Coastguard Worker
309*d870e050SAndroid Build Coastguard Worker# HasSharedSlotsHostMemoryAllocator---------------------------------------------
310*d870e050SAndroid Build Coastguard Worker# Host supports AddressSpaceSharedSlotsHostMemoryAllocatorContext
311*d870e050SAndroid Build Coastguard WorkerHasSharedSlotsHostMemoryAllocator = on
312*d870e050SAndroid Build Coastguard Worker
313*d870e050SAndroid Build Coastguard Worker# CarVHalReplay--------------------------------------------------------------
314*d870e050SAndroid Build Coastguard Worker# if enabled, sensor replay will be visible in extended window on Automotive AVDs.
315*d870e050SAndroid Build Coastguard WorkerCarVhalReplay = on
316*d870e050SAndroid Build Coastguard Worker
317*d870e050SAndroid Build Coastguard Worker# HardwareDecoder--------------------------------------------------------------
318*d870e050SAndroid Build Coastguard Worker# if enabled, emulator will add qemu.hwcodec.avcdec=2 and qemu.hwcodec.vpxdec=2
319*d870e050SAndroid Build Coastguard Worker# to the kernel command line to tell guest the two decoders can be enabled
320*d870e050SAndroid Build Coastguard WorkerHardwareDecoder = on
321*d870e050SAndroid Build Coastguard Worker
322*d870e050SAndroid Build Coastguard Worker# NoDelayCloseColorBuffer------------------------------------------------------
323*d870e050SAndroid Build Coastguard Worker# Used in conjunction with RefCountPipe = off, in systems where the guest
324*d870e050SAndroid Build Coastguard Worker# properly associates a color buffer with an OS handle, so we can safely
325*d870e050SAndroid Build Coastguard Worker# clean up the color buffer immediately.
326*d870e050SAndroid Build Coastguard WorkerNoDelayCloseColorBuffer = off
327*d870e050SAndroid Build Coastguard Worker
328*d870e050SAndroid Build Coastguard Worker# NoDeviceFrame----------------------------------------------------------------
329*d870e050SAndroid Build Coastguard Worker# Don't show the device frame, regardless of AVD config or Qt setting.
330*d870e050SAndroid Build Coastguard WorkerNoDeviceFrame = off
331*d870e050SAndroid Build Coastguard Worker
332*d870e050SAndroid Build Coastguard Worker# VirtioGpuNativeSync----------------------------------------------------------
333*d870e050SAndroid Build Coastguard Worker# Use virtio-gpu instead of goldfish sync for syncfd support.
334*d870e050SAndroid Build Coastguard Worker# TODO: test with goldfish
335*d870e050SAndroid Build Coastguard WorkerVirtioGpuNativeSync = off
336*d870e050SAndroid Build Coastguard Worker
337*d870e050SAndroid Build Coastguard Worker# VirtioWifi--------------------------------------------------------------------
338*d870e050SAndroid Build Coastguard Worker# if enabled, emulator will add ro.kernel.qemu.virtiowifi to the kernel command line
339*d870e050SAndroid Build Coastguard Worker# to tell the geust that VirtioWifi kernel driver will be used instead of mac80211_hwsim.
340*d870e050SAndroid Build Coastguard WorkerVirtioWifi = on
341*d870e050SAndroid Build Coastguard Worker
342*d870e050SAndroid Build Coastguard Worker# VulkanShaderFloat16Int8-------------------------------------------------------
343*d870e050SAndroid Build Coastguard Worker# Enables struct defs for VK_KHR_shader_float16_int8.
344*d870e050SAndroid Build Coastguard WorkerVulkanShaderFloat16Int8 = on
345*d870e050SAndroid Build Coastguard Worker
346*d870e050SAndroid Build Coastguard Worker# CarRotary--------------------------------------------------------------
347*d870e050SAndroid Build Coastguard Worker# if enabled, Car rotary controller will be visible in extended window on Automotive AVDs.
348*d870e050SAndroid Build Coastguard WorkerCarRotary = on
349*d870e050SAndroid Build Coastguard Worker
350*d870e050SAndroid Build Coastguard Worker# ModemSimulator--------------------------------------------------------------
351*d870e050SAndroid Build Coastguard Worker# turn on the modem simulator, instead of the legacy modem
352*d870e050SAndroid Build Coastguard WorkerModemSimulator = on
353*d870e050SAndroid Build Coastguard Worker
354*d870e050SAndroid Build Coastguard Worker# TvRemote
355*d870e050SAndroid Build Coastguard Worker# When enabled, the dpad is replaced with a remote specific to Android TV devices.
356*d870e050SAndroid Build Coastguard WorkerTvRemote = on
357*d870e050SAndroid Build Coastguard Worker
358*d870e050SAndroid Build Coastguard Worker# GuestUsesAngle--------------------------------------------------------------
359*d870e050SAndroid Build Coastguard Worker# Whether or not the guest is using ANGLE as its OpenGL driver.
360*d870e050SAndroid Build Coastguard WorkerGuestUsesAngle = off
361*d870e050SAndroid Build Coastguard Worker
362*d870e050SAndroid Build Coastguard Worker# VirtioVsockPipe--------------------------------------------------------------
363*d870e050SAndroid Build Coastguard Worker# The virtio-vsock device is a drop-in replacement for the goldfish_pipe device.
364*d870e050SAndroid Build Coastguard WorkerVirtioVsockPipe = on
365*d870e050SAndroid Build Coastguard Worker
366*d870e050SAndroid Build Coastguard Worker# VirtioMouse------------------------------------------------------------------
367*d870e050SAndroid Build Coastguard Worker# If enabled, the emulator will create mouse input events for guests, otherwise
368*d870e050SAndroid Build Coastguard Worker# it creates multi-touch events.
369*d870e050SAndroid Build Coastguard WorkerVirtioMouse = on
370*d870e050SAndroid Build Coastguard Worker
371*d870e050SAndroid Build Coastguard Worker# VirtconsoleLogcat-------------------------------------------------------------
372*d870e050SAndroid Build Coastguard Worker# If enabled, it replaces LogcatPipe with the forhvc1 chardev consifured to
373*d870e050SAndroid Build Coastguard Worker# stdio or to a file.
374*d870e050SAndroid Build Coastguard WorkerVirtconsoleLogcat = on
375*d870e050SAndroid Build Coastguard Worker
376*d870e050SAndroid Build Coastguard Worker# VulkanQueueSubmitWithCommands-------------------------------------------------
377*d870e050SAndroid Build Coastguard Worker# Use deferred command submission and global sequence number synchronization with Vulkan.
378*d870e050SAndroid Build Coastguard WorkerVulkanQueueSubmitWithCommands = on
379*d870e050SAndroid Build Coastguard Worker
380*d870e050SAndroid Build Coastguard Worker# VulkanBatchedDescriptorSetUpdate----------------------------------------------
381*d870e050SAndroid Build Coastguard Worker# Use batched descriptor set update.
382*d870e050SAndroid Build Coastguard WorkerVulkanQueueSubmitWithCommands = on
383*d870e050SAndroid Build Coastguard Worker
384*d870e050SAndroid Build Coastguard Worker# Minigbm---------------------------------------------------------------
385*d870e050SAndroid Build Coastguard Worker# Minigbm is a guest side feature which use the minigbm for gralloc. It asks the host
386*d870e050SAndroid Build Coastguard Worker# camera to legacy operation
387*d870e050SAndroid Build Coastguard WorkerMinigbm = on
388*d870e050SAndroid Build Coastguard Worker# GnssGrpcV1-------------------------------------------------
389*d870e050SAndroid Build Coastguard Worker# Use grpc based gnss implementation
390*d870e050SAndroid Build Coastguard WorkerGnssGrpcV1 = on
391*d870e050SAndroid Build Coastguard Worker
392*d870e050SAndroid Build Coastguard Worker# AndroidbootProps--------------------------------------------------------------
393*d870e050SAndroid Build Coastguard Worker# AndroidbootProps2-------------------------------------------------------------
394*d870e050SAndroid Build Coastguard Worker# If enabled, the boot userspace properties (e.g. `qemu=1` or
395*d870e050SAndroid Build Coastguard Worker# `qemu.opengles.version=123456`) are passed in the ramdisk instead of
396*d870e050SAndroid Build Coastguard Worker# the kernel command line (which is deprecated for these purposes).
397*d870e050SAndroid Build Coastguard Worker# AndroidbootProps2 does not populate `qemu` and `androidboot.hardware` on the
398*d870e050SAndroid Build Coastguard Worker# host side since they are constants.
399*d870e050SAndroid Build Coastguard WorkerAndroidbootProps = on
400*d870e050SAndroid Build Coastguard WorkerAndroidbootProps2 = on
401*d870e050SAndroid Build Coastguard Worker
402*d870e050SAndroid Build Coastguard Worker# DeviceSkinOverlay-------------------------------------------------------------
403*d870e050SAndroid Build Coastguard Worker# Apply overlay for each enabled devices (pixel devices)
404*d870e050SAndroid Build Coastguard WorkerDeviceSkinOverlay = on
405*d870e050SAndroid Build Coastguard Worker
406*d870e050SAndroid Build Coastguard Worker# DeviceStateOnBoot-------------------------------------------------------------
407*d870e050SAndroid Build Coastguard Worker# If enabled, it will generate device_state_configratio.xml and send to guest.
408*d870e050SAndroid Build Coastguard WorkerDeviceStateOnBoot = on
409*d870e050SAndroid Build Coastguard Worker
410*d870e050SAndroid Build Coastguard Worker# HWCMultiConfigs--------------------------------------------------------------
411*d870e050SAndroid Build Coastguard Worker# If enabled, will config multiple configs in hwcompser HAL
412*d870e050SAndroid Build Coastguard WorkerHWCMultiConfigs = on
413*d870e050SAndroid Build Coastguard Worker
414*d870e050SAndroid Build Coastguard Worker# AsyncComposeSupport ---------------------------------------------------
415*d870e050SAndroid Build Coastguard Worker# If enabled, hwcomposer will be able to use asynchronous render control
416*d870e050SAndroid Build Coastguard Worker# commands to compose and post frame buffers.
417*d870e050SAndroid Build Coastguard WorkerAsyncComposeSupport = off
418*d870e050SAndroid Build Coastguard Worker
419*d870e050SAndroid Build Coastguard Worker# VirtioSndCard-----------------------------------------------------------------
420*d870e050SAndroid Build Coastguard Worker# Enables the virtio-snd audio card and disables the Intel HDA one
421*d870e050SAndroid Build Coastguard WorkerVirtioSndCard = on
422*d870e050SAndroid Build Coastguard Worker
423*d870e050SAndroid Build Coastguard Worker# VirtioTablet-----------------------------------------------------------------
424*d870e050SAndroid Build Coastguard Worker# If enabled, the emulator will create tablet input events for guests, otherwise
425*d870e050SAndroid Build Coastguard Worker# it creates multi-touch events. Cannot be used with VirtioMouse.
426*d870e050SAndroid Build Coastguard WorkerVirtioTablet = on
427*d870e050SAndroid Build Coastguard Worker
428*d870e050SAndroid Build Coastguard Worker# VirtioGpuFenceContexts--------------------------------------------------------
429*d870e050SAndroid Build Coastguard Worker# If enabled, virtio-gpu fence on multiple timelines will be supported.
430*d870e050SAndroid Build Coastguard Worker# Currently this feature doesn't work because the qemu doesn't support this
431*d870e050SAndroid Build Coastguard Worker# feature yet, while crosvm and the gfxstream renderer backend has already
432*d870e050SAndroid Build Coastguard Worker# supported this feature.
433*d870e050SAndroid Build Coastguard WorkerVirtioGpuFenceContexts = off
434