For package maintainers: is this possibly something to package with openjdk (required for Minecraft) or nvidia packages?
Problem:
You have children, therefore you have to get Minecraft on your system at some point.
Symptoms:
When opening Minecraft you may get this error (btw: this box was Latitude E6510 which uses a NVIDIA driver:
- Code: Select all
---- Minecraft Crash Report ----
// But it works on my machine.
Time: 11/7/15 1:59 PM
Description: Initializing game
java.lang.ExceptionInInitializerError
at ave.ar(SourceFile:560)
at ave.am(SourceFile:361)
at ave.a(SourceFile:310)
at net.minecraft.client.main.Main.main(SourceFile:124)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes(LinuxDisplay.java:951)
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:738)
at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
... 4 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at ave.ar(SourceFile:560)
at ave.am(SourceFile:361)
-- Initialization --
Details:
Stacktrace:
at ave.a(SourceFile:310)
at net.minecraft.client.main.Main.main(SourceFile:124)
-- System Details --
Details:
Minecraft Version: 1.8.8
Operating System: Linux (amd64) version 4.1.8-desktop-1.mga5
Java Version: 1.8.0_65, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 36443448 bytes (34 MB) / 155590656 bytes (148 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 5 total; -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Launched Version: 1.8.8
LWJGL: 2.9.4
OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
GL Caps:
Using VBOs: No
Is Modded: Probably not. Jar signature remains and client brand is untouched.
Type: Client (map_client.txt)
Resource Packs:
Current Language: ~~ERROR~~ NullPointerException: null
Profiler Position: N/A (disabled)
CPU: <unknown>
The main error you care about being:
- Code: Select all
OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
Long story short, you want to install this package:
- Code: Select all
urpmi xrandr
Hope this helps someone in the future using Mageia - and big thanks to phraktal on the Arch forum where I found the answer at (xorg_xandr package over there):
https://bbs.archlinux.org/viewtopic.php?id=184190