You are not logged in.

#1 2013-06-17 00:15:40

doorknob60
Member
From: Oregon
Registered: 2008-09-29
Posts: 401

Java+OpenGL does not work at all (Minecraft or Runescape)

This has been going on for quite a while, but it used to work. Minecraft and Runescape (with OpenGL) both crash upon starting the OpenGL engines. I'm currently using OpenJDK7 (which from what I understand, is the only officially supported Java in Arch), but the same exact thing happens with Oracle JVM 7. I'm running the with the latest updates with an Nvidia GT 430 (using the nvidia blob from extra). All other games and stuff run great. Here is some error output:

Minecraft:

OpenJDK 64-Bit Server VM warning: You have loaded library /home/austin/.minecraft/bin/natives/liblwjgl.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
229 recipes
27 achievements
2013-06-16 17:09:39 [CLIENT] [INFO] Setting user: doorknob60
(Session ID is 9206527957247422653)
Exception in thread "Minecraft main thread" java.lang.ExceptionInInitializerError
        at net.minecraft.client.Minecraft.a(SourceFile:208)
        at avv.a(SourceFile:56)
        at net.minecraft.client.Minecraft.run(SourceFile:507)
        at java.lang.Thread.run(Thread.java:722)
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)
        ... 4 more

Runescape:

NVIDIA: could not open the device file /dev/nvidia0 (Operation not permitted).
NVIDIA: could not open the device file /dev/nvidia0 (Operation not permitted).
NVIDIA: could not open the device file /dev/nvidia0 (Operation not permitted).
java version "1.7.0_40"
OpenJDK Runtime Environment (IcedTea 2.4.0) (ArchLinux build 7.u40_2.4.0-1-x86_64)
OpenJDK 64-Bit Server VM (build 24.0-b40, mixed mode)
java.io.FileNotFoundException: /home/austin/.icedtea/deployment.properties (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:143)
        at java.io.FileReader.<init>(FileReader.java:72)
        at net.sourceforge.jnlp.config.DeploymentConfiguration.parsePropertiesFile(DeploymentConfiguration.java:604)
        at net.sourceforge.jnlp.config.DeploymentConfiguration.findSystemConfigFile(DeploymentConfiguration.java:424)
        at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:236)
        at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:205)
        at net.sourceforge.jnlp.runtime.JNLPRuntime.initialize(JNLPRuntime.java:194)
        at sun.applet.PluginAppletSecurityContext.<init>(PluginAppletSecurityContext.java:252)
        at sun.applet.PluginAppletSecurityContext.<init>(PluginAppletSecurityContext.java:270)
        at sun.applet.PluginMain.main(PluginMain.java:109)
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
sun.awt.image.ImageFormatException: Unsupported color conversion request
        at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
        at sun.awt.image.JPEGImageDecoder.produceImage(JPEGImageDecoder.java:136)
        at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:269)
        at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:205)
        at sun.awt.image.ImageFetcher.run(ImageFetcher.java:169)
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x00007f3368e07048, pid=6581, tid=139858413389568
#
# JRE version: OpenJDK Runtime Environment (7.0_40-b20) (build 1.7.0_40-b20)
# Java VM: OpenJDK 64-Bit Server VM (24.0-b40 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libGL.so.1+0x313048]  glGenBuffersARB+0x8
#
# 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/austin/hs_err_pid6581.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Offline

#2 2013-06-17 10:22:20

Jodell
Member
Registered: 2009-10-09
Posts: 285

Re: Java+OpenGL does not work at all (Minecraft or Runescape)

For Minecraft you need to update the LWJGL libraries located in ~/.minecraft/bin folder and the ~/.minecraft/bin/natives folder.

Last edited by Jodell (2013-06-17 10:22:37)

Offline

#3 2013-06-18 03:45:55

doorknob60
Member
From: Oregon
Registered: 2008-09-29
Posts: 401

Re: Java+OpenGL does not work at all (Minecraft or Runescape)

Jodell wrote:

For Minecraft you need to update the LWJGL libraries located in ~/.minecraft/bin folder and the ~/.minecraft/bin/natives folder.

Any specific way of doing that? I tried deleting those files and having the launcher download new ones, and it didn't work. I even deleted the entire .minecraft folder (nothing important was there tongue) and that didn't fix it either. I also tried using bin32-jre with the same results in both RS and Minecraft.

Offline

#4 2013-06-19 13:08:13

Jodell
Member
Registered: 2009-10-09
Posts: 285

Re: Java+OpenGL does not work at all (Minecraft or Runescape)

Download the latest LWJGL zip file from lwjgl.org. Open it up and replace the files in the paths I mention earlier with the respective files in lwjgl.zip

Offline

Board footer

Powered by FluxBB