Jump to content

Minecraft runs extremely slow, even with new computer.


Recommended Posts

I just recently got a brand new computer, an HP pavilion gaming desktop, it has 12 gb of ram and an AMD Radeon RX 580 graphics card. And yet minecraft runs extremely slow when using only 20ish mods at about 2.7 gb allocated to minecraft. I'm using the twitch launcher. It runs super slow no matter what mods I put it and sometimes it runs even worse than my old crappy laptop. Other programs run fine. Any suggestions? Theres no error messages it just runs extremely slow.

latest.log

Link to comment
Share on other sites

JVM Arguments.
Twitch adds a bunch of them on itself, but, some of them you have slight control over.
Twitch for example will force -xms256m (you can edit it in the minecraft launcher before launching the pack if you want)
I currently suggest allocating around 4GB max RAM. (doing that in twitch sets -xmx to 4096m.
The reason: JourneyMap eats a lot of RAM and likes spiking. According to the the regular log you send, you have 710MB free on the heap, which Journeymap attempts to use for mapping.
Also... [14:21:43] [Client thread/INFO]: [CHAT] [Debug]: Reloading all chunks
Reloading chunks causes lag. Reloading all scripts even more. Don't be surprised about this.

If you post your debug.log (see logs folder), someone may be able to tell more about what is making your game laggy.
(EAQ states they prefer if you upload it to pastebin, hastebin, gist or something, so we can see the file in the browser.)

Edited by Ruchia
missing info
Link to comment
Share on other sites

Lets try exaggerated optimizations:

 

Go to twitch settings, minecraft, under Java Settings, add the following to additional arguments:

Spoiler

 

-d64 -XX:+AggressiveOpts -XX:MaxGCPauseMillis=50 -XX:GCPauseIntervalMillis=150 -XX:+UseStringDeduplication -XX:+AlwaysPreTouch -XX:+UseFastAccessorMethods -XX:+UseCodeCacheFlushing -XX:+UnlockExperimentalVMOptions -XX:+ExplicitGCInvokesConcurrent -XX:+ParallelRefProcEnabled -XX:MetaspaceSize=256M -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=60 -Dfml.readTimeout=90 -Ddeployment.trace=true -Ddeployment.log=true -Ddeployment.trace.level=all

 

 

 

I could explain what all those things do, since I looked it up on Oracle.com (manual), but it would take a while. If you want to know, I suggest that you'd read it yourself.

Launch minecraft, in video options: disable mipmapping, clouds, set render distance 12, FPS 120.

Could you test it and see if there is a change? (use Alt+F3 in game to see your lag, or Shift Alt F3 to see everything)

Edit: a debug log file would also help to figure this out. (Twitch hates putting debug logs in the log folder though. You may need to setup an instance manually (through regular Minecraft and Forge installation to get a debug log) )

Edit 2: Due to a lack of a debug.log, and other information people will just guess wildly here. (read the EAQ, there is a reason why the mods made it and word it the way they did.) So far, we have no clue what causes your issues, but this aside.
You can try installing Java Runtime Environment 8, update 211 (from oracle.com) and set minecraft to use that instead of the native java.
Perhaps the processor of your crappy laptop was faster? (that would be odd I suppose) (What processor have you got installed on your motherboard? I could adjust the args I gave a bit depending on this.)
More ovbiously, a list of mods and their exact versions would also help figure this out. Perhaps a mod is broken and overuses your processor. That latest.log doesn't show this too clearly.
 

Edited by Ruchia
(see edit)
Link to comment
Share on other sites

I highly recommend starting off with one or two mods and building up until you find a combination of mods that doesn’t create lag for you. You might also want to consider installing OptiFine and/or other optimisation for the performance improvements that they offer.

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

debug

Heres the debug file. My processor is the AMD Ryzen 5 2400G Processor. Attached is an image of the alt + f3 window. I already had java 211 installed but when I tried switching the java version to 211 is just crashed the launcher instantly when I clicked play, a java pop up appeared. I tried adding all that crap to the additional arguments box and nothing changed.

2019-06-28_21.12.25.png

Link to comment
Share on other sites

Java 8u211 shouldn't cause you to crash, that is odd in itself. You need to have the 64bit version installed. (perhaps reinstalling java fixes that issue at least.)

It's diffidently not the hardware. (nice rig xd)

Optifine states in their instructions (for installing the mod on a clean forge client) that you need to add: -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true to arguments. Considering you're using AMD, you also want to disable Terrain Animations and Mipmapping, since those are optimized for Nvidia graphics.
I think the debug.log is incomplete. I can't seem to find entries about the spike you are experiencing in game nor do I find anything of you leaving the world. Even that "You haven't joined or created a team yet!" message is missing.

Maybe you send the wrong debug.log?

This is the list of mods you added according to the debug log.
 

Spoiler

[14:58:01] [main/DEBUG] [FML]:   Adding 1.jar to the mod list
[14:58:01] [main/DEBUG] [FML]:   Adding Infinity-0.13.2.jar to the mod list
[14:58:01] [main/DEBUG] [FML]:   Adding LucraftCore-1.12.2-2.4.3.jar to the mod list
[14:58:01] [main/DEBUG] [FML]:   Adding OptiFine_1.12.2_HD_U_E3.jar to the mod list
[14:58:01] [main/DEBUG] [FML]:   Adding PymTech-1.12.2-1.0.2.jar to the mod list
[14:58:01] [main/DEBUG] [FML]:   Adding SpeedsterHeroes-1.12.2-2.1.3.jar to the mod list
[14:58:01] [main/DEBUG] [FML]:   Adding star-tech-1.1.1.jar to the mod list

I am personally a litlle bit concerned about 1.jar
whatever that is, it seems like a very mysterious file.

 

Edit:
That message you experience, that one about the TeamsGUI is from a mod called FTB Utilities, by latvianmodder. According to the debug.log, this particular mod is not installed. I am guessing that book in the screenshot belongs to Tinker's Construct. The debug.log doesn't mention thismod either. Conclusion: this debug.log is likely the wrong debug.log

Edited by Ruchia
adding information
Link to comment
Share on other sites

Those are the mods I had installed ages ago. I have since removed them all and added the modpack to my .minecrafts mods folder. Iirc, 1.jar was a mod that was having some rendering issues so I renamed it 1.jar to force it to load first. When is the debug.log file supposed to update? Everytime I load up minecraft? It appears the debug.log file never updated.

 

Edit: Minecraft is now running so slow that as soon as I get in the world I can barely move my camera around. The main menu is lag free but as soon as I load up a world it slows down massively.

Edited by X66Herobrine66X
Link to comment
Share on other sites

I found that deep inside of my gaming laptop I had to locate the Java executable and specify that it is a "gaming" program.

 

I don't know if your laptop is like mine, but mine would only turn on the discrete video card whenever it detected a game or other high-GPU application. Otherwise it would run on the integrated video card to save power.

 

I hope that this helps.

Link to comment
Share on other sites

4 minutes ago, UntoldForce said:

I found that deep inside of my gaming laptop I had to locate the Java executable and specify that it is a "gaming" program.

 

I don't know if your laptop is like mine, but mine would only turn on the discrete video card whenever it detected a game or other high-GPU application. Otherwise it would run on the integrated video card to save power.

 

I hope that this helps.

By discrete you mean dedicated card? How would I go about doing this?

Link to comment
Share on other sites

My gaming laptop has an nVidia card, and I did it from the nVidia control panel. My laptop has a colored LED indicator which shows whether it is using integrated or discrete graphics, and it was defaulting to integrated for Minecraft.

 

You may need to look at your graphics driver package, computer manual, or possibly contact the laptop manufacturer's tech support to find out if this happens and how to fix it. Other AMD users might be able to better assist you.

Link to comment
Share on other sites

Some programs/mods are badly made/unoptimised (vanilla is an amazingly good example of this), there is no war around this. What you should do is find out which mods are making your game run slowly and not use them. Properly debugging your problem with the HUD profiler (shift+f3) and /debug to find what’s making your game go slowly would also help.

 

Programs that are unoptimised and create a lot of new objects can cause lag spikes when Java needs to sort through all these objects and delete the ones that are no-longer being used to free up memory. If many, many new objects are being created very fast, it can significantly lower your FPS and create large amounts of other lag.

 

Start off with just Forge installed and slowly build up mods. If you want help finding what mods are causing lag, please post the results of the /debug command.

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

I removed enderio, that seemed to be causing lag. Erm, would this have anything to do with why I'm lagging?
https://gyazo.com/63995e94cd7db433bd9de5940cbdcdb4
I don't know why it says I only have 118 gb, I have a 1 TB harddrive.

 

Also, I installed java 64 bit a few days ago and it was all good. Now my apps and features says I have 64 bit installed, command prompts java -version doesn't say 32 or 64 bit, and the Java folder is in Program Files instead of Program Files (x86). The java folder used to be in the x86 folder. What version do I even have?

Edited by X66Herobrine66X
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.