언어 설정

Menu
Sites
Language
tizen emulator No accelerator found on osx

when i run emualtor,with sdk2.3 an error take place.the error msg is hax is not install,then i install intel haxm with android sdk.and my avd is run correct.

but the tizen emulator still can't start.the error msg is no accelerator found.

 

my os is osx 10.9

this is my emulator log:

23:45:29.228191( 2229) [INFO:emul_state] set_emul_input_touch_enable
23:45:29.228728( 2229) [INFO:emul_state] set max touch point : 10
23:45:29.228739( 2229) [INFO:main] Emulator start !!!
23:45:29.229332( 2229) [INFO:main] display width option : 480
23:45:29.229347( 2229) [INFO:main] display height option : 800
23:45:29.229353( 2229) [INFO:emul_state] emulator graphic resolution : 480x800
23:45:29.229407( 2229) [INFO:main] * Board name : Maru
23:45:29.229416( 2229) [INFO:main] * Package Version: 2.1.29
23:45:29.229422( 2229) [INFO:main] * Package Maintainer: Sangho Park
23:45:29.229428( 2229) [INFO:main] * Git Head : f9e71aec2a9b5ed985374164b8119a47d4f47878
23:45:29.229434( 2229) [INFO:main] * Latest Git Tag : tizen_2.3.1_eap2 (tizen_2.3.1_eap2)
23:45:29.230227( 2229) [INFO:main] * User name : wiselyMac
23:45:29.230257( 2229) [INFO:main] * Host name : wiselyMacdeMac-Pro.local
23:45:29.230266( 2229) [INFO:main] * Build date : 2015-08-05 11:24:13 KST
23:45:29.230276( 2229) [INFO:main] * Current time : 2015-11-09 23:45:29
23:45:29.230281( 2229) [INFO:osutil] * Mac
23:45:29.230287( 2229) [INFO:osutil] * Host machine uname : Darwin wiselyMacdeMac-Pro.local 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64
23:45:29.233819( 2229) [INFO:osutil] * Machine model : MacPro3,1
23:45:29.233847( 2229) [INFO:osutil] * Machine class : x86_64
23:45:29.233857( 2229) [INFO:osutil] * Number of processors : 4
23:45:29.233865( 2229) [INFO:osutil] * Total memory : 2147483648 bytes
23:45:29.233872( 2229) [INFO:osutil] * Java version : java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
23:45:29.385070( 2229) [INFO:main] Prepare running...
23:45:29.385111( 2229) [INFO:main] tizen_target_img_path: /Users/wiselymac/tizen-sdk-data_2.3/emulator/vms/m-1109-1/emulimg-m-1109-1.x86
qemu args: =========================================
/Users/wiselymac/tizen-sdk_2.3/tools/emulator/bin/emulator-x86 -drive file=/Users/wiselymac/tizen-sdk-data_2.3/emulator/vms/m-1109-1/emulimg-m-1109-1.x86,if=virtio,index=1 -boot c -append console=ttyS0 video=LVDS-1:480x800-32@60 dpi=2330
ip=10.0.2.16::10.0.2.2:255.255.255.0::eth0:none vm_name=m-1109-1 -serial file:/Users/wiselymac/tizen-sdk-data_2.3/emulator/vms/
m-1109-1/logs/emulator.klog -smp 1 -m 512 -M maru-x86-machine -net nic,model=virtio,macaddr=52:54:00:12:34:56 -soundhw all -usb -vga
none -enable-vigs -L /Users/wiselymac/tizen-sdk_2.3/tools/emulator/data/bios -kernel /Users/wiselymac/tizen-sdk_2.3/tools/
emulator/data/kernel/bzImage.x86 -net user,dhcpstart=10.0.2.16 -rtc base=utc -drive file=/Users/wiselymac/tizen-sdk-data_2.3/
emulator/vms/m-1109-1/swap-m-1109-1.img,if=virtio,index=2 -enable-hax -vigs-backend gl -enable-yagl -yagl-backend vigs -device
virtio-esm-pci -device virtio-keyboard-pci -device virtio-evdi-pci,profile=mobile-2.3.1 -device maru-brightness -device virtio-
vmodem-pci -device virtio-hwkey-pci -device codec-pci -device virtio-nfc-pci -device virtio-power-pci -device maru-camera -device
virtio-touchscreen-pci,max_point=10 -device virtio-sensor-pci,sensors=accel&geo&gyro&light&proxi&haptic&press&uv&hrm -device
virtio-jack-pci,jacks=earjack&charger&usb

