Code Monkey home page Code Monkey logo

Comments (8)

BenBergman avatar BenBergman commented on May 28, 2024

I am experiencing the same issue. I am on macOS 10.14.5.

I also tried guide-image-clear.rs and guide-mandelbrot.rs which both export fully transparent images.

I know that vulkan and some version of vulkano are working on my machine as I am able to run the examples from the Nannou project which is vulkano based.

Let me know if I can provide any further info.

from vulkano-www.

BenBergman avatar BenBergman commented on May 28, 2024

I had a friend test the examples on a Windows machine and they work fine there, so it could be related to macOS. The fact that vulkano works in a nannou project is still odd, but maybe it uses an older version of vulkano where this bug isn't present.

from vulkano-www.

silmeth avatar silmeth commented on May 28, 2024

Perhaps this is an issue in the Vulkan → Metal translation layer (if you’re using MoltenVK, does the same happen with gfx-portability?).

from vulkano-www.

BenBergman avatar BenBergman commented on May 28, 2024

I can take a look later. Reading the readme is a bit unclear; is gfx-portability a replacement for MoltenVK that I need to install separate from running these examples?

from vulkano-www.

silmeth avatar silmeth commented on May 28, 2024

It is a Vulkan implementation on top of gfx-hal, which on Mac uses Metal, so in this sense yes, it is a replacement for MoltenVK. As I don’t have a Mac myself, can’t really help you install it.

I can point you to their releases where you can download the macOS package which contains libportability.dylib dynamic library which you should be able to use instead of the MoltenVK one.

If the problem is caused by a bug of MoltenVK, there is a chance that it will work with gfx-portability (on the other hand, if it is caused by some limitation of Metal, then both of them might have the same problems).

from vulkano-www.

BenBergman avatar BenBergman commented on May 28, 2024

Okay sounds good. I'll see what I can do to run these examples with gfx-portability then.

My brain is still hung up on the fact that I've got vulkan stuff working through nannou's vulkan examples which also use vulkano 0.13 and MoltenVK and I'm having a hard time figuring out why that might be.

from vulkano-www.

BenBergman avatar BenBergman commented on May 28, 2024

I haven't had a chance to try gfx-portability yet, but I did quickly try the triangle example from https://github.com/vulkano-rs/vulkano-examples (cargo run --bin triangle) and it runs just fine with extremely similar code.

from vulkano-www.

hakolao avatar hakolao commented on May 28, 2024

Closing this issue for it being 3 years old. It likely is no longer happening. However, please reopen if anyone experiences this still.

from vulkano-www.

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.