question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why do we default to `-gpu swiftshader_indirect` if HAXM is supported by MacOS Latest?

See original GitHub issue

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.

  1. Is this really the default that the ReactiveCircus/Android-Emulator-Runner uses?
  2. Or is this only used an example in the readme? The wording is confusing, because it says the default emulator options are 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.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mrk-hancommented, Oct 6, 2022

@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…

0reactions
mrk-hancommented, Oct 19, 2022

Closing as HAXM is not pre-installed by macOS-11 or macOS-12.

See: https://github.com/actions/runner-images/issues/6388

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configure hardware acceleration for the Android Emulator
Hardware acceleration is enabled by default on most machines. If it isn't ... If your GPU hardware and drivers are compatible, the emulator...
Read more >
Update/Add HAXM to macOS 11 and macOS 12 agents #6388
Why do we default to -gpu swiftshader_indirect if HAXM is supported by MacOS Latest? ReactiveCircus/android-emulator-runner#270.
Read more >
Hardware Acceleration for Emulator Performance (Hyper-V ...
This article explains how to use your computer's hardware acceleration features to maximize Android Emulator performance.
Read more >
Intel HAXM on macOS high sierra (10.13) - Stack Overflow
I was able to install Intel HAXM drivers on my Mac using the ... If Intel HAXM is operating correctly, the command will...
Read more >
Setting up Android x86 HAXM Emulators - YouTube
Here is my walk through of creating Android emulators!!!Follow:GitHub: https://github.com/jamesmontemagnoTwitter: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found