KoolDud3
Posts: 38
Joined: Thu Dec 20, 2018 5:07 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sat Jan 05, 2019 11:03 am

RaspiUser213 wrote:
Fri Jan 04, 2019 9:08 pm
So, how do I get 1.8 working? I ran the launcher and it install 1.8, then it crashed. Now, I can't seem to figure out what to add to the runoptifine.sh file.
you can probobly find an apk somewhere and get it on mobile, im no expert with the terminal though, sorry
I exist

User avatar
DarkPlatinum
Posts: 839
Joined: Thu Nov 02, 2017 2:30 pm
Location: Unknown
Contact: Website YouTube

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sat Jan 05, 2019 5:33 pm

KoolDud3 wrote:
Sat Jan 05, 2019 11:03 am
RaspiUser213 wrote:
Fri Jan 04, 2019 9:08 pm
So, how do I get 1.8 working? I ran the launcher and it install 1.8, then it crashed. Now, I can't seem to figure out what to add to the runoptifine.sh file.
you can probobly find an apk somewhere and get it on mobile, im no expert with the terminal though, sorry
This is raspbian, not android.
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

Check Out My Raspberry Site (Run on a Raspberry Pi 3B :) ): https://html.dynu.net

User avatar
rpiMike
Posts: 832
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sat Jan 05, 2019 5:38 pm

RaspiUser213 wrote:
Fri Jan 04, 2019 9:08 pm
So, how do I get 1.8 working? I ran the launcher and it install 1.8, then it crashed. Now, I can't seem to figure out what to add to the runoptifine.sh file.
In theory you should just need to copy the classpath as in the very last section of the tutorial:

If you want to attempt getting a new version of Minecraft working :

1 Install required version using java -jar Minecraft.jar - and allow to crash
2 Scroll up in terminal window and find last ../jre/bin/java command, scroll across and find ‘-cp ’, copy this path list until ‘ net.minecraft.launchwrapper.Launch’
3 Paste this text into the cp= in the run.sh script

RaspiUser213
Posts: 6
Joined: Thu Jan 03, 2019 2:46 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Jan 07, 2019 2:01 pm

rpiMike wrote:
Sat Jan 05, 2019 5:38 pm
RaspiUser213 wrote:
Fri Jan 04, 2019 9:08 pm
So, how do I get 1.8 working? I ran the launcher and it install 1.8, then it crashed. Now, I can't seem to figure out what to add to the runoptifine.sh file.
In theory you should just need to copy the classpath as in the very last section of the tutorial:

If you want to attempt getting a new version of Minecraft working :

1 Install required version using java -jar Minecraft.jar - and allow to crash
2 Scroll up in terminal window and find last ../jre/bin/java command, scroll across and find ‘-cp ’, copy this path list until ‘ net.minecraft.launchwrapper.Launch’
3 Paste this text into the cp= in the run.sh script
I tried to do that, but it wasn't working. I think I am just going to stick with 1.12.1.

User avatar
DarkPlatinum
Posts: 839
Joined: Thu Nov 02, 2017 2:30 pm
Location: Unknown
Contact: Website YouTube

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Jan 07, 2019 4:24 pm

It is probably best to stick with 1.12.1 as there is not a significant update. Unless you want to play on 1.12.2 servers, just stay on 1.12.1.
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

Check Out My Raspberry Site (Run on a Raspberry Pi 3B :) ): https://html.dynu.net

User avatar
HawaiianPi
Posts: 4456
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Tue Jan 08, 2019 9:45 am

RaspiUser213 wrote:
Fri Jan 04, 2019 9:08 pm
So, how do I get 1.8 working? I ran the launcher and it install 1.8, then it crashed. Now, I can't seem to figure out what to add to the runoptifine.sh file.
There is an older thread for Minecraft 1.8.9 here: viewtopic.php?f=78&t=137279
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

RaspiUser213
Posts: 6
Joined: Thu Jan 03, 2019 2:46 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Tue Jan 08, 2019 2:45 pm

HawaiianPi wrote:
Tue Jan 08, 2019 9:45 am
RaspiUser213 wrote:
Fri Jan 04, 2019 9:08 pm
So, how do I get 1.8 working? I ran the launcher and it install 1.8, then it crashed. Now, I can't seem to figure out what to add to the runoptifine.sh file.
There is an older thread for Minecraft 1.8.9 here: viewtopic.php?f=78&t=137279
Thanks! I'll check this out.

User avatar
DarkPlatinum
Posts: 839
Joined: Thu Nov 02, 2017 2:30 pm
Location: Unknown
Contact: Website YouTube

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Tue Jan 08, 2019 7:37 pm

RaspiUser213 wrote:
Tue Jan 08, 2019 2:45 pm
HawaiianPi wrote:
Tue Jan 08, 2019 9:45 am
RaspiUser213 wrote:
Fri Jan 04, 2019 9:08 pm
So, how do I get 1.8 working? I ran the launcher and it install 1.8, then it crashed. Now, I can't seem to figure out what to add to the runoptifine.sh file.
There is an older thread for Minecraft 1.8.9 here: viewtopic.php?f=78&t=137279
Thanks! I'll check this out.
Just note that this version does not work with multiplayer servers.
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

Check Out My Raspberry Site (Run on a Raspberry Pi 3B :) ): https://html.dynu.net

Hamburger Pi
Posts: 8
Joined: Thu Dec 27, 2018 12:31 am

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sat Jan 12, 2019 5:09 pm

jdonald wrote:
Sun Dec 30, 2018 1:23 am
Hamburger Pi wrote:
Thu Dec 27, 2018 4:47 pm
I'm using the Raspberry Pi 3B (not 3B+), and I have Raspbian Jessie w/ Desktop running on RetroPie.
GLXGears runs at ~48 FPS.
I suspect your gears also have blinking colors rather than a smooth red, green, blue. In this case it doesn't sound like the OpenGL driver took effect when you ran sudo raspi-config. Run lsmod | grep vc4 to check.

To find the path to Java on your Jessie installation, run which java. Note that if it's the OpenJDK Java that won't be performant enough for Minecraft and you need to install Oracle Java.

Line 14 in runOptifine.sh is where your password goes, so it looks like you made a typo, perhaps a space right after the equals sign.

If you want to run Minecraft on Retropie with the legacy driver in theory you can use gl4es as I described above, but in your case I'd recommend first following the instructions and starting on Stretch!
Yeah, glxgears does have flickering colors! THX so much for pointing that out :D I didn't have a space in line 14 for the run script. It works now, despite the glxgears issue!

Beynom
Posts: 4
Joined: Mon Jan 14, 2019 2:19 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Jan 14, 2019 2:23 pm

Thanks for the tutorial, gotta try it 8-)

-----------------
showbox app download
Last edited by Beynom on Wed Jun 26, 2019 7:30 pm, edited 1 time in total.

User avatar
HawaiianPi
Posts: 4456
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Wed Jan 16, 2019 11:49 pm

I finally got around to trying this on version 1.12.2 with OptiFine 1.12.2 HD U E3 and the initial setup worked. The game launched and played on a single player world, and I was even able to login to my Creeper Pie SMP server and play.

That was then, but now for some reason I'm getting problems with the OpenAL audio, and I haven't changed anything from before. :?

I did install a resource pack while in game, but it still played afterword, and uninstalling the pack makes no difference.

The game launches to the menu, then seems to get all the way through loading the world, then crashes right when the world starts.

Code: Select all

[15:14:02] [Server thread/INFO]: Preparing start region for level 0
[15:14:08] [Server thread/INFO]: Preparing spawn area: 0%
[15:14:09] [Server thread/INFO]: Preparing spawn area: 10%
[15:14:10] [Server thread/INFO]: Preparing spawn area: 21%
[15:14:11] [Server thread/INFO]: Preparing spawn area: 32%
[15:14:12] [Server thread/INFO]: Preparing spawn area: 38%
[15:14:13] [Server thread/INFO]: Preparing spawn area: 46%
[15:14:14] [Server thread/INFO]: Preparing spawn area: 54%
[15:14:15] [Server thread/INFO]: Preparing spawn area: 62%
[15:14:16] [Server thread/INFO]: Preparing spawn area: 70%
[15:14:17] [Server thread/INFO]: Preparing spawn area: 82%
[15:14:18] [Server thread/INFO]: Preparing spawn area: 93%
[15:14:20] [Server thread/INFO]: Changing view distance to 4, from 10
[15:14:24] [Server thread/INFO]: TinyZombie[local:E:1234] logged in with entity id 567 at (-128.5, 63.5, -51.5)
[15:14:24] [Server thread/INFO]: TinyZombie joined the game
AL lib: (EE) ALCplaybackAlsa_mixerProc: available update failed: Broken pipe
Killed
I saw something in this thread about OpenAL not being needed. What do I need to do to either fix it or get rid of it?

Thanks.

RPi 3B+ (in Flirc case)
Official PSU
Latest Stretch Desktop image, fully upgraded (apt update/full-upgrade)
GL driver enabled, Full KMS (glxgears=60 fps)

Followed all steps in OP (including part about using a different version) and as I said above, it worked when I first tried it. When I tried it again a few hours later it aborts with an OpenAL sound error. Tried removing OpenAL (same problem), tried re-installing OpenAL (same problem), tried removing just the libnopenal.so file in Minecraft/Natives folder (same problem).
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

jdonald
Posts: 294
Joined: Fri Nov 03, 2017 4:36 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Jan 17, 2019 4:57 am

That "Killed" looks more like running out of memory than a segfault. How much CPU memory does it show if you run vcgencmd get_mem arm and have you enabled swap just in case?

You definitely need OpenAL or some sort. I wouldn't expect different behavior whether you use the system-installed one or the binary linked in the first post.

When I had to deal with an OpenAL-related crash on a Pi Zero, I edited the config file to disable music and sounds. You can find the config file under ~/.minecraft and edit it to set all sound levels to 0, then try rerunning Minecraft silently.

Later on once you have things running you can go back and gradually turn the sound levels up again one by one to troubleshoot.

User avatar
HawaiianPi
Posts: 4456
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Jan 17, 2019 10:55 am

The commands vcgencmd get_mem arm and vcgencmd get_mem gpu show 960M and 64M as expected.

I set all volume settings to off, but it's still random odds that it runs or crashes (much more crashes).
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

User avatar
DarkPlatinum
Posts: 839
Joined: Thu Nov 02, 2017 2:30 pm
Location: Unknown
Contact: Website YouTube

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Jan 17, 2019 4:06 pm

HawaiianPi wrote:
Thu Jan 17, 2019 10:55 am
The commands vcgencmd get_mem arm and vcgencmd get_mem gpu show 960M and 64M as expected.

I set all volume settings to off, but it's still random odds that it runs or crashes (much more crashes).
If your using a mass storage device HDD/SSD I would recommend enabling ZRam because it made things a little better.

You can find the tutorial here on my site: https://html.dynu.net/index.php/increase-ram-zram/
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

Check Out My Raspberry Site (Run on a Raspberry Pi 3B :) ): https://html.dynu.net

Its_Azazel
Posts: 6
Joined: Mon Jan 21, 2019 4:11 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Jan 21, 2019 4:16 pm

Hi, I've been trying to get Minecraft with this tutorial for the past couple of days with not much luck. Everything seems to go fine until I run the launch command, in which this pops up:

Code: Select all

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   791  100   625  100   166   1543    409 --:--:-- --:--:-- --:--:--  1543
todays access token = ec9c4f45779e4851bd4903d692c2d4db
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    75  100    63  100    12    294     56 --:--:-- --:--:-- --:--:--   295
MINECRAFT_UUID=f54148de931d416ea43d3ad63fc5fa2c
Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
[11:07:18] [main/INFO]: Loading tweak class name optifine.OptiFineTweaker
[11:07:18] [main/INFO]: Using primary tweak class name optifine.OptiFineTweaker
[11:07:18] [main/INFO]: Calling tweak class optifine.OptiFineTweaker
OptiFineTweaker: acceptOptions
OptiFineTweaker: injectIntoClassLoader
OptiFine ClassTransformer
OptiFine URL: file:/home/pi/.minecraft/libraries/optifine/OptiFine/1.12.1_HD_U_C5/OptiFine-1.12.1_HD_U_C5.jar
OptiFine ZIP file: /home/pi/.minecraft/libraries/optifine/OptiFine/1.12.1_HD_U_C5/OptiFine-1.12.1_HD_U_C5.jar
OptiFineTweaker: getLaunchArguments
OptiFineTweaker: getLaunchTarget
[11:07:19] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[11:07:21] [main/INFO]: Setting user: Its_Azazel
[11:07:29] [main/INFO]: [OptiFine] *** Reflector Forge ***
[11:07:29] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.model.Attributes
[11:07:29] [main/INFO]: [OptiFine] (Reflector) Class not present: mods.betterfoliage.client.BetterFoliageClient
[11:07:29] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.asm.transformers.BlamingTransformer
[11:07:29] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.event.world.ChunkWatchEvent$UnWatch
[11:07:29] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.relauncher.CoreModManager
[11:07:29] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.DimensionManager
[11:07:29] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.GuiScreenEvent$DrawScreenEvent$Pre
[11:07:29] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.GuiScreenEvent$DrawScreenEvent$Post
[11:07:29] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.EntityViewRenderEvent$CameraSetup
[11:07:29] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.EntityViewRenderEvent$FogColors
[11:07:29] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.EntityViewRenderEvent$RenderFogEvent
[11:07:29] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.eventhandler.Event
[11:07:29] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.eventhandler.EventBus
[11:07:29] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.eventhandler.Event$Result
[11:07:29] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.property.ExtendedBlockState
[11:07:29] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.client.FMLClientHandler
[11:07:29] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.FMLCommonHandler
[11:07:29] [main/INFO]: [OptiFine] (Reflector) Method not present: anh.getWaterColorMultiplier
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.addDestroyEffects
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.addHitEffects
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.canCreatureSpawn
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.canRenderInLayer
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.doesSideBlockRendering
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.getBedDirection
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.getExtendedState
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.getFogColor
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.getLightOpacity
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.getLightValue
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.getSoundType
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.hasTileEntity
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.isAir
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.isBed
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.isBedFoot
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: aow.isSideSolid
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: and.isSideSolid
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: vg.canRiderInteract
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Field not present: vg.captureDrops
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Field not present: vg.capturedDrops
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: vg.shouldRenderInPass
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: vg.shouldRiderSit
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.event.ForgeEventFactory
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.ForgeHooks
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.ForgeHooksClient
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Field not present: ain.delegate
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: ain.getDurabilityForDisplay
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: ain.getRGBDurabilityForDisplay
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: ain.isShield
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: ain.onEntitySwing
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: ain.shouldCauseReequipAnimation
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: ain.showDurabilityBar
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: bwa.handleItemState
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: agv.hasOverlay
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: bhy.setKeyConflictContext
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: bhy.setKeyModifierAndCode
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: bhy.getKeyModifier
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.ForgeModContainer
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: bvv.parseFromReader
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: uz.shouldRenderHUD
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: uz.renderHUDEffect
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: va.isCurativeItem
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: avj.canRenderBreaking
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: avj.getRenderBoundingBox
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: avj.hasFastRenderer
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: avj.shouldRenderInPass
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: ceb$b.preDraw
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: ceb$b.postDraw
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: amu.countEntities
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: amu.getPerWorldStorage
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: amu.initCapabilities
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: aym.getCloudRenderer
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: aym.getSkyRenderer
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Method not present: aym.getWeatherRenderer
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.client.GuiModList
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.property.IExtendedBlockState
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.model.IModel
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.IRenderHandler
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.ItemModelMesherForge
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.settings.KeyConflictContext
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.settings.KeyModifier
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.model.pipeline.LightUtil
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.MinecraftForge
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.MinecraftForgeClient
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.model.ModelLoader
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.gui.NotificationModUpdateScreen
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderBlockOverlayEvent$OverlayType
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.client.registry.RenderingRegistry
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderItemInFrameEvent
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderLivingEvent$Pre
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderLivingEvent$Post
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderLivingEvent$Specials$Pre
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderLivingEvent$Specials$Post
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.ScreenshotEvent
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.client.SplashProgress
[11:07:30] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.event.world.WorldEvent$Load
[11:07:30] [main/INFO]: [OptiFine] *** Reflector Vanilla ***
---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.

Time: 1/21/19 11:07 AM
Description: Initializing game

