Edge2 Android 14: Automatic HDMI resolution with fixed 60 Hz refresh rate Show more lines

Which system do you use? Android, Ubuntu, OOWOW or others?

Android 14

Which version of system do you use? Please provide the version of the system here:

edge2-android-14-v250708.img

Please describe your issue below:

We intend to use the Edge2 in an unattended kiosk installation with a Unity application targeting 30 fps.

Depending on the connected TV, automatic HDMI detection can select a high refresh rate. When this happens, the Android boot animation plays noticeably slower, and the Unity application and video playback perform considerably worse.

With automatic selection, we observed:

Resolution: 2560x1440

Physical refresh rate: 100 Hz

Active render frame rate: 25 fps

Forcing 2560×1440 at 60 Hz fixes the issue:

adb root
adb shell setprop persist.vendor.resolution.HDMI-A-0 "2560x1440p60"
adb reboot

After reboot:

Boot display mode: 2560x1440 at 60 Hz
Active render frame rate: 30 fps

The boot animation then plays at normal speed, HDMI detection is faster, and the Unity application runs significantly better.

However, we cannot hard-code 2560x1440p60 because the kiosk may be connected to TVs with different native resolutions and aspect ratios, including 1920×1080, 2560×1440, 3840×2160, and ultrawide formats.

Is there a supported way to use the display’s native EDID resolution while limiting or preferring the physical HDMI refresh rate to 60 or 59.94 Hz?

Android’s minimum and maximum refresh-rate settings do not change the physical HDMI mode during early boot. An application-side fix would also be too late because the slowdown already affects the Android boot animation.

We found this related topic:

Edge2 Android 14: HDMI display not properly detected during boot

Unfortunately, the test image is no longer downloadable.

Could this change also affect automatic high-refresh-rate selection? If so, could you provide a current download link or an updated Android 14 image containing the change?

Alternatively, is there a property or firmware configuration that automatically selects the display’s native resolution at 60 Hz?

The final system must configure itself automatically because no ADB access will be available after deployment.

Not a Khadas engineer, but one workaround that has worked on other Rockchip Android kiosks is to make the choice once per display instead of hard-coding one mode in the image.

Since your property already works when set before boot, a small early-boot script (an init .rc service in the vendor image, run after the DRM device appears) can read the connector’s mode list from /sys/class/drm/card*-HDMI-A-*/modes and the EDID. The first entry is normally the panel’s preferred (native) resolution. Look for that same resolution at 60 Hz (or 59.94), write it to persist.vendor.resolution.HDMI-A-0 in the same format you used (2560x1440p60), and reboot only if the value changed. The first boot on a new TV pays one extra reboot; every later boot comes up at 60 Hz with the right native size, including the boot animation. Store the EDID checksum next to it so a TV swap triggers the check again.

Two things worth testing before you rely on it: some TVs list their native resolution only at 100/120 Hz and the 60 Hz variant under a slightly different timing, so match on width and height and accept 59.94 or 60. Ultrawide sets sometimes report a 60 Hz mode that is not their native aspect ratio, so log what was picked so you can see it in the field.

A cleaner fix would be a refresh-rate ceiling in the HDMI mode selection itself, where the auto mode skips anything above 60 Hz. That is a kernel or vendor HAL change, so it is worth asking Khadas whether the Edge2 Android build already has such a setting or whether they would accept it.