LWJGL / lwjgl3

LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan, bgfx), audio (OpenAL, Opus), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR, OpenXR) applications.
https://www.lwjgl.org
BSD 3-Clause "New" or "Revised" License
4.67k stars 631 forks source link

ARM: GLFW error during init: [0x1000E] Failed to detect any supported platform #805

Closed hykilpikonna closed 1 year ago

hykilpikonna commented 1 year ago

Version

3.3.2 (nightly)

Platform

Linux arm64

JDK

OpenJDK 17.0.4

Module

GLFW

Bug description

When I tried to launch Minecraft with lwjgl 3.2.2 or 3.2.1 with ARM binaries, the GLFW initialization error 0x1000E "Failed to detect any supported platform" is thrown for both Wayland and Xorg on Manjaro ARM.

image

System information:

image

How to obtain the error message for Minecraft with jdb:

image image

Stacktrace or crash log output

-- System Details --
Details:
    Minecraft Version: 1.18.2
    Minecraft Version ID: 1.18.2
    Operating System: Linux (aarch64) version 5.19.1-2-MANJARO-ARM
    Java Version: 17.0.4, N/A
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 726472384 bytes (692 MiB) / 1358954496 bytes (1296 MiB) up to 8589934592 bytes (8192 MiB)
    CPUs: 6
    Processor Vendor: aarch64
    Processor Name:
    Identifier: aarch64 Family 8 Model 0xd08 Stepping r0x0p4
    Microarchitecture: unknown
    Frequency (GHz): -0.00
    Number of physical packages: 1
    Number of physical CPUs: 1
    Number of logical CPUs: 6
    Graphics card #0 name: unknown
    Graphics card #0 vendor: unknown
    Graphics card #0 VRAM (MB): 0.00
    Graphics card #0 deviceId: unknown
    Graphics card #0 versionInfo: unknown
    Virtual memory max (MB): 7736.75
    Virtual memory used (MB): 2149.75
    Swap memory total (MB): 5802.57
    Swap memory used (MB): 0.00
    JVM Flags: 1 total; -Xmx8192m
    Launched Version: xxx
    Backend library: LWJGL version 3.3.1 build 7
    Backend API: Unknown
    Window size: <not initialized>
    GL Caps: Using framebuffer using OpenGL 3.2
    GL debug messages: <disabled>
    Using VBOs: Yes
    Is Modded: Probably not. Client jar signature and brand is untouched
    Type: Client (map_client.txt)
    CPU: <unknown>

GPU OpenGL Info

image

hykilpikonna commented 1 year ago

Ok nevermind, it can't detect a display since I'm debugging the launcher over SSH. Launching it in a terminal in an actual screen worked.