You are not logged in.
Pages: 1
Hey all, first post. I usually crawl the forums for all my woes, yet I can't seem to find this exact issue. It deals with LWJGL crashing the game, and displaying an incorrect version number. I have 2.7(.1?) installed from the AUR, yet in the crash log it states that I'm running 2.4. Regardless, does anyone have any suggestions as to what I should do? Thanks, much appreciated.
--- BEGIN ERROR REPORT a1dce528 --------
Generated 3/18/11 3:30 AM
Minecraft: Minecraft Beta 1.3_01
OS: Linux (amd64) version 2.6.37-ARCH
Java: 1.6.0_24, Sun Microsystems Inc.
VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
[failed to get system properties (java.lang.NullPointerException)]
java.lang.IllegalStateException: Only one LWJGL context may be instantiated at any one time.
    at org.lwjgl.opengl.Display.create(Display.java:846)
    at org.lwjgl.opengl.Display.create(Display.java:784)
    at org.lwjgl.opengl.Display.create(Display.java:765)
    at net.minecraft.client.Minecraft.a(SourceFile:260)
    at net.minecraft.client.Minecraft.run(SourceFile:632)
    at java.lang.Thread.run(Thread.java:662)
--- END ERROR REPORT 49230b64 ----------Offline
Are you using the jre package? If so try the openjdk6 package instead.
Offline
Thanks for the suggestion, and I replaced jre with OpenJDK6. However, same exact error, just with the change of the "VM" identifier and version of java.
Java: 1.6.0_22, Sun Microsystems Inc.
VM: OpenJDK 64-Bit Server VM (mixed mode), Sun Microsystems Inc.Offline
How are you running it exactly? I have mine setup like this:
#!/bin/bash
java -Xmx1024M -Xms1024M -cp /usr/share/minecraft/Minecraft.jar net.minecraft.LauncherFrameOffline
I just type 'minecraft' into the terminal. However, when i try to launch with the command you use, it gives me:
Exception in thread "main" java.lang.NoClassDefFoundError: net/minecraft/LauncherFrame
Caused by: java.lang.ClassNotFoundException: net.minecraft.LauncherFrame
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: net.minecraft.LauncherFrame. Program will exit.Offline
As a side, what is it called when I type 'minecraft' and it launches that file? I know it's a command, but isn't there another name for it, and a way to edit it? I had to change it so that instead of having to type 'python2' all I had to type 'python', yet I forget what it's called and how to edit that stuff. Help on both fronts is appreciated.
Offline
As a side, what is it called when I type 'minecraft' and it launches that file? I know it's a command, but isn't there another name for it, and a way to edit it?
Yes, the command "minecraft" executes a script in your $PATH that is located in /usr/bin/minecraft. You could edit it like this:
 vim /usr/bin/minecraft "Computer Science is embarrassed by the computer." -- Alan J. Perlis
Offline
java.lang.IllegalStateException: Only one LWJGL context may be instantiated at any one time.
This usually means an issue with your 3d acceleration, ie not installing proprietary nVidia drivers.
Check it is working, eg 'glxinfo'.
The simplest way to update LWJGL is probbaly to just download the LWJGL 2.7.1.zip. Overwrite the Mojang supplied files in .minecraft/bin with those in lwjgl-2.7.1/jar & .minecraft/bin/natives with those in lwjgl-2.7.1/native/linux. You will likely need to rm that folder fairly often anyway!
Oracle Java seems to be generally recommended for Minecraft over OpenJDK.
hth.
Offline
Thanks epikal and austin.rbn.
I switched back to the jre package, got the same error, and then upgraded the LWJGL inside the minecraft folder.
Now a new error occurs:
--- BEGIN ERROR REPORT a1dce528 --------
Generated 3/20/11 12:32 AM
Minecraft: Minecraft Beta 1.3_01
OS: Linux (amd64) version 2.6.37-ARCH
Java: 1.6.0_24, Sun Microsystems Inc.
VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.7.1
[failed to get system properties (java.lang.NullPointerException)]
org.lwjgl.LWJGLException: X Error - disp: 0x40e1eaa0 serial: 159 error: BadGC (invalid GC parameter) request_code: 60 minor_code: 0
    at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:277)
    at org.lwjgl.opengl.LinuxKeyboard.nSetDetectableKeyRepeat(Native Method)
    at org.lwjgl.opengl.LinuxKeyboard.setDetectableKeyRepeat(LinuxKeyboard.java:152)
    at org.lwjgl.opengl.LinuxKeyboard.destroy(LinuxKeyboard.java:163)
    at org.lwjgl.opengl.LinuxDisplay.destroyKeyboard(LinuxDisplay.java:1061)
    at org.lwjgl.input.Keyboard.destroy(Keyboard.java:349)
    at org.lwjgl.opengl.Display.destroyWindow(Display.java:357)
    at org.lwjgl.opengl.Display.access$300(Display.java:67)
    at org.lwjgl.opengl.Display$3.destroy(Display.java:146)
    at org.lwjgl.opengl.Display.create(Display.java:864)
    at org.lwjgl.opengl.Display.create(Display.java:785)
    at org.lwjgl.opengl.Display.create(Display.java:766)
    at net.minecraft.client.Minecraft.a(SourceFile:260)
    at net.minecraft.client.Minecraft.run(SourceFile:632)
    at java.lang.Thread.run(Thread.java:662)
