Problème lié au démarrage de minecraft

FoXiic_NeoZ

Aventurier
25 Juillet 2018
7
0
2
25
Bonjour, je suis sous ubuntu 18.04 et lorsque je lance le launcher minecraft cela fonctionne mais lorsque je lance le jeu rien ne se passe . Voici le détail du crash :
Code:
---- Minecraft Crash Report ----
// Shall we play a game?

Time: 7/25/18 2:25 AM
Description: Initializing game

java.lang.ExceptionInInitializerError
    at bib.av(SourceFile:661)
    at bib.aq(SourceFile:456)
    at bib.a(SourceFile:404)
    at net.minecraft.client.main.Main.main(SourceFile:123)
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 --
Thread: Client thread
Stacktrace:
    at bib.av(SourceFile:661)
    at bib.aq(SourceFile:456)

-- Initialization --
Details:
Stacktrace:
    at bib.a(SourceFile:404)
    at net.minecraft.client.main.Main.main(SourceFile:123)

-- System Details --
Details:
    Minecraft Version: 1.12.2
    Operating System: Linux (amd64) version 4.15.0-20-generic
    Java Version: 1.8.0_171, Oracle Corporation
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 71088920 bytes (67 MB) / 134217728 bytes (128 MB) up to 2147483648 bytes (2048 MB)
    JVM Flags: 7 total; -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    Launched Version: 1.12.2
    LWJGL: 2.9.4
    OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
    GL Caps:
    Using VBOs: Yes
    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>
 
Dernière édition par un modérateur:

robin4002

Expert en informatique et systèmes d'information
Staff
Responsable technique
Responsable forum
12 Novembre 2012
20 878
157
3 002
347
26
Alsace
www.minecraftforgefrance.fr
Un gpu assez commun et récent, étonnant que ça ne passe pas.
Tu as quoi comme session graphique, wayland ou xorg ? (si tu es sous la variante de base d'ubuntu, celle avec gnome, c'est lors de la connexion qu'il faut choisir entre xorg et wayland, si tu as actuellement wayland essais avec xorg).
 

FoXiic_NeoZ

Aventurier
25 Juillet 2018
7
0
2
25
glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.0.5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 18.0.5
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.0.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:
 

robin4002

Expert en informatique et systèmes d'information
Staff
Responsable technique
Responsable forum
12 Novembre 2012
20 878
157
3 002
347
26
Alsace
www.minecraftforgefrance.fr
Pas de problème non plus ici, c'est bien le résultat attendu.
De ce que je vois en cherchant sur google, ça peut du être au manque de xrandr.
Installes-le (via un apt install), cela devrait régler le problème.