MCXR Linux is not working with SteamVR
See original GitHub issueMCXR doesn’t work on Linux with SteamVR (1.14 or 1.21.4) with NVIDIA GPUs.
Either the bindings or MCXR has an implementation issue since other OpenXR-based VR games has been confirmed working with the same setup (Boneworks, hello_xr for example).
All testing had to be done using https://github.com/ChristophHaag/gl_context_fix_layer, without the game would get stuck due to the OpenGL context being changed and Minecraft not fetching it back, meaning all remaining draw commands will get executed “in the void”.
With the context fix layer, the game simply crashes:
[17:15:50] [Render thread/INFO]: OpenAL initialized on device JACK Default
[17:15:50] [Render thread/INFO]: Sound engine started
[17:15:50] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/blocks.png-atlas
[17:15:51] [Render thread/INFO]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas
[17:15:51] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[17:15:51] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[17:15:51] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[17:15:51] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[17:15:51] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[17:15:52] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
[17:15:52] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[17:15:52] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas
XR_APILAYER_HAAGCH_gl_context_fix:: : Using API layer: XR_APILAYER_HAAGCH_gl_context_fix
XR_APILAYER_HAAGCH_gl_context_fix:: : loader API version min: 1.0.0. max: 1.1023.4095.
XR_APILAYER_HAAGCH_gl_context_fix:: : loader interface version min: 0.0.1. max: 0.0.1.
XR_APILAYER_HAAGCH_gl_context_fix:: graphics binding: XR_KHR_opengl_enableXR_APILAYER_HAAGCH_gl_context_fix:: : Created api layer instance for app [MCXR] Minecraft VR
[17:15:54] [Render thread/INFO]: Found device with id: 1152950633075048966
[17:15:54] [Render thread/INFO]: Headset Name:SteamVR/OpenXR : lighthouse Vendor:10462
[17:15:54] [Render thread/INFO]: Headset Orientation Tracking:true Position Tracking:true
[17:15:54] [Render thread/INFO]: Headset Max Width:1512 Max Height:1680 Max Layer Count:16
XR_APILAYER_HAAGCH_gl_context_fix:: _xrCreateSession
XR_APILAYER_HAAGCH_gl_context_fix:: GLX graphics binding: display 0x7efc99fed5c0, drawable 155189257, context 0x7efc9a1dedc8
[17:15:55] [Render thread/INFO]: OpenGL debug message: id=1282, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_OPERATION error generated. Texture name does not refer to a texture object generated by OpenGL.'
[17:15:55] [Render thread/ERROR]: Exception caught while initializing OpenXR
net.sorenon.mcxr.play.openxr.XrRuntimeException: xrCreateSwapchain returned:XR_ERROR_RUNTIME_FAILURE
at net.sorenon.mcxr.play.openxr.OpenXRInstance.check(OpenXRInstance.java:152) ~[mcxr-play-0.1.1.jar:?]
at net.sorenon.mcxr.play.openxr.OpenXRSession.createSwapchains(OpenXRSession.java:153) ~[mcxr-play-0.1.1.jar:?]
at net.sorenon.mcxr.play.openxr.OpenXR.tryInitialize(OpenXR.java:71) [mcxr-play-0.1.1.jar:?]
at net.minecraft.class_442.handler$zik000$render(class_442.java:562) [client-intermediary.jar:?]
at net.minecraft.class_442.method_25394(class_442.java:290) [client-intermediary.jar:?]
at net.minecraft.class_757.method_3192(class_757.java:875) [client-intermediary.jar:?]
at net.minecraft.class_310.method_1523(class_310.java:1117) [client-intermediary.jar:?]
at net.minecraft.class_310.redirect$zje000$loop(class_310.java:6628) [client-intermediary.jar:?]
at net.minecraft.class_310.method_1514(class_310.java:733) [client-intermediary.jar:?]
at net.minecraft.client.main.Main.main(Main.java:238) [client-intermediary.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:608) [fabric-loader-0.12.12.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77) [fabric-loader-0.12.12.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.12.12.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210) [NewLaunch.jar:?]
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245) [NewLaunch.jar:?]
at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?]
at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?]
And SteamVR displays this:
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
mcxr-org/MCXR: VR minecraft mod using OpenXR and fabric
A virtual reality / augmented reality mod for Minecraft using OpenXR and Fabric. Links. Discord for troubleshooting or talking about the mod; Support ......
Read more >MCXR Play - Mods - Minecraft - CurseForge
Known Issues. Canvas is incompatible with MCXR Play; MCXR Play crashes on SteamVR on Linux, this can be mitigated with an OpenXR Layer;...
Read more >MCXR Play - Minecraft Mod - Modrinth
Known Issues. Canvas is incompatible with MCXR Play; MCXR Play crashes on SteamVR on Linux, this can be mitigated with an OpenXR Layer;...
Read more >Issues with Minecraft VR for Windows 10 : r/WindowsMR
You're better off using java edition for VR, bedrock has lots of issues. MCXR is a really good VR mod that runs on...
Read more >How to install Vivecraft (Minecraft VR) 2022 - YouTube
Minecraft VR (vivecraft): http://www.vivecraft.org/ Steam : https://store.steampowered.com/Oculus Set Up: https://www.oculus.com/setup/Helpful ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Try just download windows lol