I can't seem to use LWJGL on my new Ubuntu installation, neither Minecraft, nor and LWJGL programs I've written seem to work. I can use Java and all it's default libraries, but not anything with LWJGL. Whenever I run Minecraft or a LWJGL application this is the output (the asdf at the top included, that wasn't me.)
<username excluded>@<computer name excluded>:~/Downloads$ sudo ./minecraft.jar
asdf
229 recipes
27 achievements
2013-04-27 13:37:15 [CLIENT] [INFO] Setting user: <username excluded>
(Session ID is -7035635929346944156)
2013-04-27 13:37:16 [CLIENT] [INFO] LWJGL Version: 2.4.2
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fd6f67a5a87, pid=9171, tid=140561344780032
#
# JRE version: 7.0_21-b02
# Java VM: OpenJDK 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libGL.so.1+0x66a87] AtiCallFGLGetDisplaySettings+0x447
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/<username excluded>/Downloads/hs_err_pid9171.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/ source/openjdk-7/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
I am not using the default drivers from my card (ATI Radeon 5870), instead I got them from here, the first link:
I am on a 64-bit system, I installed Java from Oracle, I followed the instructions though I am not positive I did it right, and I was unable to get the plugin working with Firefox despite the symbolic link being in the plugins folder. I also have the Open JDK 7 from the software center, and I installed that before installing from Oracle.
This bit leads me to beleive it is a driver problem, though I was unable to use LWJGL or Minecraft while I was still on the default Ubuntu driver:
# C [libGL.so.1+0x66a87] AtiCallFGLGetDisplaySettings+0x447
I am also using Xubuntu if that has any effect.
Anyone have any ideas? Or any other places to look for answers?
Welcome to the Forum.
I think it might be the fact you're using xUbuntu - which uses XFCE if I'm not mistaken.
There's a LWJGL updater on this page - you might want to try 2.8.4 and 2.9.0.
Please quote me when replying.
Thanks for responding! I updated with both 2.4.2 and 2.9.0. The output was exactly the same as the one I listed above for both versions, execpt for the Session ID and the other very large numbers. Even the line with the version stayed exactly the same. I am indeed using XFCE, is that not compatible with LWJGL? I certainly hope it is, I use that for much more than just Minecraft... If it isn't do you know if there are any other desktop environments that are compatible? Preferably not Unity, but I'll take what I can get.
Normal Ubuntu uses GNOME and kUbuntu uses KDE.
I think it's down to the AMD drivers - which are the correct ones.
What are your full specs?
Processor: Intel i7-3770S @ 3.10 GHz
Memory: 16GB @ 1333 MHz
Motherboard: Gigabyte Z68XP-UD3
Graphics Card: ATI Radeon 7850 2GB Memory(I was mistaken above, my old build had 5870, and I always forget that.)
SDD: 60GB Patriot Pyro (I also have an HDD but right now Linux is exclusivley on the SDD)
I do notice using using the System Profiler and Benchmark that the OpenGL section is full of "Unkown," making me think it's not there. I know LWJGL is a wrapper for OpenGL but is it a depenency for LWJGL?
Also would using WINE help? I try to avoid it as much as possible due to lack of knowledge and to prevent from headaches, but I feel at this point in the day I passed, "headache" a few counties back.
Thanks for the specs.
If I'm not mistaken, your i7 has integrated graphics. Are you sure xUbuntu isn't using it?
I believe that almost all default Intel drivers aren't capable of supporting OpenGL, which would explain the lack of a lot of things in System Profiler.
If you can get the latest Intel drivers and then make sure that Ubuntu is using your HD 7850, that would be great.
I don't think you should bother with WINE - I've never managed to get anything working with it in my experience.
I'm sorry to say that I am typing this from my Windows partition on this machine. I'm not sure what did it in, but I can't boot my xUbuntu SDD. I am also nearly 100% sure you are correct that XFCE was the issue because I know distinctly remember running LWJGL on Unity. I couldn't find any Intel drivers before the crash, they may have helped, I'm not sure. I also think that my graphics was identified, I could see the full name it in the benchmark program under PCI devices, but that was it.
I may try for a regular Ubuntu install on this machine in the future but for now it will only remain on my laptop, too much of a headache to get everything I want working the way I want it to work. I love Linux, but if there isn't a native counterpart for a program I want to use it always seem to fall apart at the seams. Your help was greatly appreciated, I learned a lot more about Linux through your advice.
Welcome to the Forum.
I think it might be the fact you're using xUbuntu - which uses XFCE if I'm not mistaken.
There's a LWJGL updater on this page - you might want to try 2.8.4 and 2.9.0.
Please quote me when replying.
Thank you so much! I've been trying everything to get minecraft to work again for my ubuntu 13.04 and this worked instantly for me. people like you keep the internet awesome.
Just to note, i am running Minecraft 1.5.2 on a xUbuntu 12.10 Macbook 13" 1.1. The xUbuntu site says this was more of a maintenance release. My guess is that it is not a xfce issue. To get mine to run I had to manually copy all the most recent LWJGL files (downloaded from the LWJGL site) into the .minecraft bin folder (replacing the one supplied by minecraft). Worked well ever since. Hope this helps. Looks like I'll need to update to 13.04 soon!
I am not using the default drivers from my card (ATI Radeon 5870), instead I got them from here, the first link:
http://support.amd.c...42&lang=English
I am on a 64-bit system, I installed Java from Oracle, I followed the instructions though I am not positive I did it right, and I was unable to get the plugin working with Firefox despite the symbolic link being in the plugins folder. I also have the Open JDK 7 from the software center, and I installed that before installing from Oracle.
This bit leads me to beleive it is a driver problem, though I was unable to use LWJGL or Minecraft while I was still on the default Ubuntu driver:
I am also using Xubuntu if that has any effect.
Anyone have any ideas? Or any other places to look for answers?
Thanks for responding! I updated with both 2.4.2 and 2.9.0. The output was exactly the same as the one I listed above for both versions, execpt for the Session ID and the other very large numbers. Even the line with the version stayed exactly the same. I am indeed using XFCE, is that not compatible with LWJGL? I certainly hope it is, I use that for much more than just Minecraft... If it isn't do you know if there are any other desktop environments that are compatible? Preferably not Unity, but I'll take what I can get.
Processor: Intel i7-3770S @ 3.10 GHz
Memory: 16GB @ 1333 MHz
Motherboard: Gigabyte Z68XP-UD3
Graphics Card: ATI Radeon 7850 2GB Memory(I was mistaken above, my old build had 5870, and I always forget that.)
SDD: 60GB Patriot Pyro (I also have an HDD but right now Linux is exclusivley on the SDD)
I do notice using using the System Profiler and Benchmark that the OpenGL section is full of "Unkown," making me think it's not there. I know LWJGL is a wrapper for OpenGL but is it a depenency for LWJGL?
Also would using WINE help? I try to avoid it as much as possible due to lack of knowledge and to prevent from headaches, but I feel at this point in the day I passed, "headache" a few counties back.
I'm sorry to say that I am typing this from my Windows partition on this machine. I'm not sure what did it in, but I can't boot my xUbuntu SDD. I am also nearly 100% sure you are correct that XFCE was the issue because I know distinctly remember running LWJGL on Unity. I couldn't find any Intel drivers before the crash, they may have helped, I'm not sure. I also think that my graphics was identified, I could see the full name it in the benchmark program under PCI devices, but that was it.
I may try for a regular Ubuntu install on this machine in the future but for now it will only remain on my laptop, too much of a headache to get everything I want working the way I want it to work. I love Linux, but if there isn't a native counterpart for a program I want to use it always seem to fall apart at the seams. Your help was greatly appreciated, I learned a lot more about Linux through your advice.
Thank you so much! I've been trying everything to get minecraft to work again for my ubuntu 13.04 and this worked instantly for me. people like you keep the internet awesome.
http://www.lwjgl.org/download.php