qemu args: =========================================
skin args: =========================================
width=480 height=800 skin.path=/Users/wiselymac/tizen-sdk_2.3/platforms/mobile-2.3.1/emulator-resources/skins/mobile-general-3btn
skin args: =========================================
23:45:29.385206( 2229) [INFO:main] socket initialize
23:45:29.385215( 2229) [INFO:main] qemu main start!
23:45:29.386760( 2229) [INFO:main] Prepare maru specified feature
23:45:29.386781( 2229) [INFO:main] Prepare_basic_features
23:45:29.386844( 2229) [INFO:sdb] port(26103) listen success
23:45:29.386866( 2229) [INFO:sdb] sdb port is 26100
23:45:29.386902( 2229) [INFO:osutil] shared memory key: 26100, value: /Users/wiselymac/tizen-sdk-data_2.3/emulator/vms/m-1109-1/emulimg-m-1109-1.x86
23:45:29.386963( 2229) [INFO:sdb] start sdb noti server thread.
23:45:29.386962( 2229) [INFO:ecs] ecs starts initializing.
23:45:29.387029( 2229) [INFO:ecs] Listen fd is 14
23:45:29.387042( 2229) [INFO:sdb] success to bind port[127.0.0.1:26103/udp] for sdb noti server in host
23:45:29.387060( 2229) [INFO:sdb] SDBD established on port 26101
23:45:29.387067( 2229) [INFO:sdb] redirect [tcp:26101::26101] success
23:45:29.387073( 2229) [INFO:sdb] Port(26101/tcp) listen for SDB
23:45:29.390919( 2229) [INFO:osutil] AUTO PROXY MODE
23:45:29.390951( 2229) [SEVERE:osutil] fail to get pacfile fp
23:45:29.390959( 2229) [INFO:osutil] MANUAL PROXY MODE
23:45:29.391093( 2229) [INFO:osutil] http proxy is null
23:45:29.391110( 2229) [INFO:osutil] https proxy is null
23:45:29.391118( 2229) [INFO:osutil] ftp proxy is null
23:45:29.391125( 2229) [INFO:osutil] socks proxy is null
23:45:29.391144( 2229) [INFO:main] Prepare_opengl_acceleration
INFO - Host OpenGL 2.1 - supported
INFO - + GL_VENDOR = NVIDIA Corporation
INFO - + GL_RENDERER = NVIDIA GeForce 315M OpenGL Engine
INFO - + GL_VERSION = 2.1 NVIDIA-8.18.27 310.40.05f01
INFO - Host OpenGL 3.1 - NOT supported
INFO - Host OpenGL 3.2 - supported
INFO - + GL_VENDOR = NVIDIA Corporation
INFO - + GL_RENDERER = NVIDIA GeForce 315M OpenGL Engine
INFO - + GL_VERSION = 3.3 NVIDIA-8.18.27 310.40.05f01
WARN - Guest OpenGL ES v1_CM - NOT supported
INFO - Guest OpenGL ES 2.0 - supported
INFO - Guest OpenGL ES 3.0 - supported
INFO - Host has hardware GL acceleration!
23:45:29.464391( 2229) [INFO:main] kernel command : console=ttyS0 video=LVDS-1:480x800-32@60 dpi=2330 ip=10.0.2.16::10.0.2.2:255.255.255.0::eth0:none vm_name=m-1109-1 sdb_port=26100, http_proxy= https_proxy= ftp_proxy= socks_proxy= dns1=10.0.2.3 vm_resolution=480x800 yagl=1 ram_size 20000000 Incompat Hax version. Qemu current version 3 requires least HAX version 3 failed to initialize HAX: Invalid argument The error message is registered = 0 : No accelerator found.
23:45:29.464719( 2229) [INFO:sdb] shutdown sdb notification server.
23:45:29.464762( 2229) [INFO:ecs] ecs is closing.
23:45:34.388247( 2229) [INFO:ecs] ### Good bye! ECS ###
23:45:34.388318( 2229) [INFO:ecs] close listen_fd: 14
23:45:34.388434( 2229) [INFO:main] Exit emulator...
23:45:34.388459( 2229) [INFO:skin_client] run simple client
23:45:34.388470( 2229) [INFO:skin_client] bin directory : /Users/wiselymac/tizen-sdk_2.3/tools/emulator/bin/
23:45:34.388478( 2229) [INFO:skin_client] skin command length : 209
23:45:34.388488( 2229) [INFO:skin_client] command for swt : java -XstartOnFirstThread -jar -Djava.library.path="/Users/wiselymac/tizen-sdk_2.3/tools/emulator/bin/" "/Users/wiselymac/tizen-sdk_2.3/tools/emulator/bin/emulator-skin.jar" simple.msg="No accelerator found."
23:45:37.535031( 2229) [INFO:skin_client] child return value : 0
23:45:37.535090( 2229) [INFO:backtrace] normal exit called
23:45:37.535111( 2229) [SEVERE:backtrace] Backtrace depth is 9.
0 emulator-x86 0x00000001002fdcdb maru_atexit + 123
1 libsystem_c.dylib 0x00007fff8cc39834 __cxa_finalize + 164
2 libsystem_c.dylib 0x00007fff8cc39aec exit + 22
3 emulator-x86 0x000000010019ec3b qemu_main + 23611
4 emulator-x86 0x00000001002df0c6 legacy_emulator_main + 2198
5 emulator-x86 0x00000001002de6b9 main_thread + 1513
6 libsystem_pthread.dylib 0x00007fff9029b899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff9029b72a _pthread_struct_init + 0
8 libsystem_pthread.dylib 0x00007fff9029ffc9 thread_start + 13

