Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the most FPS out of your device #6432

Open
GaucovyAero opened this issue Dec 31, 2024 · 19 comments
Open

How to get the most FPS out of your device #6432

GaucovyAero opened this issue Dec 31, 2024 · 19 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@GaucovyAero
Copy link
Collaborator

GaucovyAero commented Dec 31, 2024

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 GaucovyAero added documentation Improvements or additions to documentation good first issue Good for newcomers labels Dec 31, 2024
@GaucovyAero
Copy link
Collaborator Author

I want to know your tips here

@Kgdjj
Copy link

Kgdjj commented Dec 31, 2024

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

@GaucovyAero
Copy link
Collaborator Author

GaucovyAero commented Jan 1, 2025

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

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

@GaucovyAero
Copy link
Collaborator Author

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

@kasrarouhi
Copy link

kasrarouhi commented Jan 3, 2025

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

@kasrarouhi
Copy link

kasrarouhi commented Jan 3, 2025

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

@GaucovyAero
Copy link
Collaborator Author

GaucovyAero commented Jan 3, 2025

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

@Marshall2439
Copy link

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

@kasrarouhi
Copy link

kasrarouhi commented Jan 3, 2025

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

@kasrarouhi
Copy link

kasrarouhi commented Jan 3, 2025

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

@kasrarouhi
Copy link

kasrarouhi commented Jan 3, 2025

picture

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

Reference to CaffeineMC/sodium#2895

@GaucovyAero
Copy link
Collaborator Author

@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

@Kgdjj
Copy link

Kgdjj commented Jan 4, 2025

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
Copy link

Kgdjj commented Jan 4, 2025

IMG_20250104_153805

@kasrarouhi
Copy link

kasrarouhi commented Jan 4, 2025

picture

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

@kasrarouhi
Copy link

kasrarouhi commented Jan 4, 2025

@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

@Kgdjj
Copy link

Kgdjj commented Jan 4, 2025

Now it works, thanks

@GaucovyAero
Copy link
Collaborator Author

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

@NotSoulfur
Copy link

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

5 participants