PojavLauncherTeam / PojavLauncher

A Minecraft: Java Edition Launcher for Android and iOS based on Boardwalk. This repository contains source code for Android platform.
GNU Lesser General Public License v3.0
6.67k stars 1.27k forks source link

[Not A Bug] ram allocating is sorta werid. #5398

Closed TylerHaoNhot closed 3 weeks ago

TylerHaoNhot commented 5 months ago

Describe the bug

I donno how to explain it, but here's the test and the results.

First test: High Ram. Ram allocate: 1700mb Ram free (system report): 2,5GB Fps: Max:27 / Min:2 / Avg:20. Minecraft ram usage: rise from 200mb till 1500mb and then drop. (Not very accurate)

Second test: Low ram Ram allocate: 830mb Ram free (system report): 2,3 GB Fps: Max:112 / Min: 17 / Avg:53 Minecraft ram usage: rise from 200mb till 700mb and drop. (Not verry accurate)

Other results: Ram allocate before I do this test. Ram allocate: 1170mb Ram free: around 1,5GB up. Fps: Avg:40-70 fps (this is not a test so no specific number.)

As you can see, with 830mb ram allocated, my phone performance the best, idk why so i just report here to ask.

For more information about hardware, check the Platform section.

The log file and images/videos

Forgot to take it, but you can test yourself. The results might not same as mine, maybe your phone perform better with higher fps.

Steps To Reproduce

N/A

Expected Behavior

This might be not a bug, so i don't really expect anything , this might be my device fault.

Platform

