redroid-doc icon indicating copy to clipboard operation
redroid-doc copied to clipboard

Adjusting redroid_fps after the instance boots

Open gprocunier opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. No.

Describe the solution you'd like I would like to be able to adjust redroid_fps dynamically after the system is booted, however the property appears to be read-only after boot.

Some apps I am working with during load time appear to depend on device FPS for how quickly they load. For example if I start an app with redroid running at 30 or 60 fps, then the app loads very quickly, however if I boot the redroid instance with 15 FPS to reduce resource utilization, the app loads very slowly. This becomes problematic if the app crashes and needs to be restarted as at FPS < 30 the app can take in excess of 3 minutes to load, however with 30 or greater fps, the app appears to load within 30 seconds or less. I do not understand why this is other than the app uses an older Unity Engine and perhaps this some kind of quirk associated with that engine.

Describe alternatives you've considered I have investigated using an android overlay, defining the desired framerates for "performance" mode and "battery-saving", however the minimum fps you can set for "battery-saving" is 30 and lower values cause surfaceflinger crashes.

Additional context Some virtualized emulators (BlueStacks etc) allow for dynamic FPS adjustment or "eco" mode, so I was hoping there was some equivalent with redroid.

gprocunier avatar Sep 20 '25 20:09 gprocunier