-
-
Notifications
You must be signed in to change notification settings - Fork 192
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
Why do we default to -gpu swiftshader_indirect
if HAXM is supported by MacOS Latest?
#270
Comments
Yes that's the default, but you can override it including any other emulator options with But as far as I remember |
@ychescale9 Tried out |
This was the eventual error -- perhaps I'll increase the time and check if it will actually boot |
Increased time to 2 minutes and still no boot. Using |
This might help although I'm not too hopeful https://github.com/google/android-emulator-container-scripts |
@ychescale9 Funny thing is I helped update that readme before they open-sourced it from the internal repo. But I haven't checked it out much since. I really would prefer to run in Docker so things could be more portable. Thanks for the suggestion. It'd be a real shame if Hardware Acceleration couldn't be taken advantage of on the Github Actions/Azure runners. Will do more investigating... |
Turns out HAXM isn't supported by default. Ran
|
Added this because I couldn't find out why this was the case actions/runner-images#6388 We should also probably change the readme... 😞 |
Closing as HAXM is not pre-installed by macOS-11 or macOS-12. |
According to the readme, it seems the default GPU flag uses
-gpu swiftshader_indirect
, but this is the software acceleration which the Android Docs here say to try to use if Hardware Acceleration is not available. But, MacOS-Latest allegedly does support HAXM and Hardware Acceleration.Default emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim
I recommend not defaulting to this, or adding clarification in the readme.
The text was updated successfully, but these errors were encountered: