Future help for anyone with Minecraft OPEN_GL startup issue

Here you'll find a place for solutions and hints.

Please use one of the support subforums below for questions or if you have any issues and need support.

Future help for anyone with Minecraft OPEN_GL startup issue

Postby bri280 » Nov 7th, '15, 21:33

Hi - I wanted to share since it took some time to find the solution and I want to save other Mageia users some Googling if they come here first.

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. :roll:

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
bri280
 
Posts: 2
Joined: Nov 7th, '15, 21:15

Re: Future help for anyone with Minecraft OPEN_GL startup is

Postby doktor5000 » Nov 8th, '15, 01:32

Thanks for sharing :)
bri280 wrote:For package maintainers: is this possibly something to package with openjdk (required for Minecraft) or nvidia packages?

Well, technically neither of those two requires xrandr, so that would be wrong.
Generally speaking, it should be added to their support page, wiki or in the forums. As currently, nothing can be found there about xrandr ...
But I'll try to see what can be done about that on our side, as xrandr is frequently required.

FWIW, do you happen to remember if you only installed the xrandr package itself, or did it also install the lix(64)xrandr2 package?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Future help for anyone with Minecraft OPEN_GL startup is

Postby bri280 » Nov 8th, '15, 04:37

Just xrandr was installed.

Agree, not technically a requires :)
bri280
 
Posts: 2
Joined: Nov 7th, '15, 21:15


Return to The magician suggests...

Who is online

Users browsing this forum: No registered users and 1 guest