Skip to content

Attempting to use Wayland without access #784

@C03Player

Description

@C03Player

Describe the bug

The default flatpak settings for the minecraft launcher disallow access to the wayland socket and the mod attempts to use it anyway

Steps to reproduce

run the game through flatpak without explicitly enabling the wayland socket

Log files

[16:48:19] [main/INFO]: Loading Minecraft 1.21.11 with Fabric Loader 0.18.5
[16:48:19] [main/INFO]: Loading 27 mods:
- fabricloader 0.18.5
-- mixinextras 0.5.3
- java 21
- minecraft 1.21.11
- vulkanmod 0.6.2
|-- fabric-api-base 1.0.5+4ebb5c083e
|-- fabric-block-view-api-v2 1.0.39+4ebb5c083e
|-- fabric-lifecycle-events-v1 2.6.15+4ebb5c083e
|-- fabric-renderer-api-v1 8.0.0+f4ffd2e53e
|-- fabric-rendering-fluids-v1 3.1.43+4ebb5c083e
|-- fabric-rendering-v1 16.2.7+f4ffd2e53e
|-- fabric-resource-loader-v0 3.3.4+4fc5413f3e
|-- fabric-resource-loader-v1 1.0.10+78c8b4663e
|-- fabric-transitive-access-wideners-v1 7.0.8+0107c3da3e
|-- org_lwjgl_lwjgl-shaderc 3.3.3
|-- org_lwjgl_lwjgl-shaderc_natives-linux 3.3.3
|-- org_lwjgl_lwjgl-shaderc_natives-macos 3.3.3
|-- org_lwjgl_lwjgl-shaderc_natives-macos-arm64 3.3.3
|-- org_lwjgl_lwjgl-shaderc_natives-windows 3.3.3
|-- org_lwjgl_lwjgl-vma 3.3.3
|-- org_lwjgl_lwjgl-vma_natives-linux 3.3.3
|-- org_lwjgl_lwjgl-vma_natives-macos 3.3.3
|-- org_lwjgl_lwjgl-vma_natives-macos-arm64 3.3.3
|-- org_lwjgl_lwjgl-vma_natives-windows 3.3.3
|-- org_lwjgl_lwjgl-vulkan 3.3.3
|-- org_lwjgl_lwjgl-vulkan_natives-macos 3.3.3
-- org_lwjgl_lwjgl-vulkan_natives-macos-arm64 3.3.3
[16:48:20] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.7 Source=file:/home/john/.var/app/com.mojang.Minecraft/.minecraft/libraries/net/fabricmc/sponge-mixin/0.17.0+mixin.0.8.7/sponge-mixin-0.17.0+mixin.0.8.7.jar Service=Knot/Fabric Env=CLIENT
[16:48:20] [main/INFO]: Compatibility level set to JAVA_21
[16:48:20] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.5.3).
[16:48:21] [Datafixer Bootstrap/INFO]: 287 Datafixer optimizations took 345 milliseconds
[16:48:24] [Render thread/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, profilesHost=https://api.mojang.com, name=PROD]
[16:48:24] [Render thread/INFO]: Setting user: OpenCV
[16:48:24] [Render thread/INFO]: == VulkanMod ==
[16:48:24] [Render thread/INFO]: Selecting Platform: WAYLAND
[16:48:24] [Render thread/INFO]: GLFW: 3.4.0 Wayland X11 GLX Null EGL OSMesa monotonic shared
[16:48:24] [Render thread/WARN]: Failed to get system info for Render Extensions
java.lang.IllegalStateException: Can't getDevice() before it was initialized
at knot//com.mojang.blaze3d.systems.RenderSystem.getDevice(RenderSystem.java:299)
at knot//net.minecraft.class_310.method_68671(class_310.java:2527)
at knot//net.minecraft.class_6396.method_37123(class_6396.java:78)
at knot//net.minecraft.class_310.method_37274(class_310.java:2527)
at knot//net.minecraft.class_310.method_22681(class_310.java:2497)
at knot//net.minecraft.client.main.Main.main(Main.java:243)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:514)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:72)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions