PojavLauncher icon indicating copy to clipboard operation
PojavLauncher copied to clipboard

How to get the most FPS out of your device

Open GaucovyAero opened this issue 11 months ago • 26 comments

LTW has gone into testing about a month ago, here are some new FPS boost tips I can give you: (LTW actions link: https://github.com/PojavLauncherTeam/PojavLauncher/actions/runs/12079825845)

  • Renderer speed comparison (on my Poco F3): -> OptiFine on GL4ES: 1000fps (1.21.4) -> Sodium Nightly on LTW = 1150fps (1.21.4) -- stable versions of Sodium only run at 850fps for me (for some people OptiFine on GL4ES might be faster than Sodium Nightly on LTW) -> ~~VulkanMod = 1700fps (1.21.4)~~

  • VulkanMod doesn't work on any device out of the box, it currently only works on: - Adreno 6xx GPUs + manually installed Turnip - Adreno 7xx GPUs (works both with system Vulkan driver and manually installed Turnip) - you also need Vulkan Android Libraries - and you have to create a custom build of Pojav with JNA 7.0.x (if you want VulkanMod for 1.21+) Please don't ask about VulkanMod on the Pojav Discord (nor here) if you don't know what you are doing (it's most likely gonna be a waste of time)

  • RAM Allocation is important, lower might be faster for you which allocation number is the fastest changes based on what phone you use, what mc version, mods, etc. (this means you gotta test it yourself on your device)

  • In terms of video settings, in Sodium, you don't have to change anything, but in OptiFine, you can get a huge FPS boost.

  • Recommended OptiFine settings for most performance are (Video Settings -> Performance): ON: Fast Render, Fast Math, Smart Animations, Lazy Chunk Loading Chunk Updates: 1 Chunk Builder: Threaded everything else OFF (try changing the dynamic updates option if you get frequent lag spikes)

  • The resolution scaler helps a lot, if you have a 2400x1080 screen like I do, I suggest using 100%, 50% or 25%

  • Alternate surface rendering OFF for most FPS (put it ON if you want less heat, also if you want less heat, lock your fps to 60 or lower)

Misc stuff:

if you use Forge, you might get a lot less fps (fabric and quilt dont slow the game down nearly as much as forge)

If you use the OptiFine profile, some JVM arguments are added by default, that might also help you (^ this does not mean that all JVM arguments make the fps increase, you might have to change the RAM allocation to something higher or lower if you use JVM arguments)

-XX:ActiveProcessorCount=8 might also help if your SoC cores are not detected properly in Minecraft (if Minecraft is reporting CPU as 5x null or 9x null)

GaucovyAero avatar Dec 31 '24 14:12 GaucovyAero

I want to know your tips here

GaucovyAero avatar Dec 31 '24 14:12 GaucovyAero

Hi, where did you get the app? I want to try it

Kgdjj avatar Dec 31 '24 19:12 Kgdjj

Hi, where did you get the app? I want to try it

LTW build here https://youtu.be/JzH7X8qTPtw

GaucovyAero avatar Jan 01 '25 18:01 GaucovyAero

I've heard that if you use Sodium on LTW, it's faster than GL4ES + OptiFine (tested on my Poco F3)

in my testing, GL4ES + OptiFine is still a looot faster, check this out

LTW + Sodium

3891

GL4ES + OptiFine

3893

GaucovyAero avatar Jan 02 '25 23:01 GaucovyAero

I have my tips. 1:dont let all sodium options to default like persistence memory mapping in sodium option. it's really lags very much so turn it off if it on. Not all phones support this option so it can be off by default

2:why do you say turn off alternate surface rendering it's actually boost fps for me not decrease. Sustained performance mode and vsync are decrease performance for device not heating up

3:I usually download sodium in GitHub website and have good updates that not in release versions for now and best of all for me is (combine draw command to improve rendering performance) it's actually 1.5 faster than release version of sodium available for 1.21.1 and 1.21.3 Download link https://github.com/douira/sodium/actions/runs/11535378292for 1.21.1 And https://github.com/douira/sodium/actions/runs/12015927393 for 1.21.3

4:add pojav to game booster to apply some optimizations

5:iris shaders little decrease performance if you don't use shaders remove it

But in my opinion sodium is LOT BETTER than optifine with holygl4es

ghost avatar Jan 03 '25 10:01 ghost

3:I usually download sodium in GitHub website and have good updates that not in release versions for now and best of all for me is (combine draw command to improve rendering performance) it's actually 1.5 faster than release version of sodium available for 1.21.1 and 1.21.3

Different between release sodium (that name version is green colored) and that build (purple). Render distance 20 Screenshot_2024-12-15-20-05-49-666_net kdt pojavlaunch debug Screenshot_2024-12-15-20-03-13-635_net kdt pojavlaunch debug

ghost avatar Jan 03 '25 10:01 ghost

in my testing, GL4ES + OptiFine is still a looot faster

okay, I got stuff to run, Sodium Nightly + LTW is indeed faster than GL4ES + OptiFine, dang (this is with alternate surface rendering OFF)

3943

still cant beat vulkanmod tho (which does at least 2500fps) with alternate surface rendering I can only get 700fps

GaucovyAero avatar Jan 03 '25 10:01 GaucovyAero

Vulkanmod really doesn't matter as most people cant use it anyways

Marshall2439 avatar Jan 03 '25 10:01 Marshall2439

in my testing, GL4ES + OptiFine is still a looot faster

okay, I got stuff to run, Sodium Nightly + LTW is indeed faster than GL4ES + OptiFine, dang (this is with alternate surface rendering OFF)

3943

still cant beat vulkanmod tho (which does at least 2500fps) with alternate surface rendering I can only get 700fps

. .

How . . . IMG_20250103_140410 . . IMG_20250103_140302

ghost avatar Jan 03 '25 10:01 ghost

in my testing, GL4ES + OptiFine is still a looot faster

okay, I got stuff to run, Sodium Nightly + LTW is indeed faster than GL4ES + OptiFine, dang (this is with alternate surface rendering OFF)

Picture

still cant beat vulkanmod tho (which does at least 2500fps) with alternate surface rendering I can only get 700fps

The number of build is not for combine draw command download with my link I edited

ghost avatar Jan 03 '25 10:01 ghost

picture

still cant beat vulkanmod tho (which does at least 2500fps) with alternate surface rendering I can only get 700fps

Reference to https://github.com/CaffeineMC/sodium/issues/2895

ghost avatar Jan 03 '25 11:01 ghost

@kasrarouhi

How

turnip supports vulkan 1.3 on my gpu

Reference to https://github.com/CaffeineMC/sodium/issues/2895

there is actual terrain there, im just looking at the sky, which is why it does make a difference

GaucovyAero avatar Jan 03 '25 20:01 GaucovyAero

Hi, in the YouTube video of the LTW construction there is a link to download the app, is it sold or expired ¿because?, I'm just asking

Kgdjj avatar Jan 04 '25 20:01 Kgdjj

IMG_20250104_153805

Kgdjj avatar Jan 04 '25 20:01 Kgdjj

picture

Didn't happen to me https://github.com/PojavLauncherTeam/PojavLauncher/actions/runs/12079825845 If doesn't work again try pojav glow worm

ghost avatar Jan 04 '25 21:01 ghost

@kasrarouhi

How

turnip supports vulkan 1.3 on my gpu

Reference to CaffeineMC/sodium#2895

there is actual terrain there, im just looking at the sky, which is why it does make a difference Render distance 20

Nah didn't work for me even I use zink version 24.3.2 includes vulkan 1.3 still crash with vulkan mod and 2500 fps is not very much?? For zink because my max fps in zink if I look at the sky and lower all setting is 50 fps. Nevermind but In my opinion sodium is lot better than optifine and vulkan mod in optimization and compatibility with devices Different between optifine with holygl4es and sodium with LTW after all of optimization in setting I apple on both Screenshot_2025-01-03-13-52-02-267_net kdt pojavlaunch debug Screenshot_2025-01-03-13-46-50-436_net kdt pojavlaunch debug

ghost avatar Jan 04 '25 21:01 ghost

Now it works, thanks

Kgdjj avatar Jan 04 '25 22:01 Kgdjj

artdev fixed the loading of turnip on a custom branch, and if you also add jna 7.0.0 into the build, vulkanmod works (the fps arent as impressive now -- its probably showing the correct framerate now?)

4370

GaucovyAero avatar Jan 06 '25 19:01 GaucovyAero

Tested Optifabric on the older versions of minecraft [Upto 1.14.4], and it's comparatively faster than just using plain optifine.

Tested settings: 8 Render Distance Fast Graphics Animations Off

Resolution: 65%

[Everything else was on default setting]

NotOnSoul avatar Jan 07 '25 05:01 NotOnSoul

(the fps arent as impressive now -- its probably showing the correct framerate now?)

Vkmod 0.5> has perf regression on android devices.

sa1672ndo avatar Jan 13 '25 11:01 sa1672ndo

What about Holy D3D4ES?

On Mon, Jan 13, 2025, 18:05 sa1672ndo @.***> wrote:

(the fps arent as impressive now -- its probably showing the correct framerate now?)

Vkmod 0.5> has perf regression on android devices.

— Reply to this email directly, view it on GitHub https://github.com/PojavLauncherTeam/PojavLauncher/issues/6432#issuecomment-2586804472, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARP25GPBYX4KNM2CW46W2732KOMYFAVCNFSM6AAAAABUNRJKMOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBWHAYDINBXGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

BeboKhouja avatar Jan 13 '25 11:01 BeboKhouja

For me, vulkan mod gives lower fps than Sodium nightly with LTW.

JustAMinecraftplayer avatar Jan 14 '25 05:01 JustAMinecraftplayer

For me, vulkan mod gives lower fps than Sodium nightly with LTW.

hello, whats sodium nightly and where do i get the mod?

fortknoxguard avatar Jan 14 '25 10:01 fortknoxguard

For me, vulkan mod gives lower fps than Sodium nightly with LTW.

hello, whats sodium nightly and where do i get the mod?

Sodium nightly is for testing new features before they are released, you can go to sodium's github and scroll down and download it.

JustAMinecraftplayer avatar Jan 15 '25 14:01 JustAMinecraftplayer

For me, vulkan mod gives lower fps than Sodium nightly with LTW.

hello, whats sodium nightly and where do i get the mod?

Also use this java argument -XX:ActiveProcessorCount=8

JustAMinecraftplayer avatar Jan 15 '25 14:01 JustAMinecraftplayer

What about those running forge on a snapdragon 732g who prioritize FPS

TURVEX avatar May 03 '25 19:05 TURVEX