CPU/GPU power of mobile device detection

Hi all.

How to detect the power of device, especially of android i guess. Because, on one device the game has 16 FPS so it is slow, but on another it has full FPS…

Is there some intelligent way how to detect the power of CPU or GPU, to use some concrete rendering settings?

I know there is Device ini file, but this file itself cannot detect the power of CPU or GPU…

May be if the engine would have some implemented CPU GPU Benchmark which will state this device is slow, medium, or good (i know these terms can be quite relative, but some distinction should be needed…) - or return some numbers like Antutu or so, and then i will know, ok GPU 5000 points thats this quality etc.

Or how do you manage this problem?

Thanks for reply.

L.

Hello L -

A system like what you are describing is currently implemented, though the system is not reactive in nature but assumes a proactive testing of devices. First is the Device Profiles Settings which are kept in the DefaultDeviceProfiles.ini file.

You can find information about setting it up here:

Setting Up Device Profiles in Unreal Engine | Unreal Engine 5.3 Documentation

You can also make sure to address Material Issues with the Feature Level Switch, information on that can be found here:

Utility Material Expressions in Unreal Engine | Unreal Engine 5.3 Documentation

Again both of these used in tandem can be used to setup a project which will adjust its rendering and performance to a user’s mobile device, but it does require a proactive testing on a device with similar CPU and GPU.

Thank You

Eric Ketchum