Responses

8 댓글
Marco Buettner

Dont install the Intel HAXM vom Android SDK, use the Tizen Intel HAXM ;)
https://developer.tizen.org/development/tools/download/installing-sdk/hardware-accelerated-execution-manager

wisely lee

yes,i have install haxm just like you mention.if you notice the error msg

Incompat Hax version. Qemu current version 3 requires least HAX version 3
failed to initialize HAX: Invalid argument
Doug Reeder

I installed tizen-web-ide_TizenSDK_2.4.0_macos-64.dmg under OS X 10.9.5, and when I tried to run the Emulator, it complained about HAXM not being installed.

 

So I followed the directions at https://developer.tizen.org/development/tools/download/installing-sdk/hardware-accelerated-execution-manager and now I get the same error messsage:

Incompat Hax version. Qemu current version 3 requires least HAX version 3


How do I resolve this?  Can the Emulator be run without HAXM entirely?

Jeeho Yoo

I think that former HAXM should be deleted before Tizen HAXM installation.

 

1. Move to /System/Library/Extensions/intelhaxm.kext/Contents/Resources', and type 'sudo ./uninstall.sh'

2. Move to /Library/Extensions/intelhaxm.kext/Contents/Resources', and type 'sudo ./uninstall.sh'

 

One of above commands may help you.


 

 

wisely lee

i'm  tryed you mentioned ,and i find a weird things.there is no intelhaxm.kext in /System/Library/Extensions dir also no /Library/Extensions/intelhaxm.kext exists,i just can't find where the intelhaxm kext placed.i'm sure i installed intel haxm.

my intel haxm version is 1.1.5

wisely lee

below is my install log,if this can figure out the reason

<div style="backgound:#aa99aa">

 1    /dev/disk1              GUID_partition_scheme              <br/>

     2    /dev/disk1s1            Apple_HFS                          /Volumes/com_intel_kext_haxm_disc <br/>

     3    mpkg_file=/Volumes/com_intel_kext_haxm_disc//IntelHAXM_1.1.5.mpkg <br/>

     4    ecx 1fbae3bf <br/>

     5    edx 28100800 <br/>

     6    edx 28100800 <br/>

     7    No emulator instance exist! <br/>

     8    sed: /Library/Extensions/intelhaxm.kext/Contents/Resources/support.txt: No such file or directory <br/>

     9    Intel HAXM: This is a new installation <br/>

    10    installer: Package name is Intel(R) Hardware Accelerated Execution Manager <br/>

    11    installer: Upgrading at base path / <br/>

    12    installer: The upgrade was successful. <br/>

    13    "disk1" unmounted. <br/>

    14    "disk1" ejected. <br/>

    15    HAXM silent installation finished!  <br/>

    16    *************** Silent installation Pass ! ****************

</div>

Jeeho Yoo

I guess that the haxm was not insalled, or installed abnormally.

 

You can find install path of haxm with bellow command :

 

1. sudo su(password input will be needed)

2. find / -name "intelhaxm.kext"

 

And please run uninstall.sh script under [...]/intelhaxm.kext/Contents/Resources.

Doug Reeder

FWIW, the problem was reolved for me by this week's Emulator update.  The Emulator runs; abeit on startup it shows the error message "unable to launch org.tizen.homescreen".  The built-in apps appear to run normally.