java.lang.ExceptionInInitializerError
	at Config.getDisplayModes(Config.java:1732)
	at bid$a.<clinit>(GameSettings.java:3452)
	at bid.<init>(GameSettings.java:315)
	at bib.aq(SourceFile:443)
	at bib.a(SourceFile:404)
	at net.minecraft.client.main.Main.main(SourceFile:123)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
	at org.lwjgl.opengl.XRandR.findPrimary(XRandR.java:326)
	at org.lwjgl.opengl.XRandR.ScreentoDisplayMode(XRandR.java:315)
	at org.lwjgl.opengl.LinuxDisplay$3.run(LinuxDisplay.java:746)
	at org.lwjgl.opengl.LinuxDisplay$3.run(LinuxDisplay.java:743)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:743)
	at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
	... 12 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
	at Config.getDisplayModes(Config.java:1732)
	at bid$a.<clinit>(GameSettings.java:3452)
	at bid.<init>(GameSettings.java:315)
	at bib.aq(SourceFile:443)

-- Initialization --
Details:
Stacktrace:
	at bib.a(SourceFile:404)
	at net.minecraft.client.main.Main.main(SourceFile:123)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
	Minecraft Version: 1.12.1
	Operating System: Linux (arm) version 4.14.79-v7+
	Java Version: 1.8.0_65, Oracle Corporation
	Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
	Memory: 100129720 bytes (95 MB) / 169865216 bytes (161 MB) up to 1060372480 bytes (1011 MB)
	JVM Flags: 5 total; -Xmn128M -Xmx1024M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	Launched Version: 1.12
	LWJGL: 2.9.4
	OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
	GL Caps: 
	Using VBOs: ~~ERROR~~ NullPointerException: null
	Is Modded: Very likely; Jar signature invalidated
	Type: Client (map_client.txt)
	Resource Packs: ~~ERROR~~ NullPointerException: null
	Current Language: ~~ERROR~~ NullPointerException: null
	Profiler Position: N/A (disabled)
	CPU: <unknown>
#@!@# Game crashed! Crash report saved to: #@!@# /home/pi/.minecraft/crash-reports/crash-2019-01-21_11.07.31-client.txt
Not quite sure what to do. :|
-Azazel

User avatar
rpiMike
Posts: 832
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Jan 21, 2019 6:36 pm

Did you get glxgears running at 60fps with solid colours? Have you installed Forge or something ?

Super_Pizza
Posts: 2
Joined: Thu Oct 11, 2018 11:59 am

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Wed Jan 23, 2019 8:51 pm

I got 1.12.2 working with ~30-40fps! I decided to try to run forge, I copied sh from p. 4 and i get this error:

Code: Select all

15:33:53] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading
[15:33:53] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.8.0_65, running on Linux:arm:4.14.79-v7+, installed at /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre
[15:33:53] [main/ERROR] [LaunchWrapper]: Unable to launch
java.lang.RuntimeException: An error occurred trying to configure the Minecraft home at /home/pi/.minecraft for Forge Mod Loader
	at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:111) ~[forge-1.12.2-14.23.5.2768.jar:?]
	at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupClient(FMLLaunchHandler.java:81) ~[forge-1.12.2-14.23.5.2768.jar:?]
	at net.minecraftforge.fml.relauncher.FMLLaunchHandler.configureForClientLaunch(FMLLaunchHandler.java:42) ~[forge-1.12.2-14.23.5.2768.jar:?]
	at net.minecraftforge.fml.common.launcher.FMLTweaker.injectIntoClassLoader(FMLTweaker.java:139) ~[forge-1.12.2-14.23.5.2768.jar:?]
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [launchwrapper-1.12.jar:?]
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
Caused by: java.lang.NoClassDefFoundError: org/apache/maven/artifact/versioning/ArtifactVersion
	at net.minecraftforge.fml.relauncher.libraries.LibraryManager.findLibraryFolder(LibraryManager.java:126) ~[forge-1.12.2-14.23.5.2768.jar:?]
	at net.minecraftforge.fml.relauncher.libraries.LibraryManager.setup(LibraryManager.java:77) ~[forge-1.12.2-14.23.5.2768.jar:?]
	at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:106) ~[forge-1.12.2-14.23.5.2768.jar:?]
	... 5 more
Caused by: java.lang.ClassNotFoundException: org.apache.maven.artifact.versioning.ArtifactVersion
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_65]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_65]
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[?:1.8.0_65]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_65]
	at net.minecraftforge.fml.relauncher.libraries.LibraryManager.findLibraryFolder(LibraryManager.java:126) ~[forge-1.12.2-14.23.5.2768.jar:?]
	at net.minecraftforge.fml.relauncher.libraries.LibraryManager.setup(LibraryManager.java:77) ~[forge-1.12.2-14.23.5.2768.jar:?]
	at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:106) ~[forge-1.12.2-14.23.5.2768.jar:?]
	... 5 more
