termux/termux-x11

[question] can i set the refresh rate above 30hz?

Welpyes opened this issue · 3 comments

yeah i dont know how to do it? is it possible?

Termux:X11 gets refresh rate of screen and uses it, there is no way to override it.

Termux:X11 gets refresh rate of screen and uses it, there is no way to override it.

i have a samsung s9+ and it doesn't seem to be the case. is this a proot-distro issue?
Screenshot_20241029-225706_TermuxX11

That means android reports android does not report assigned display or report 30 FPS.

int framerate = (int) ((lorieView.getDisplay() != null) ? lorieView.getDisplay().getRefreshRate() : 30);

That code gets FPS of system or fallbacks to 30.