Giter VIP home page Giter VIP logo

Comments (8)

TNT-King avatar TNT-King commented on July 29, 2024 27

Try just download windows lol

from mcxr.

WilsontheWolf avatar WilsontheWolf commented on July 29, 2024 9

Try just download windows lol

image

from mcxr.

Sorenon avatar Sorenon commented on July 29, 2024 1

I've made some headway with the compatibility layer. With it enabled MCXR (and presumably all other OpenGL applications) work just as well as Vulkan applications on SteamVR.

For the time being there may be some performance issues as I'm only using a very basic submit call for copying the interop swapchain to the OpenXR swapchain and I've only been able to test it with the Monado null driver as I don't have access to an Index or Vive.

from mcxr.

Sorenon avatar Sorenon commented on July 29, 2024

Hi sorry for the delayed response. This is an issue which I've been aware of for a few months now but I have not been able to make much progress beyond using the layer you mentioned.

As far as I know this crash is entirely due to SteamVR's shoddy OpenXR OpenGL support as MCXR works perfectly with Monado. Since applications like Vivecraft and Boneworks use OpenVR they are not affected by this.

As hello_xr does work (with the layer) I have tried rewriting MCXR to match it however it still crashes on the xrCreateSwapchain call (with a different crash message in Arabic for some reason).

The solution I am working on now is a different OpenXR layer which will request a Vulkan swapchain from SteamVR and use interop to pass those as OpenGL textures to the application. Since this is what SteamVR already does internally there shouldn't be much of a performance hit. This might seem like overkill but I am already working on a similar layer to allow MCXR, Blender and Godot to run directly on the Windows Mixed Reality runtime which only exposes DirectX 11/12 swapchains.

from mcxr.

technobaboo avatar technobaboo commented on July 29, 2024

For the record, that SteamVR OpenGL bug is NOT unique in any way, the exact same thing happens with StereoKit and is uber annoying

from mcxr.

LambdAurora avatar LambdAurora commented on July 29, 2024

For example Godot works too. But SteroKit and StardustXR doesn't. The problem is that I cannot use Monado because of a regression with the Nvidia drivers, which causes Monado to just segfault.

As hello_xr does work (with the layer) I have tried rewriting MCXR to match it however it still crashes on the xrCreateSwapchain call (with a different crash message in Arabic for some reason).

That's unfortunate and very weird, I wonder why MCXR is not able to reproduce. I wonder if rewriting hello_xr in Java could help pin out the issue? if it doesn't work with the Java version of it, it could be an issue somewhere in how Java interacts with the native part, which would be quite weird.

from mcxr.

technobaboo avatar technobaboo commented on July 29, 2024

stardust xr is based on stereokit so... yea of course it won't work :p

from mcxr.

technobaboo avatar technobaboo commented on July 29, 2024

from mcxr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.