Genymotion Android emulator laggy on Macbook - macos

I've been using genymotion for android react-native development but the emulator is so mind numbingly slow compared to the xcode ios emulator.
mbp specs
2.5ghz i7
16gb ram
intel iris plus 640
500gb ssd
genymotion specs
genymotion 3.0.0
google pixel emulator
processors 4
memory size 4096
virtual box 5.2.22
I had virtual box 6.x before but found a stack thread suggesting downgrading to the recommended version but it didn't fix anything.
The emulator works fine and boots relatively quick - all the animations however are very laggy and make it a pain to use
Looking for any recommendations, thanks
edit: I've tried reducing processors to 2 as virtual box was attempting to use 4 (default) but I have a dual core laptop, performance increased slightly - but still far off from the ios emulator

Have you tried using an older version of Android? I heard reports of users finding the latest versions (especially Android 9.0) to be slow on macOS. This should be fixed in Genymotion Desktop 3.1.0.

Related

Ubuntu 20.4 Asus Tuf Dash F15 Can't Install Nvidia Driver

I have installed a fresh version of Ubuntu 20.4 on my band new Asus Tuf Dash F15 laptop. Then I went into the software update settings and switched the driver to nvidia-460 proprietary using the GUI. I apply the changes and restart and I get stuck at a boot loading screen. The error is /dev/nvm1e0 clean: xxxblocks/xxx.
Specs: Nvidia RTX 36060 mobile Intel i7 40gb ram 1tb storage
I have tried installing the nvidia drivers 4 different ways, according to the nvidia official installation guide and multiple medium forums. Every time I get the same problem and have to alt+shift+f2 my way into the terminal to sudo apt-get purge nvidia* to be able to boot back in.
I've installed nvidia diver on ubuntu many other times according to the nvidia official docs and never ran into this error. I am concerned it may be hardware incompatibility at this point?
I've been trying for five days now and re-installed ubuntu multiple times, varying the partitions and installation methods. Everything is working fine until I try and switch to nvidia driver. I even tried some older and new driver versions and the nvidia cuda toolkit 10 and 11. Please help, thank you.

Android emulator start makes Mac unresponsive

