Giter VIP home page Giter VIP logo

Comments (8)

realitix avatar realitix commented on May 21, 2024

Hello @aarbour,
Thanks for opening this issue.
Sadly, I can't test on IOS but I can upgrade this wrapper to the last Vulkan version.

I let you know when it's done, and then you will be able to test again.

from vulkan.

realitix avatar realitix commented on May 21, 2024

I have updated the wrapper to the 1.1.71 version, can you try again please ?

from vulkan.

realitix avatar realitix commented on May 21, 2024

Ok I understand the problem, I don't load the MoltenVK shared library.
Can you give me the name of the MoltenVk Shared library ?

from vulkan.

adamarbour avatar adamarbour commented on May 21, 2024

So under the mac SDK download it is under the MoltenVK folder for both IOS and macOS. I am trying to use the macOS libs which has a:

  • libMoltenVK.dylib
  • MoltenVK.framework
  • MoltenVK_icd.json

These are specific to macOs purely because of Apple's lockdown of Metal. Let me know if you need more information.

from vulkan.

realitix avatar realitix commented on May 21, 2024

We are going to update the code as is to check if it works.
Can you try the following test on your computer and let me know if it's working:

  • Localize loaded version of vulkan (in your terminal):
python -c "import vulkan; print(vulkan)"

You should see the path to the __init__ file.

  • Open the file _vulkan.py next to the __init__ file.
  • Line ~97:
    Replace
_lib_names = ('libvulkan.so.1', 'vulkan-1.dll')

by

_lib_names = ('libvulkan.so.1', 'vulkan-1.dll', 'libMoltenVK.dylib')

It should work, and you can test it.
Let me know !

from vulkan.

adamarbour avatar adamarbour commented on May 21, 2024

Worked just fine. I followed the getting_started from the vulkan docs and put the libs in the appropriate folders. I am sure adding them to the path would render the same result.

image

from vulkan.

adamarbour avatar adamarbour commented on May 21, 2024

One note that I'll need to figure out is that running one of the examples, I get:

raise Exception("validation layers requested, but not available!")
Exception: validation layers requested, but not available!

I'll need to do some research but for now, the package loags.

from vulkan.

realitix avatar realitix commented on May 21, 2024

Ok, I'm adding it to the source code. Thanks!

from vulkan.

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.