- Device model: Yuho Tab 10
- CPU architecture: idk, but the chip set is Unisoc T310. Could you please check it...?
- Total ram: 4GB
- Minecraft version: 1.20.1 Sodium modpack. 
- (file) Minecraft version: [pack.zip](https://github.com/PojavLauncherTeam/PojavLauncher/files/15142243/pack.zip)
- Android version: 11
- PojavLauncher version: edelweiss-20230928-9484d0c-v3_openjdk

Anything else?

No.

TylerHaoNhot commented 5 months ago

Some questions you might ask:

Q: Why you use 2 specific number for ram allocating, 830mb and 1700mb? Why don't you use higher or lower value? A: There was a time I used another device, with same amount of 4GB of ram and better CPU, snap845. But my phone only perform best on 1170mb of ram, give me maximum 400fps. 830mb ram also good, 100fps max, i usually lower my ram down to there to multitasking. And the worst come when i set my ram higher 1600mb. Not over 40fps.

Q: where did you get this mod pack from? A: I searched this with the keyword "Haste" in pojavlauncher's mod downloader.

Q: What's yours Minecraft setting when testing? A: Almost lowest.

TylerHaoNhot commented 5 months ago

Also, if this is my device fault, how many RAM i should allocate then to gain best performance?

kasrarouhi commented 5 months ago

Screenshot_۲۰۲۴-۰۴-۲۸-۲۲-۳۸-۳۵-۰۹۵_com android chrome-edit It's not very true. doesn't more ram increase FPS, more ram means the game can keep those same framerate, at better stability and heating up system a little

kasrarouhi commented 5 months ago

But i allocated 4gb ram. i think it's good. i have 12gb ram

Marshall2439 commented 4 months ago

Dude how tf yall getting so fps I was getting like 40 fps at Max on lowest settings and mid settings

Marshall2439 commented 4 months ago

And for this allocating more or less ram doesn't change fps very much but not allocate to much ram .to much ram = lower fps In one time i allocated 11gb ram and minecraft get lag spikes more and more and heated up system and game doesn't exit and . . . So DON'T ALLOCATE VERY MUCH RAM

So what's the range for allocating ram on CREATE MOD modpack

Marshall2439 commented 4 months ago

Please tell cuz im getting unbearable lag

kasrarouhi commented 4 months ago

4gb or 6gb ram create mod needed and enough for it like better minecraft.

kasrarouhi commented 4 months ago

But allocating ram doesn't change fps very much you can use performance mods like optifine and best settings or turn on alternate surface rendering and if you in minecraft servers use current jvm argument and best developer option for performance and . . .

Marshall2439 commented 4 months ago

And?...

Marshall2439 commented 4 months ago

But allocating ram doesn't change fps very much you can use performance mods like optifine and best settings or turn on alternate surface rendering and if you in minecraft servers use current jvm argument and best developer option for performance and . . .

As far as I know optifine doesn't work on forge 1.20.1 versions and embeddium gives me like 30 fps at Max. I do allocate 4 gigs of ram tho but it still gives 30 fps at Max PLEASE HELP

Marshall2439 commented 4 months ago

@GaucovyAero help me

kasrarouhi commented 4 months ago

Mods like embeddium not fully supported for pojav. Try mods like lazydfu clumps cutting leaves smoothboot ferricore let me despawn . . . https://github.com/TheUsefulLists/UsefulMods/blob/main/Performance/Performance118.md#forge-118x This link very help you. (Not all mods support for pojav you need to test each mod) Mods for 1.18.2 version of minecraft of create mod is 1.18.2 https://github.com/TheUsefulLists/UsefulMods/blob/main/Performance/Performance120.md Fot 1.20.x

Marshall2439 commented 4 months ago

Mods like embeddium not fully supported for pojav. Try mods like lazydfu clumps cutting leaves smoothboot ferricore let me despawn . . . https://github.com/TheUsefulLists/UsefulMods/blob/main/Performance/Performance118.md#forge-118x This link very help you. (Not all mods support for pojav you need to test each mod) Mods for 1.18.2 version of minecraft of create mod is 1.18.2 https://github.com/TheUsefulLists/UsefulMods/blob/main/Performance/Performance120.md Fot 1.20.x

Yeah embeddium isn't supported but without embeddium, game lags so bad like 2 fps average not only that I already have those optimization mods idk why it lags so bad I have seen other people on yt getting high fps tho

kasrarouhi commented 4 months ago

They have powerful device

Marshall2439 commented 4 months ago

They have powerful device

What powerful device are we talking here? Majority of them either have 6gb or 8gb RAM phone I have 8gb ram phone

TylerHaoNhot commented 4 months ago

They have powerful device

What powerful device are we talking here? Majority of them either have 6gb or 8gb RAM phone I have 8gb ram phone

Maybe you just having a bad cpu on your device. or not, maybe you just donno how to optimize your game.

Marshall2439 commented 4 months ago

They have powerful device

What powerful device are we talking here? Majority of them either have 6gb or 8gb RAM phone I have 8gb ram phone

Maybe you just having a bad cpu on your device. or not, maybe you just donno how to optimize your game.

Exynos 1280 cpu

kasrarouhi commented 4 months ago

Screenshot_۲۰۲۴-۰۶-۰۱-۱۸-۴۵-۵۰-۷۸۷_com android chrome-edit In benchmark not have powerful cpu to run big modpacks

Marshall2439 commented 4 months ago

Now what? Most of my mods are performance improvement mods. I have few create addons with create and few furniture mods like mr crayfish mod and handcrafted

TylerHaoNhot commented 4 months ago

Now what? Most of my mods are performance improvement mods. I have a few create addons with create and a few furniture mods like Mr. Crayfish mod and handcrafted

Bro, maybe that a few of your mods cause the lag. Your device is very powerful though (at least more powerful than my tablet that reaches 100fps). If you want to keep playing those mods you added, you can upload them to a server (only server-side mods, client-side mods like performance mods don't work there) and then join the server. It will reduce the pressure on your phone because it doesn't need to run any map(a.k.a a server itself).

If the lag keeps going, try to change some settings, client settings, and pojavlauncher's settings like RAM, JVM, etc... Finally, if it doesn't work, just delete all your mods and keep performance mods only.💀👌

Marshall2439 commented 4 months ago

Now what? Most of my mods are performance improvement mods. I have a few create addons with create and a few furniture mods like Mr. Crayfish mod and handcrafted

Bro, maybe that a few of your mods cause the lag. Your device is very powerful though (at least more powerful than my tablet that reaches 100fps). If you want to keep playing those mods you added, you can upload them to a server (only server-side mods, client-side mods like performance mods don't work there) and then join the server. It will reduce the pressure on your phone because it doesn't need to run any map(a.k.a a server itself).

If the lag keeps going, try to change some settings, client settings, and pojavlauncher's settings like RAM, JVM, etc... Finally, if it doesn't work, just delete all your mods and keep performance mods only.💀👌

I did thought about that. Anyways what's the best ram for create mod? JVM is changed to reduce Garbage collection lag. I dont want to play without mods because for me minecraft is less content

TylerHaoNhot commented 4 months ago

Now what? Most of my mods are performance improvement mods. I have a few create addons with create and a few furniture mods like Mr. Crayfish mod and handcrafted

Bro, maybe that a few of your mods cause the lag. Your device is very powerful though (at least more powerful than my tablet that reaches 100fps). If you want to keep playing those mods you added, you can upload them to a server (only server-side mods, client-side mods like performance mods don't work there) and then join the server. It will reduce the pressure on your phone because it doesn't need to run any map(a.k.a a server itself). If the lag keeps going, try to change some settings, client settings, and pojavlauncher's settings like RAM, JVM, etc... Finally, if it doesn't work, just delete all your mods and keep performance mods only.💀👌

I did thought about that. Anyways what's the best ram for create mod? JVM is changed to reduce Garbage collection lag. I dont want to play without mods because for me minecraft is less content

I never used any 8gb ram devices before, try to change the ram until you find yourself a max fps performance. (It's quite take a lot of time though) I would recommend you set it more than 2gb, I think so.

Marshall2439 commented 4 months ago

Now what? Most of my mods are performance improvement mods. I have a few create addons with create and a few furniture mods like Mr. Crayfish mod and handcrafted

Bro, maybe that a few of your mods cause the lag. Your device is very powerful though (at least more powerful than my tablet that reaches 100fps). If you want to keep playing those mods you added, you can upload them to a server (only server-side mods, client-side mods like performance mods don't work there) and then join the server. It will reduce the pressure on your phone because it doesn't need to run any map(a.k.a a server itself). If the lag keeps going, try to change some settings, client settings, and pojavlauncher's settings like RAM, JVM, etc... Finally, if it doesn't work, just delete all your mods and keep performance mods only.💀👌

I did thought about that. Anyways what's the best ram for create mod? JVM is changed to reduce Garbage collection lag. I dont want to play without mods because for me minecraft is less content

I never used any 8gb ram devices before, try to change the ram until you find yourself a max fps performance. (It's quite take a lot of time though) I would recommend you set it more than 2gb, I think so.

I have allocated 4gigs already it doesn't seem to give more than 30fps MAX same with 3.5gigs less than that world doesn't load

TylerHaoNhot commented 4 months ago

Now what? Most of my mods are performance improvement mods. I have a few create addons with create and a few furniture mods like Mr. Crayfish mod and handcrafted

Bro, maybe that a few of your mods cause the lag. Your device is very powerful though (at least more powerful than my tablet that reaches 100fps). If you want to keep playing those mods you added, you can upload them to a server (only server-side mods, client-side mods like performance mods don't work there) and then join the server. It will reduce the pressure on your phone because it doesn't need to run any map(a.k.a a server itself). If the lag keeps going, try to change some settings, client settings, and pojavlauncher's settings like RAM, JVM, etc... Finally, if it doesn't work, just delete all your mods and keep performance mods only.💀👌

I did thought about that. Anyways what's the best ram for create mod? JVM is changed to reduce Garbage collection lag. I dont want to play without mods because for me minecraft is less content

I never used any 8gb ram devices before, try to change the ram until you find yourself a max fps performance. (It's quite take a lot of time though) I would recommend you set it more than 2gb, I think so.

I have allocated 4gigs already it doesn't seem to give more than 30fps MAX same with 3.5gigs less than that world doesn't load

Kinda weird, lol. My pixel 3 only has 4gb of ram , I played create mod with furniture mods and terrain mod. I allocate only 1150mb of ram and getting more than 45fps when standing still, getting 20-30fps when moving.

Marshall2439 commented 4 months ago

Yeah now what should I do? I can't just play at 7fps average until I get a pc. Gimme some solution.

TylerHaoNhot commented 4 months ago

Yeah now what should I do? I can't just play at 7fps average until I get a pc. Gimme some solution.

I donno💀 If you said so, you can start building your pc from now. Its not that expensive btw, just buy yourself an I5-2400 and gtx 750 for around more than 80$ is way enough to get more than 200fps on minecraft

Marshall2439 commented 4 months ago

Yeah now what should I do? I can't just play at 7fps average until I get a pc. Gimme some solution.

I donno💀 If you said so, you can start building your pc from now. Its not that expensive btw, just buy yourself an I5-2400 and gtx 750 for around more than 80$ is way enough to get more than 200fps on minecraft

I ain't getting a pc until like few months bro

Marshall2439 commented 4 months ago

Gimme solution

TylerHaoNhot commented 4 months ago

Gimme solution

Can you gimme your game files? I'll test it on my device