I'm trying to set up an android emulator on a brand new MacBook Pro (2019 late i7 6-core (Intel(R) Core(TM) i7-9750H CPU # 2.60GHz), Radeon 555x).
When I set up an emulator always happens the same: Emulator starts to boot and mac become unresponsive (trackpad becomes a brick. Then the Mac system restarts with no error report just with "BAD MAGIC! (flag set in iBoot panic header), no macOS panic log available" message.
What I tried: Reinstall HAXM, different versions of HAXM, different versions of the android studio (inc. 4.0.1 canary), different versions of AVD, all above using homebrew, using software graphic, more RAM, and clean iOS reinstall too (with full clear). Genymotion also failed.
On Windows, after a clean install (boot camp) the same happens. ARM-based emulators can start, but they are extremely slow.
I've reset SMC, NVRAM and diagnostics say everything is fine...
All suggestion is appreciated.
Updates:
Current MacOS version: 10.15.3 (19D76)
I also tried backing up the wrong mac and restore on another MBP, in this case, it worked on the other MBP.
I tried to remove these folders one by one:
• ~/Library/InputMethods
• ~/Library/InputManagers
• ~/Library/Caches
• ~/Library/Containers
• ~/Library/Application Support
• ~/Library/Preferences
• /Library/LaunchAgents
• /Library/LaunchDaemons
• /Library/StartupItems
• /Library/InputMethods
• /Library/InputManagers
Tried in safe mode,
with other emulators (genymotion, bluestacks),
under a virtual machine (VMware and VirtualBox with ubuntu) when
the emulator starts the same happens.
tired under Catalina
Contacted intel, they said: "Apple has explicitly requested all support inquiries or issues to be addressed directly to them"
Contacted Apple (million times... for 6 months) they said: "Since the problem is caused by a third party application, there is limited protection or support to provide." After using capture data, their engineers have found out that the issue may be caused by "com.intel.haxm" (like I said, surprise!)
Have you checked the crash logs (/Library/Logs/DiagnosticReports/*.panic)? If the problem is due to the graphics driver, try using a utility to force your Macbook to use low-powered graphics instead of the AMD card. I personally use gSwitch.
The issue was clearly CPU related. We've found some similar cases with the same CPU, so the resolution was replacing my MBP.
check your source code, it might be some background processing and/or infinite loops.

Xcode 8.2.1 iOS simulator slow

I bought a new mac book pro.
System features:
2.0GHz dual-core Intel Core i5 processor, Turbo Boost up to 3.1GHz
8GB 1866MHz memory
256GB PCIe-based SSD
Intel Iris Graphics 540
Two Thunderbolt 3 ports
MacOs Sierra 10.12.1
You can see the details from here
My problem is, I installed xcode 8.2.1 and tested it. It's really fast, but there's slowdown in the simulator. Deceleration is not in page transitions, but in scrolling actions.I've tried both the iOS 9.0 and the iOS 10.2 simulator, but the situation is the same.
I have found a solution that I have researched. "Close the debug-slow animations option in the simulator" but this is not the case.
I do not know if the issue is related to xcode or sierra, but I do not think it's about hardware. I tried it for Android emulator, but it worked very fast. I do not know if there is a connection, but I think that if the hardware is inadequate, it should work slowly in the android emulator.
Do you have an idea on this?

Mac OS X Lion 10.7.2 Xcode 4.2 memory issues

I've got MacBook Pro 2011, 15" i7 2GHz 8GB Ram 1333 MHz OS X Lion 10.7.2 all updates installed released to this date.
I have done everything what I can to minimize RAM consumpsion and the only problem I've got at this point is when I run Xcode. I had 4gigs of RAM, than bought 8 gigs and always 've got 10-30 MB of free memory after 3-5 minutes of Xcode running and PAGE INS are 300MB - 700MB. I tried to switch to 32-bit running mode but no change. Can anybody help me please?
Yes. One way is to disable indexing, another is to reduce the number of build processes. These are hidden preferences in Xcode 4 which I have detailed here:
Hidden Features of Xcode 4
I've also made a pretty extensive write up for improving and working with Xcode's resource issues:
Why are xcodebuild and Xcode 4.2 so slow?

Minimum spec for Xcode 4?

So after deciding to install Xcode 4 on my '09 mac mini because of how useful its instruments feature is (opengl stuff), it turns out that my mac mini only barely manages to run it.
In other words, it's crippled. I'm still here waiting for my program to run on the iPhone, and it's stuck with some "NSAutoreleaseNoPool" message.
The thing is, normally I would ask on how to fix that message, but currently XCode itself is frozen and not responding to anything.
Will upgrading from this old mac mini (it only has 1GB ram) alleviate this issue? Would the new mac mini with a 4GB ram upgrade suffice? IIRC it's core 2 duo 2.25ghz as opposed to my current 1.83ghz, would that make enough difference?
edit: not to mention, indexing cripples the performance to an extreme level
Especially when dealing with running VMs (i.e. an iPhone/iOS emulator), RAM is usually the choke point in my past experience.
I would think 4 Gigs of RAM should do it just fine. My Mac Book Pro has 4 Gigs of RAM and runs android emulators all the time and I'm still able to multitask.
Go into an Apple store and tell the guy you wanna demo the latest gen Mac Mini running XCode and its emulators and see if the performance if worth the investment. Its all Apple hardware/software so I don't see why they can't help you out.
8GB Ram
Since you can get already even 16GB Ram in Mac Mini (at least the newest), I cannot see why not take it? More here. Related threads mention very painful experiences with 1/2/4Gt particularly with Xcode 4. As far as I see it, 8Gt is becoming really a must-have, particularly when Xcode turns to 5.
Xcode 4 experiences
Minimum spec for Xcode 4?
http://www.cocoabuilder.com/archive/xcode/303406-xcode-4-system-requirement.html
https://apple.stackexchange.com/questions/14923/what-is-the-minimum-hardware-needed-to-run-xcode-4
Similar gettings slow threads
Xcode 4 configure to use less RAM?
Xcode suddenly very slow

Resources