Skip to content
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

GPU issues in Kali VM #5

Open
1ultimat3 opened this issue Dec 5, 2016 · 7 comments
Open

GPU issues in Kali VM #5

1ultimat3 opened this issue Dec 5, 2016 · 7 comments

Comments

@1ultimat3
Copy link

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
@sfarletti
Copy link

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

@lexaz777
Copy link

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

@lexaz777
Copy link

nathan_x86.txt

@lexaz777
Copy link

Here is a log file

@sfarletti
Copy link

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:

  1. Uncheck "Enable 3D Acceleration" from Settings -> Display of your Kali Box
  2. Open the file start.py under nathan/commands folder
  3. Edit the line EMULATOR_OPT_START replacing the flag "-gpu on" in "-gpu off"
  4. Edit the file config.ini under nathan/nathan_x86 folder
  5. 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

@lexaz777
Copy link

Thanks, emalator have started to work. But Nathan shows only it's own screen. There are no usual Android menu, icons (

@sfarletti
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants