nathan
nathan copied to clipboard
GPU issues in Kali VM
I am trying to run the emulator on Kali. After running python nathan.py init
and then python nathan.py -v start
I receive the following output:
...
emulator: android_hw_fingerprint_init: fingerprint qemud listen service initialized
emulator: Skipping metrics reporting: No user opt-in.
emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
emulator: Done with QEMU main loop
emulator: User-config was not changed.
Nathan closed. Byebye
Hello @mateuszk87
Can you please provide more information about your configuration? Which version of Kali are you running? Is kali running in a virtual machine or not? Do you have a GPU from nvidia or ati? if yes, are you drivers up to date? Thanks
Hi, I have the same problem, as mateuszk87 described. I try start emulator in Kali Linux 2016.2 , installed inside the VirtualBox 5.1.10. Host system has configuration: CPU - Intel Core i5 3.2 GHz RAM - 8Gb GPU - Intel HD Graphics 4600
Here is a log file
Hi @lexaz777
Unfortunately VirtualBox has several "nested virtualization" issues so far. You can read more about it from this ticket https://www.virtualbox.org/ticket/4032 Anyway , if you want to give it a try you have to:
- Uncheck "Enable 3D Acceleration" from Settings -> Display of your Kali Box
- Open the file start.py under nathan/commands folder
- Edit the line EMULATOR_OPT_START replacing the flag "-gpu on" in "-gpu off"
- Edit the file config.ini under nathan/nathan_x86 folder
- Replace
skin.name=1080x1920 skin.path =1080x1920
with
skin.name =768x1280
skin.path =768x1280
run nathan.
By the way we recommend to use VMWare for nested virtualization. In order to run nathan flawless under VMWare you just have to check the flag "Enable hypervisor applications for this virtual machine" under Processors -> Advanced Options
Cheers
Thanks, emalator have started to work. But Nathan shows only it's own screen. There are no usual Android menu, icons (
If you look carefully you will noticed that it's loading insanely slow. Unfortunately we will be able to provide a good user experience in Virtualbox only when those nested virtualization issues will be fixed. You can still run Nathan in Kali using VMWare, or outside a virtual environment.
Cheers