Exception in thread "main" [15:33:53] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: net.minecraftforge.fml.relauncher.FMLSecurityManager$ExitTrappedException
[15:33:53] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: 	at net.minecraftforge.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:49)
[15:33:53] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: 	at java.lang.SecurityManager.checkExit(SecurityManager.java:761)
[15:33:53] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: 	at java.lang.Runtime.exit(Runtime.java:107)
[15:33:53] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: 	at java.lang.System.exit(System.java:971)
[15:33:53] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:138)
[15:33:53] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: 	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Thanks for your tutorial! ;)

equynox
Posts: 4
Joined: Wed Jan 23, 2019 10:34 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Wed Jan 23, 2019 10:42 pm

Ok, i followed this tutorial with optifine 1.12.1 and then 1.12.2 and i am stuck with this error. i just want to install this game for my kids....please help. much appreciated! Here is the crash report! Seems to be a problem with opengl...

Code: Select all

---- Minecraft Crash Report ----
// Shall we play a game?

Time: 1/24/19 12:31 AM
Description: Initializing game

java.lang.ExceptionInInitializerError
	at Config.getDisplayModes(Config.java:1854)
	at bid$a.<clinit>(GameSettings.java:3569)
	at bid.<init>(GameSettings.java:331)
	at bib.aq(SourceFile:443)
	at bib.a(SourceFile:404)
	at net.minecraft.client.main.Main.main(SourceFile:123)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
	at org.lwjgl.opengl.XRandR.findPrimary(XRandR.java:326)
	at org.lwjgl.opengl.XRandR.ScreentoDisplayMode(XRandR.java:315)
	at org.lwjgl.opengl.LinuxDisplay$3.run(LinuxDisplay.java:746)
	at org.lwjgl.opengl.LinuxDisplay$3.run(LinuxDisplay.java:743)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:743)
	at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
	... 12 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
	at Config.getDisplayModes(Config.java:1854)
	at bid$a.<clinit>(GameSettings.java:3569)
	at bid.<init>(GameSettings.java:331)
	at bib.aq(SourceFile:443)

-- Initialization --
Details:
Stacktrace:
	at bib.a(SourceFile:404)
	at net.minecraft.client.main.Main.main(SourceFile:123)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
	Minecraft Version: 1.12.2
	Operating System: Linux (arm) version 4.14.93-v7+
	Java Version: 1.8.0_65, Oracle Corporation
	Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
	Memory: 19021432 bytes (18 MB) / 148385792 bytes (141 MB) up to 1060372480 bytes (1011 MB)
	JVM Flags: 5 total; -Xmn128M -Xmx1024M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	Launched Version: 1.12
	LWJGL: 2.9.4
	OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
	GL Caps: 
	Using VBOs: ~~ERROR~~ NullPointerException: null
	Is Modded: Very likely; Jar signature invalidated
	Type: Client (map_client.txt)
	Resource Packs: ~~ERROR~~ NullPointerException: null
	Current Language: ~~ERROR~~ NullPointerException: null
	Profiler Position: N/A (disabled)
	CPU: <unknown>

User avatar
rpiMike
Posts: 832
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Jan 24, 2019 8:45 am

equynox wrote:
Wed Jan 23, 2019 10:42 pm
Ok, i followed this tutorial with optifine 1.12.1 and then 1.12.2 and i am stuck with this error. i just want to install this game for my kids....please help. much appreciated! Here is the crash report! Seems to be a problem with opengl...

Code: Select all

---- Minecraft Crash Report ----
// Shall we play a game?

Time: 1/24/19 12:31 AM
Description: Initializing game