--- END ERROR REPORT 5e02c59b ----------I think it may have to do with me having the nouveau drivers, not the nVidia ones. The proprietary drivers cause many issues with my display and laptop's graphics card (known bugs, the 210m card issues; I think they dropped support). I have the 3d acceleration open-source drivers installed as well, but I guess it just doesn't work.
Offline
Nouveau doesn't work with Minecraft for me either, or much of anything yet.
I presume you've probably already investigated getting the propretary drivers going a far as possible? 
If not, a quick Google does suggest some issues and possible solutions though. Post the laptop model if you want another crack at it!
Offline
I reinstalled them, blacklisted nouveau, and now minecraft works.... At th cost of my TTY virtual terminals (blank screen on any TTYx only while gnome is running) but 640x480 resolution on the terminals otherwise. This is using the beta nvidia drivers from the aur. Same problem with the non-beta proprietary 260.x drivers. My laptop is a Sony Vaio VPCCW17FX. Im pretty much at a loss after the last two weeks.. :-/ lol
Offline
I get that same error message. I'm using the Sun JRE, I used the updated LWJGL files... but I'm running with an ATI card (ATI Radeon Xpress 1250).
I'm using the open source driver, I haven't had any luck running the proprietary one.
Does anybody have any ideas on how I can go about getting this to work, or am I just SOL since the proprietary driver (I'm fairly certain) doesn't support my card anymore?
Thanks in advance.
Offline
I get that same error message. I'm using the Sun JRE, I used the updated LWJGL files... but I'm running with an ATI card (ATI Radeon Xpress 1250).
I'm using the open source driver, I haven't had any luck running the proprietary one.
Does anybody have any ideas on how I can go about getting this to work, or am I just SOL since the proprietary driver (I'm fairly certain) doesn't support my card anymore?
Thanks in advance.
Over the last few weeks, I've realized that it just won't work with the nouveau drivers, mostly due to our cards. I run a g210m, which came in a new laptop a year ago. The proprietary drivers also dropped support for my card, but roughly work, missing key abilities such as switching TTYs. However, installing the proprietary drivers does allow running minecraft with no problems. I made sure that nothing aside from the video drivers were changed, showing that it wasn't the card itself, nor the minecraft jar. I hate to tell you this, because I'm in the same boat, but you're out of luck. Sorry man. Maybe with some future open-source update this can be fixed, but it doesn't seem to be a high priority, for obvious reasons.
Offline
With your issue with switching TTYs, I've had that problem before, with a different computer, and I think playing around with the options on the kernel line in /boot/grub/menu.lst (vga=XXX) fixed that... was a while ago, though, but I know it happened when I switched video drivers... have you looked into that? Maybe removing vga= completely from the line.
More on topic, what causes this error, exactly? I guess I just don't know what BadGC means... usually there's SOME workaround, even if it is painfully difficult and not necessarily worth it.
Offline
Thank you, I'll look into the vga boot option.
Apparently, it has something to do with detecting a duplicate display over the one the LWJGL creates, causing conflicts and it just terminally aborts. Many hours into google searches, it appeared after a patch released by Mojang, probably due to a change in code. Long story short, proprietary drivers look to be the only way. That IS the workaround you're hoping for, it seems. Haha. But I'm relatively new to Linux, so don't follow me. Post back if you ever find the pain-staking, unnecessary workaround ;P
Offline
Hi
I doubt, that it has something todo with the vga kernel parameters. I played it last month and it worked. I think since I am using the 2.6.39 kernel, it doesnt work anymore. I can't test it, cause I Idon't really want to downgrade my kernel (i had some issues, so I am happy that it works now).
hope that helps you a bit.
Greetings
IronMania
Offline
Hello there,
I'm the next person with this problem, but i found... interesting solution... Not best at all I think.
My error code:
failed to create drawable
org.lwjgl.LWJGLException: X Error - disp: 0x996ee58 serial: 95 error: BadGC (invalid GC parameter) request_code: 60 minor_code: 0
	at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:268)
	at org.lwjgl.opengl.LinuxKeyboard.nSetDetectableKeyRepeat(Native Method)
	at org.lwjgl.opengl.LinuxKeyboard.setDetectableKeyRepeat(LinuxKeyboard.java:152)
	at org.lwjgl.opengl.LinuxKeyboard.destroy(LinuxKeyboard.java:163)
	at org.lwjgl.opengl.LinuxDisplay.destroyKeyboard(LinuxDisplay.java:1015)
	at org.lwjgl.input.Keyboard.destroy(Keyboard.java:349)
	at org.lwjgl.opengl.Display.destroyWindow(Display.java:350)
	at org.lwjgl.opengl.Display.create(Display.java:867)
	at org.lwjgl.opengl.Display.create(Display.java:784)
	at org.lwjgl.opengl.Display.create(Display.java:765)
	at net.minecraft.client.Minecraft.a(SourceFile:262)
	at net.minecraft.client.Minecraft.run(SourceFile:716)
	at java.lang.Thread.run(Thread.java:679)
java.lang.IllegalStateException: Only one LWJGL context may be instantiated at any one time.
	at org.lwjgl.opengl.Display.create(Display.java:846)
	at org.lwjgl.opengl.Display.create(Display.java:784)
	at org.lwjgl.opengl.Display.create(Display.java:765)
	at net.minecraft.client.Minecraft.a(SourceFile:294)
	at net.minecraft.client.Minecraft.run(SourceFile:716)
	at java.lang.Thread.run(Thread.java:679)In-game report:
--- BEGIN ERROR REPORT a1dce528 --------
Generated 29.08.11 00:48
Minecraft: Minecraft Beta 1.7.3
OS: Linux (i386) version 3.0-ARCH
Java: 1.6.0_22, Sun Microsystems Inc.
VM: OpenJDK Client VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
[failed to get system properties (java.lang.NullPointerException)]
java.lang.IllegalStateException: Only one LWJGL context may be instantiated at any one time.
	at org.lwjgl.opengl.Display.create(Display.java:846)
	at org.lwjgl.opengl.Display.create(Display.java:784)
	at org.lwjgl.opengl.Display.create(Display.java:765)
	at net.minecraft.client.Minecraft.a(SourceFile:294)
	at net.minecraft.client.Minecraft.run(SourceFile:716)
	at java.lang.Thread.run(Thread.java:679)
--- END ERROR REPORT ba65d0c5 ----------I looked at line saying "[failed to get system properties (java.lang.NullPointerException)]"
and I decided to run it as superuser! But no... not as root, lets make it:
sudo minecraftNow it works! But how? Why? Maybe you can tell more thanks to this? Maybe someone can help?
Beginning of my lspci:
lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)Last edited by marzecki (2011-08-28 22:51:59)
Offline
Hello there,
I'm the next person with this problem, but i found... interesting solution... Not best at all I think.
I looked at line saying "[failed to get system properties (java.lang.NullPointerException)]"
and I decided to run it as superuser! But no... not as root, lets make it:sudo minecraftNow it works! But how? Why? Maybe you can tell more thanks to this? Maybe someone can help?
Sorry to resurrect but this worked for me as well, been trying to solve this for weeks. Graphics same as yours.
Although this works it feels kinda dangerous, closed source beta software with root access :S  Could this be a
problem with permissions???
In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.
        Douglas Adams
        English humorist & science fiction novelist (1952 - 2001)
Offline
Have a possible solution for the LWJGL errors.
I do NOT have ATI or nVidia.
Like Marzeki, minecraft ran if i used sudo, but not as a normal user.
Having used OpenSUSE in the past, in order to run games, use video,etc I had to add myself to those respective groups.
That got me thinking...
I added myself to video, games & users groups (why "users" is not a default group, I don't know).
Logged out/back in. 
Voila!
Minecraft runs without sudo and with the mojang-provided LWJGL.
I don't know which of the three groups or combination thereof did the trick, but it's good to be in all of them, so I'm not going to investigate further.
This might be something to add to the Minecraft section of the wiki, if it works for others.
Last edited by gregnotcraig (2011-09-07 18:55:09)
Offline
Pages: 1