This commit is contained in:
eric
2026-04-04 16:08:32 -05:00
parent e56629bcc2
commit 9672f63cd9
2 changed files with 31 additions and 5 deletions

View File

@@ -271,6 +271,13 @@ def main():
action="store_true",
help="Print the generated command without executing it",
)
parser.add_argument(
"--soft-display",
action="store_true",
help=(
"Lower software-GLES load: 720x1280, fps=15, dpi=280 (helps black screen / flicker with guest GPU)"
),
)
parser.add_argument(
"--extra-prop",
action="append",
@@ -357,6 +364,15 @@ def main():
cmd.extend(bridge_props(bridge))
cmd.extend(preset_props(preset))
cmd.extend(device_profile_props(device_profile))
if args.soft_display:
cmd.extend(
[
"androidboot.redroid_width=720",
"androidboot.redroid_height=1280",
"androidboot.redroid_fps=15",
"androidboot.redroid_dpi=280",
]
)
cmd.extend(args.extra_prop)
if args.replace and not args.dry_run:
@@ -376,6 +392,8 @@ def main():
print_color("Selected launch preset: {}".format(preset), bcolors.GREEN)
if device_profile != "none":
print_color("Selected device profile: {}".format(device_profile), bcolors.GREEN)
if args.soft_display:
print_color("Soft display: 720x1280 @ 15fps (reduced GLES load)", bcolors.GREEN)
if args.adb_insecure:
print_color(
"ADB insecure: injecting boot props immediately after image name "