New extension: GPU preference#2052
Conversation
|
Thanks since I'm on android I lowk tested it, and it doesn't make a difference using 1 or 2 even after reloading the page |
This is for desktop devices only, running Windows, that have at least 2 GPUs, or 1 GPU with a low power state (1) and a high power state (2). Mobile devices only have integrated graphics, so it won't change the performance at all. |
Not gonna lie but it did make it like 2x faster on my phone! |
It is a coincidence then for sure, GDevelop might have gotten a performance update along the way. My extension contains Windows registry commands only, so it doesn't work on any other platform 😅 |
Description
Set the active GPU to integrated or dedicated, if these are both available, ensuring the highest FPS for you application, using an action.
Here's an example of what you can achieve in terms of performance for your exported projects:
Demo.mp4
How to use the extension
If you want to ensure that a high-power GPU is used, and you have something like an effect-heavy 3D game, you can give players the ability to choose between which of their video cards is used.
For example, the preference "2" can either unlock the full power of a user's integrated graphics card, or use the dedicated one if available.
If you are sure your app runs on high FPS on integrated graphics, use preference "1".
Checklist
Example file
GPU preference example.zip
Extension file
GpuPreference.zip
Extension by @Daveee19
You can update the extension on this "Pull Request" by commenting the update command: in the comment field, type
!update, then drag and drop a zip file with your extension file in the commenting field, like how you initially submitted the extension. It should look like this:It can take a few seconds for the file to fully upload and show as the above. Once it is like shown above, click "Comment" and let the bot do the rest!