Comments (8)
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.
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.
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.
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.
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.
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.
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.
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)
- Command buffer code in the guide doesn't work in vulkano-0.30
- Separate the windowing section into unresizable and resizable. HOT 1
- Update to version 0.31.0 HOT 3
- Translate to Chinese
- Buffer Creation API Out Of Date HOT 1
- Update Guide to 0.32 HOT 3
- vulkano.rs 503 Service unavailable error. HOT 2
- Couldn't compile the website (Rust 1.39+) HOT 2
- Couldn't compile the website (Docker) HOT 1
- Compute Operations code does not compile HOT 8
- Picture isn't showing
- Missing '&' HOT 1
- Possibly an Error in Guide HOT 1
- Fix typo in guide-buffer-creation.md
- 'Device extension "khr_storage_buffer_storage_class" required HOT 2
- Compute shader dispatch fails due to missing extension HOT 1
- vulkano 0.19 build failure in empty project HOT 3
- M1 Mac create instance failed HOT 2
- Mandelbrot set example fails HOT 2
- Outdated HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vulkano-www.