java.lang.ExceptionInInitializerError
	at Config.getDisplayModes(Config.java:1854)
	at bid$a.<clinit>(GameSettings.java:3569)
	at bid.<init>(GameSettings.java:331)
	at bib.aq(SourceFile:443)
	at bib.a(SourceFile:404)
	at net.minecraft.client.main.Main.main(SourceFile:123)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
	at org.lwjgl.opengl.XRandR.findPrimary(XRandR.java:326)
	at org.lwjgl.opengl.XRandR.ScreentoDisplayMode(XRandR.java:315)
	at org.lwjgl.opengl.LinuxDisplay$3.run(LinuxDisplay.java:746)
	at org.lwjgl.opengl.LinuxDisplay$3.run(LinuxDisplay.java:743)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:743)
	at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
	... 12 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
	at Config.getDisplayModes(Config.java:1854)
	at bid$a.<clinit>(GameSettings.java:3569)
	at bid.<init>(GameSettings.java:331)
	at bib.aq(SourceFile:443)

-- Initialization --
Details:
Stacktrace:
	at bib.a(SourceFile:404)
	at net.minecraft.client.main.Main.main(SourceFile:123)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
	Minecraft Version: 1.12.2
	Operating System: Linux (arm) version 4.14.93-v7+
	Java Version: 1.8.0_65, Oracle Corporation
	Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
	Memory: 19021432 bytes (18 MB) / 148385792 bytes (141 MB) up to 1060372480 bytes (1011 MB)
	JVM Flags: 5 total; -Xmn128M -Xmx1024M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	Launched Version: 1.12
	LWJGL: 2.9.4
	OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
	GL Caps: 
	Using VBOs: ~~ERROR~~ NullPointerException: null
	Is Modded: Very likely; Jar signature invalidated
	Type: Client (map_client.txt)
	Resource Packs: ~~ERROR~~ NullPointerException: null
	Current Language: ~~ERROR~~ NullPointerException: null
	Profiler Position: N/A (disabled)
	CPU: <unknown>
Are you running Raspbian Stretch? Did you get glxgears running at 60fps with solid colours? Did 1.12.1 work?

equynox
Posts: 4
Joined: Wed Jan 23, 2019 10:34 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Jan 24, 2019 10:26 am

My OS is a fresh NOOBS install a week ago also using ZRAM overclocked@1550 with gpu@500

Linux raspberrypi 4.14.93-v7+ #1191 SMP Wed Jan 16 11:53:33 GMT 2019 armv7l GNU/Linux

glxgears output:

libGL error: MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
522 frames in 27.0 seconds = 19.314 FPS
597 frames in 5.0 seconds = 119.249 FPS
598 frames in 5.0 seconds = 119.424 FPS
597 frames in 5.0 seconds = 119.215 FPS
600 frames in 5.0 seconds = 119.816 FPS
601 frames in 5.0 seconds = 120.008 FPS
593 frames in 5.0 seconds = 118.409 FPS
590 frames in 5.0 seconds = 117.798 FPS
593 frames in 5.0 seconds = 118.498 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
after 5926 requests (38 known processed) with 0 events remaining.

User avatar
rpiMike
Posts: 832
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Jan 24, 2019 10:31 am

Your GL Driver isn't working. You should see 60fps.

https://youtu.be/yTRYomiQMAY?t=215

Did you enable 'Full KMS'? Are you using a 1080p HDMI screen? Are you using a good power supply?

equynox
Posts: 4
Joined: Wed Jan 23, 2019 10:34 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Jan 24, 2019 10:51 am

Yes I am using the original rpi adapter plus hdmi cable and from raspi-config I enabled full kms and my resolution is 1080p

User avatar
rpiMike
Posts: 832
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Jan 24, 2019 11:02 am

Maybe you've installed something that is stopping the GL Driver working.

Do you see the following line in /boot/config.txt?

Code: Select all

dtoverlay=vc4-kms-v3d
Maybe the overclocking or zram is causing a problem.

I would flash a fresh install of 'Raspbian Stretch with Desktop' using Etcher (not using NOOBS).

equynox
Posts: 4
Joined: Wed Jan 23, 2019 10:34 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Jan 24, 2019 8:41 pm

It's working now with 1.12.2. The problem was kms full. Switched to fake kms and it's working. Also full kms was freezing the os when trying to change the resolution. I understood that is a known issue since it's experimental and everybody suggested to try fake. So, I kinda solved the problem. Tnx so much for advices!

Super_Pizza
Posts: 2
Joined: Thu Oct 11, 2018 11:59 am

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Tue Jan 29, 2019 8:58 pm

I was just missing org.apache.maven in cp list :?

Return to “Gaming”