Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS support with container? #1283

Open
NeroHin opened this issue Jan 5, 2025 · 6 comments
Open

macOS support with container? #1283

NeroHin opened this issue Jan 5, 2025 · 6 comments
Labels
state:Backlog This issue will be worked on in the future

Comments

@NeroHin
Copy link

NeroHin commented Jan 5, 2025

Hello, thank you for sharing such a great project!
I noticed in the README that the project supports Windows and Linux, and it mentions the ability to run on macOS using a container.

I would like to confirm if the project currently fully supports running on macOS via a container.
If it does, are there any specific instructions or known issues for macOS users?

Thank you very much for your response!

@github-actions github-actions bot added the state:Backlog This issue will be worked on in the future label Jan 5, 2025
@k4yt3x
Copy link
Owner

k4yt3x commented Jan 5, 2025

I recall someone said they got it to run on a mac with the container, but I'm not sure if they were using an Intel mac or Apple silicon. I don't have a mac so I'll need to find someone with a mac to confirm it.

@robertgzr
Copy link

the container image provided by the repo might work on intel macs but to run it on apple silicon it would need to support linux/arm64 architecture.

then it could be run via podman-machine with libkrun: https://podman-desktop.io/docs/podman/gpu

@k4yt3x
Copy link
Owner

k4yt3x commented Jan 8, 2025

@robertgzr does Vulkan work without MoltenVK magic?

@robertgzr
Copy link

@k4yt3x the podman-machine tool that lets you run linux containers on macos has support for
translating vulkan → moltenvk

from the link i posted:

Important to note that using the "Metal" GPU on macOS utilizes specialized software to achieve this. Specifically a virtualized GPU from within the Podman Machine that provides translation support from Vulkan and MoltenVK calls to MSL (Metal Shading Language), Apples GPU.

@k4yt3x
Copy link
Owner

k4yt3x commented Jan 8, 2025

Oh awesome, so it would work then? The only thing needed is to compile the program for ARM64?

@robertgzr
Copy link

looks like it :) i can give it a go once an arm image is available!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:Backlog This issue will be worked on in the future
Projects
None yet
Development

No branches or pull requests

3 participants