Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › [Resolved + Solution in Post] Minecraft (New launcher 2013) Linux Ubuntu 12.10 Lwjgl Error, How to resolve? [Resolved]
New Posts  All Forums:Forum Nav:

[Resolved + Solution in Post] Minecraft (New launcher 2013) Linux Ubuntu 12.10 Lwjgl Error, How to resolve? [Resolved]

post #1 of 21
Thread Starter 
[Scroll to the bottom of this thread for the solution that worked for me]

Hey everyone, first time posting here (hope this is in the right topic).
So I decided to start up minecraft on my linux ubuntu 12.10 32 bit, and I receive a Crash report about Lwjgl.
Im not an addicted minecraft user, and i have other Computers if i really feel like playing it, but i want to help the community with this error, as i have searched on google for the error but found no updated fixes.

So I start the client with
Code:
java -jar minecraft.jar
(i know you can just click to open it but I'm a terminal hoard)
and i receive this in the crash log:
Code:


---- Minecraft Crash Report ----
// Oops.

Time: 10/9/13 10:56 PM
Description: Initializing game

org.lwjgl.LWJGLException: Could not init GLX
at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method)
at org.lwjgl.opengl.LinuxDisplayPeerInfo.<init>(LinuxDisplayPeerInfo.java:61)
at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:788)
at org.lwjgl.opengl.DrawableGL.setPixelFormat(DrawableGL.java:61)
at org.lwjgl.opengl.Display.create(Display.java:846)
at org.lwjgl.opengl.Display.create(Display.java:757)
at org.lwjgl.opengl.Display.create(Display.java:739)
at atv.O(SourceFile:297)
at atv.d(SourceFile:599)
at net.minecraft.client.main.Main.main(SourceFile:101)


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

-- Head --
Stacktrace:
at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method)
at org.lwjgl.opengl.LinuxDisplayPeerInfo.<init>(LinuxDisplayPeerInfo.java:61)
at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:788)
at org.lwjgl.opengl.DrawableGL.setPixelFormat(DrawableGL.java:61)
at org.lwjgl.opengl.Display.create(Display.java:846)
at org.lwjgl.opengl.Display.create(Display.java:757)
at org.lwjgl.opengl.Display.create(Display.java:739)
at atv.O(SourceFile:297)

-- Initialization --
Details:
Stacktrace:
at atv.d(SourceFile:599)
at net.minecraft.client.main.Main.main(SourceFile:101)

-- System Details --
Details:
Minecraft Version: 1.6.4
Operating System: Linux (i386) version 3.5.0-41-generic
Java Version: 1.7.0_13, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 5586752 bytes (5 MB) / 26808320 bytes (25 MB) up to 1037959168 bytes (989 MB)
JVM Flags: 1 total; -Xmx1G
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: No suspicious classes found.
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Launched Version: 1.6.4
LWJGL: 2.9.0
OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
Is Modded: Probably not. Jar signature remains and client brand is untouched.
Type: Client (map_client.txt)
Resource Pack: Default
Current Language: ~~ERROR~~ NullPointerException: null
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null



I have nvidia drivers, and OpenGL does work...
Before this comes up,I have enough ram, I have 2.25Gigs.

https://dl.dropbox.com/s/xdaos5pnlndi54o/Screenshot%20from%202013-10-09%2023%3A15%3A54.png

(Yes I know I know, I'm using OpenBox for the Window Manager by itself.... but its exactly what I need).

Edit: openbox is A window manager, my mistake...

When this issue is solved I will explain how it was solved here. thumb.gif

This issue was resolved from this really really OLD ubuntu forums thread;
http://ubuntuforums.org/showthread.php?t=1301433&page=2

here is what i used to fix the problem;

sudo apt-get purge nvidia*
sudo apt-get install --reinstall xserver-xorg-video-intel libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
sudo dpkg-reconfigure xserver-xorg

Then Restarted.
NOTE: not the best solution to choose, as it can muck up your xorg config and/or xsession settings, I recommend to not play Minecraft on the OS if you are getting this error, simply find a better solution.
(Untested solution: use VirtualBox and boot a windows IMG (like Win XP or Windows 7 Starter or what is able to use java and OpenGL) route up all network connections and try there.)

Ill have to see if i can toggle nvidia drivers some how when i need them.... but this is not the point of this thread.
Edited by jakesta13 - 10/17/13 at 2:39pm
post #2 of 21
Quote:
Originally Posted by jakesta13 View Post


(Yes I know I know, I'm using OpenBox for the Desktop Environment Window Manager.... but its exactly what I need).

/nitpick


Seems you aren't the only one. The Minecraft forums ( better place to post this ) is filled with the same threads.

Just a few examples;

http://www.minecraftforum.net/topic/2014742-minecraft-isnt-starting-help/

http://www.minecraftforum.net/topic/2016143-can-you-please-help-me-fix-minecraft/

http://www.minecraftforum.net/topic/2015096-help-my-minecraft-keeps-crashing/
post #3 of 21
You said you're a terminal whore, are you running this inside a window manager (openbox) or from a headless terminal?

Also are you running the open source Nvidia drivers (called something like "neuvou") or their closed binary blobs? Earlier in the year I was experiencing regression bugs with the closed Nvidia drivers where they refused to detect OpenGL. I don't play many games, but having XBMC break was bloody annoying.
post #4 of 21
Thread Starter 
In openbox i right-clicked and opened a Terminal from the menu.

Im using Nvidia drivers (from apt-get install nvidia-complete ) and all the drivers install correctly.
I know it has something to do with lwjgl, but i don't know where i need to replace the files (it was easier with the old minecraft launcher i know that for a fact thumb.gif )
post #5 of 21
Thread Starter 
Quote:
Originally Posted by Shrak View Post

/nitpick


Seems you aren't the only one. The Minecraft forums ( better place to post this ) is filled with the same threads.

Just a few examples;

http://www.minecraftforum.net/topic/2014742-minecraft-isnt-starting-help/

http://www.minecraftforum.net/topic/2016143-can-you-please-help-me-fix-minecraft/

http://www.minecraftforum.net/topic/2015096-help-my-minecraft-keeps-crashing/

________________________________
Stated in post:
Quote:
i have searched on google for the error but found no updated fixes.

The Links to the forum are incomplete with an answer, they have no real use as they are 'dead'.
post #6 of 21
Thread Starter 
Resolved from this:
http://ubuntuforums.org/showthread.php?t=1301433&page=2

and i ran this:

sudo apt-get purge nvidia*
sudo apt-get install --reinstall xserver-xorg-video-intel libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
sudo dpkg-reconfigure xserver-xorg
and restarted
post #7 of 21
Quote:
Originally Posted by jakesta13 View Post

Resolved from this:
http://ubuntuforums.org/showthread.php?t=1301433&page=2

and i ran this:

sudo apt-get purge nvidia*
sudo apt-get install --reinstall xserver-xorg-video-intel libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
sudo dpkg-reconfigure xserver-xorg
and restarted

So you have an intel graphics card and not an nvidia one?
post #8 of 21
An alternative (and likely more proper) solution is to update the lwjgl binaries packaged with minecraft post install. You can get them directly from the lwjgl Jenkins build bot.

At least thats what I did on Arch when the issue came up. if you need step by step breakdown I can provide it or you could Google "update lwjgl minecraft"
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
post #9 of 21
Thread Starter 
Quote:
Originally Posted by Xaero252 View Post

An alternative (and likely more proper) solution is to update the lwjgl binaries packaged with minecraft post install. You can get them directly from the lwjgl Jenkins build bot.

At least thats what I did on Arch when the issue came up. if you need step by step breakdown I can provide it or you could Google "update lwjgl minecraft"

I've googled that, all the solutions are for the old minecraft launcher.
post #10 of 21
Still applicable to the new launcher - as X11, the Linux Kernel and the nvidia drivers evolve - LWJGL does as well to keep up with the new implementations. Minecraft very VERY rarely updates their LWJGL binaries as they only use versions they have personally tested (to keep the number of possible errors to a minimum - after all it is a million+ player game - they must cater to the many, not the few.) Updating LWJGL remains the same across all launcher versions and all minecraft versions, included modded minecraft such as FTB. Newer versions of LWJGL offer input and threading enhancements and are generally a decent performance boost on all OS's. It's still not a bad idea to try it. As Plan9 pointed out - you have switched your system from the nvidia driver to the intel driver meaning you have switched to an intel graphics chipset, which is likely lower performance than your nvidia chip. I don't know your system, though so its hard for me to troubleshoot.
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › [Resolved + Solution in Post] Minecraft (New launcher 2013) Linux Ubuntu 12.10 Lwjgl Error, How to resolve? [Resolved]