Minecraft Messing up.
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Minecraft Messing up.
So i've been trying to install Minecraft for linux, but ive been unsecsessfull.
i have the client and i get a black screen. i go on the website, and there is no game screen to speak of.
now i got an installer to see if it would fix the problom.
and it actualy gave me a log when i asked it to run minecraft:
27 achievements
177 recipes
Setting user: Galidorguy2008, -3820266360365898344
Exception in thread "Minecraft main thread" java.lang.ExceptionInInitializerError
at net.minecraft.client.Minecraft.a(SourceFile:180)
at net.minecraft.client.Minecraft.run(SourceFile:650)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at org.lwjgl.opengl.XRandR$Screen.<init>(XRandR.java:234)
at org.lwjgl.opengl.XRandR$Screen.<init>(XRandR.java:196)
at org.lwjgl.opengl.XRandR.populate(XRandR.java:87)
at org.lwjgl.opengl.XRandR.access$100(XRandR.java:52)
at org.lwjgl.opengl.XRandR$1.run(XRandR.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.opengl.XRandR.getConfiguration(XRandR.java:108)
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:618)
at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
... 3 more
so.... help....
i have the client and i get a black screen. i go on the website, and there is no game screen to speak of.
now i got an installer to see if it would fix the problom.
and it actualy gave me a log when i asked it to run minecraft:
27 achievements
177 recipes
Setting user: Galidorguy2008, -3820266360365898344
Exception in thread "Minecraft main thread" java.lang.ExceptionInInitializerError
at net.minecraft.client.Minecraft.a(SourceFile:180)
at net.minecraft.client.Minecraft.run(SourceFile:650)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at org.lwjgl.opengl.XRandR$Screen.<init>(XRandR.java:234)
at org.lwjgl.opengl.XRandR$Screen.<init>(XRandR.java:196)
at org.lwjgl.opengl.XRandR.populate(XRandR.java:87)
at org.lwjgl.opengl.XRandR.access$100(XRandR.java:52)
at org.lwjgl.opengl.XRandR$1.run(XRandR.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.opengl.XRandR.getConfiguration(XRandR.java:108)
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:618)
at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
... 3 more
so.... help....
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Minecraft Messing up.
Sounds like a problem with the display interface from Java. I'm assuming you downloaded the minecraft.jar file? https://s3.amazonaws.com/MinecraftDownl ... ecraft.jar
Check your Java version and your graphics card (needs to be openGL compatible and 3D capable, IIRC). Please run the following two commands and share the output here:
Check your Java version and your graphics card (needs to be openGL compatible and 3D capable, IIRC). Please run the following two commands and share the output here:
Code: Select all
java --version
inxi -SGxc 0
Re: Minecraft Messing up.
ok so i ran the 2 scripts under Super User and here is what i gotxenopeek wrote:Sounds like a problem with the display interface from Java. I'm assuming you downloaded the minecraft.jar file? https://s3.amazonaws.com/MinecraftDownl ... ecraft.jar
Check your Java version and your graphics card (needs to be openGL compatible and 3D capable, IIRC). Please run the following two commands and share the output here:Code: Select all
java --version inxi -SGxc 0
David-Satellite-A505 sanocon # java --version
Unrecognized option: --version
Could not create the Java virtual machine.
however, i did look at the app itself and the version was 1.6.0_26-b03
David-Satellite-A505 sanocon # inxi -SGxc 0
System: Host David-Satellite-A505 Kernel 2.6.38-8-generic x86_64 (64 bit) Distro Linux Mint 11 Katya
Graphics: Card Intel Mobile 4 Series Chipset Integrated Graphics Controller X.org 1.10.1 Res: 80x22 Gfx Data: N/A for root
now i had minecraft when i used to have windows, so i know the computer itself can handle it.
Re: Minecraft Messing up.
There is some input on this being cause by nvidia drivers being installed in error for this graphics chip (here). Check with the following command which nvidia drivers are installed, there should only be a nvidia-common package:
Please also run the following command and share the output. This will give us the full details of your graphics card(s).
Code: Select all
dpkg -l | grep nvidia
Code: Select all
lspci | grep VGA | cut -d' ' -f1 | xargs sudo lspci -vv -s
Re: Minecraft Messing up.
ok so this is what i got, now i thnk i remeber that the video card wasn't an NVIDIA card.
but here is what i got from the 2 scripts
note these scripts were ran via super user
but here is what i got from the 2 scripts
Code: Select all
David-Satellite-A505 sanocon # dpkg -l | grep nvidia
ii nvidia-cg-toolkit 3.0.0007-0ubuntu1 Cg Toolkit - GPU Shader Authoring Language
ii nvidia-common 0.2.30.1 Find obsolete NVIDIA drivers
David-Satellite-A505 sanocon # lspci | grep VGA | cut -d' ' -f1 | xargs sudo lspci -vv -s
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) (prog-if 00 [VGA controller])
Subsystem: Toshiba America Info Systems Device ff10
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 46
Region 0: Memory at d0000000 (64-bit, non-prefetchable) [size=4M]
Region 2: Memory at c0000000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at 6110 [size=8]
Expansion ROM at <unassigned> [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Address: fee0300c Data: 4199
Capabilities: [d0] Power Management version 3
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: i915
Kernel modules: i915
Last edited by xenopeek on Tue Mar 06, 2012 3:03 am, edited 1 time in total.
Reason: Code block
Reason: Code block
Re: Minecraft Messing up.
The nvidia-cg-toolkit package would get installed for the package ogre-plugins-cgprogrammanager; which is used by some games as a 3D rendering engine (for example, for Funguloids in the default repository). So I'd just leave this be, these nvidia packages aren't the root cause of the problems I think.
I had a look at your graphics chip specs, and they are almost identical to mine (mine has some additional PCI power management features, the rest is exactly alike).
Please run the following command to check if hardware rendering is enabled:
It should output similar to:
I had a look at your graphics chip specs, and they are almost identical to mine (mine has some additional PCI power management features, the rest is exactly alike).
Please run the following command to check if hardware rendering is enabled:
Code: Select all
glxinfo | grep render
If it doesn't, I'll just park this link here as it may hold a solution http://forums.fedoraforum.org/showthread.php?t=243976.direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Desktop GEM 20100330 DEVELOPMENT
Re: Minecraft Messing up.
shows direct rendering is positive.
sanocon@David-Satellite-A505 ~ $ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset GEM 20100330 DEVELOPMENT
sanocon@David-Satellite-A505 ~ $ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset GEM 20100330 DEVELOPMENT
Re: Minecraft Messing up.
Well, I'm fresh out of ideas then
Re: Minecraft Messing up.
hmm. is there something i can run in the terminal that will make the terminal record the process of an app script by script?
Re: Minecraft Messing up.
Well, you have strace, that dumps the system calls and signals of a process you start. That might be a bit heavy on the output for your purposes.
Re: Minecraft Messing up.
For some people this is what works.
Install Latest JAVA from ubuntu.
Then,download minecraft from here..
http://www.minecraftwiki.net/wiki/Tutor ... date_LWJGL
In the lwjgl-X.X.X.zip , there should be two folders, jar and natives. For every file that you have in your .minecraft/bin and .minecraft/bin/natives that exists in that archive, replace with the newer LWJGL version.
For example, in linux you would replace the following files (the process would be similar with Windows and Mac users):
In .minecraft/bin/
jinput.jar
lwjgl.jar
lwjgl_util.jar
In .minecraft/bin/natives/
libjinput-linux.so
libjinput-linux64.so
liblwjgl.so
liblwjgl64.so
libopenal.so
libopenal64.so
The .minecraft folder's location varies by operating system.
Linux: ~/.minecraft (Go to home folder and press Control + H)
Install Latest JAVA from ubuntu.
Then,download minecraft from here..
http://www.minecraftwiki.net/wiki/Tutor ... date_LWJGL
In the lwjgl-X.X.X.zip , there should be two folders, jar and natives. For every file that you have in your .minecraft/bin and .minecraft/bin/natives that exists in that archive, replace with the newer LWJGL version.
For example, in linux you would replace the following files (the process would be similar with Windows and Mac users):
In .minecraft/bin/
jinput.jar
lwjgl.jar
lwjgl_util.jar
In .minecraft/bin/natives/
libjinput-linux.so
libjinput-linux64.so
liblwjgl.so
liblwjgl64.so
libopenal.so
libopenal64.so
The .minecraft folder's location varies by operating system.
Linux: ~/.minecraft (Go to home folder and press Control + H)