-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Add GPU Passthrough (Metal) for GitHub-hosted macOS runners #7085
Comments
@ddobranic Yes I already linked that comment in the issue description, but it has been a while since then. There's always some way. The question is more the concrete why it's not technically possible and if it's worth the effort 😅 |
Hello! It is currently impossible due to runners' design, there is no any ETA on feature like this. |
@mikhailkoliada thank you! What do you mean by "impossible". As far as I'm aware the GPU on Apple Silicon chips is integrated. So it would only be a software limitation then. Would be helpful understanding, why something is not possible, instead of stating, that it is not possible. It's also fine to be a reason, that GH does not make any profit from it (maybe). |
@nebuk89 Do you also consider adding metal support in #2187, as GPU is shipped with the chip (?). Seems that other providers also manage to give access to the Metal GPU. Apple has discontinued support for OpenGL, thus developers need an alternative to test their apps: |
@mikhailkoliada would you mind elaborating on this? I'm not sure what virtualization strategy MacOS runners use, but it may be helpful to know that VMware (since Sonoma) and Parallels (since Big Sur) now both support hardware acceleration via Metal, too. |
Tool name
Metal
Tool license
Proprietary
Add or update?
Desired version
3
Approximate size
No response
Brief description of tool
Some tools such as Flutter 3.7 need GPU (Metal) support in order to execute the UI tests.
CC: @Steve-Glass
Related:
#1779
#1779 (comment)
#2014
Nested virtualization: #183
Flutter removes OpenGL support: flutter/flutter#108304
According issue: flutter/flutter#118469 (comment)
Apple Silicon / M1 support: github/roadmap#528
URL for tool's homepage
https://developer.apple.com/metal/
Provide a basic test case to validate the tool's functionality.
Platforms where you need the tool
Runner images where you need the tool
Can this tool be installed during the build?
Tool installation time in runtime
No response
Are you willing to submit a PR?
I don't think I can solve this
The text was updated successfully, but these errors were encountered: