Hi, I'm running Arch Linux and have the SDK r24.3.4 on my system. When I 
try to start the emulator with the "Use Host GPU" option, the emulator 
window never opens on my desktop. The emulator process is running at 100% 
CPU but I can't connect with adb or telnet to the emulator console. 
Starting with -verbose doesn't give any indication that anything is wrong. 

I just updated yesterday to the latest of everything. Prior to updating, I 
was on a 3.14 kernel and (whatever older versions of the system/libraries) 
and the emulator would work once. I.e., the first startup would work using 
the GPU, all subsequent startups would just spin the CPU with no window 
drawn. The current version is 

Linux gamba 4.1.5-1-ARCH #1 SMP PREEMPT Tue Aug 11 15:41:14 CEST 2015 
x86_64 GNU/Linux

Does anyone have any fix for this?



-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
LD_LIBRARY_PATH=tools/lib64 tools/emulator64-arm -avd test2 -verbose
emulator: found SDK root at /home/software/android-sdk-linux
emulator: Android virtual device file at: /home/hyc/.android/avd/test2.ini
emulator: virtual device content at /home/hyc/.android/avd/test2.avd
emulator: virtual device config file: 
/home/hyc/.android/avd/test2.avd/config.ini
emulator: using core hw config path: 
/home/hyc/.android/avd/test2.avd/hardware-qemu.ini
emulator: Found AVD target API level: 23
emulator: Read property file at 
/home/software/android-sdk-linux/system-images/android-23/google_apis/armeabi-v7a//build.prop
emulator: No boot.prop property file found.
emulator: 'magic' skin format detected: 480x800
emulator: autoconfig: -skin 480x800
emulator: autoconfig: -skindir (null)
emulator: keyset loaded from: /home/hyc/.android/default.keyset
emulator: trying to load skin file 
'/home/software/android-sdk-linux/tools/lib/emulator/skins/dynamic//layout'
emulator: loaded dynamic skin width=480 height=800 bpp=16

emulator: autoconfig: -kernel 
/home/software/android-sdk-linux/system-images/android-23/google_apis/armeabi-v7a//kernel-qemu
emulator: Auto-detect: Kernel image requires legacy device naming scheme.
emulator: Auto-detect: Kernel does not support YAFFS2 partitions.
emulator: autoconfig: -ramdisk 
/home/software/android-sdk-linux/system-images/android-23/google_apis/armeabi-v7a//ramdisk.img
emulator: Using initial system image: 
/home/software/android-sdk-linux/system-images/android-23/google_apis/armeabi-v7a//system.img
emulator: autoconfig: -data /home/hyc/.android/avd/test2.avd/userdata-qemu.img
emulator: autoconfig: -initdata /home/hyc/.android/avd/test2.avd/userdata.img
emulator: autoconfig: -cache /home/hyc/.android/avd/test2.avd/cache.img
emulator: autoconfig: -sdcard /home/hyc/.android/avd/test2.avd/sdcard.img
emulator: Physical RAM size: 1024MB

emulator: GPU emulation enabled using 'host' mode
emulator: WARNING: CPU acceleration only works with x86/x86_64 system images.
Content of hardware configuration file:
  hw.cpu.arch = arm
  hw.cpu.model = cortex-a8
  hw.ramSize = 1024
  hw.screen = touch
  hw.mainKeys = yes
  hw.trackBall = yes
  hw.keyboard = yes
  hw.keyboard.lid = no
  hw.keyboard.charmap = qwerty2
  hw.dPad = no
  hw.gsmModem = yes
  hw.gps = yes
  hw.battery = yes
  hw.accelerometer = yes
  hw.audioInput = yes
  hw.audioOutput = yes
  hw.sdCard = yes
  hw.sdCard.path = /home/hyc/.android/avd/test2.avd/sdcard.img
  disk.cachePartition = yes
  disk.cachePartition.path = /home/hyc/.android/avd/test2.avd/cache.img
  disk.cachePartition.size = 66m
  hw.lcd.width = 480
  hw.lcd.height = 800
  hw.lcd.depth = 16
  hw.lcd.density = 240
  hw.lcd.backlight = yes
  hw.gpu.enabled = yes
  hw.gpu.mode = host
  hw.initialOrientation = portrait
  hw.camera.back = none
  hw.camera.front = none
  vm.heapSize = 32
  hw.sensors.proximity = yes
  hw.sensors.magnetic_field = yes
  hw.sensors.orientation = no
  hw.sensors.temperature = yes
  hw.useext4 = yes
  kernel.path = 
/home/software/android-sdk-linux/system-images/android-23/google_apis/armeabi-v7a//kernel-qemu
  kernel.parameters =  androidboot.hardware=goldfish android.checkjni=1
  kernel.newDeviceNaming = no
  kernel.supportsYaffs2 = no
  disk.ramdisk.path = 
/home/software/android-sdk-linux/system-images/android-23/google_apis/armeabi-v7a//ramdisk.img
  disk.systemPartition.initPath = 
/home/software/android-sdk-linux/system-images/android-23/google_apis/armeabi-v7a//system.img
  disk.systemPartition.size = 1536m
  disk.dataPartition.path = /home/hyc/.android/avd/test2.avd/userdata-qemu.img
  disk.dataPartition.size = 550m
  avd.name = test2
.
QEMU options list:
emulator: argv[00] = "tools/emulator64-arm"
emulator: argv[01] = "-android-hw"
emulator: argv[02] = "/home/hyc/.android/avd/test2.avd/hardware-qemu.ini"
Concatenated QEMU options:
 tools/emulator64-arm -android-hw 
/home/hyc/.android/avd/test2.avd/hardware-qemu.ini
emulator: registered 'boot-properties' qemud service
emulator: Using kernel serial device prefix: ttyS
emulator: Ramdisk image contains fstab.goldfish file
emulator: Found format of system partition: 'ext4'
emulator: Found format of userdata partition: 'ext4'
emulator: Found format of cache partition: 'ext4'
emulator: system partition format: ext4
emulator: Mapping 'system' partition image to /tmp/android-hyc/emulator-eUjF6r
emulator: nand_add_dev: 
system,size=0x60000000,file=/tmp/android-hyc/emulator-eUjF6r,initfile=/home/software/android-sdk-linux/system-images/android-23/google_apis/armeabi-v7a//system.img,pagesize=512,extrasize=0
emulator: userdata partition format: ext4
emulator: nand_add_dev: 
userdata,size=0x22600000,file=/home/hyc/.android/avd/test2.avd/userdata-qemu.img,pagesize=512,extrasize=0
emulator: cache partition format: ext4
emulator: nand_add_dev: 
cache,size=0x4200000,file=/home/hyc/.android/avd/test2.avd/cache.img,pagesize=512,extrasize=0
emulator: registered 'boot-properties' qemud service
emulator: Adding boot property: 'dalvik.vm.heapsize' = '32m'
emulator: Adding boot property: 'qemu.sf.lcd_density' = '240'
emulator: Adding boot property: 'qemu.hw.mainkeys' = '1'
emulator: Adding boot property: 'qemu.sf.fake_camera' = 'none'
emulator: Initializing hardware OpenGLES emulation support
emulator: OpenGL Vendor=[Google (X.Org)]
emulator: OpenGL Renderer=[Android Emulator OpenGL ES Translator (Gallium 0.4 
on AMD ARUBA)]
emulator: OpenGL Version=[OpenGL ES 2.0 (3.0 Mesa 10.6.4)]
emulator: Adding boot property: 'ro.opengles.version' = '131072'
emulator: Kernel parameters: qemu.gles=1 qemu=1 console=ttyS0 
android.qemud=ttyS1 androidboot.hardware=goldfish android.checkjni=1 ndns=1
^C^Z
[1]+  Stopped                 LD_LIBRARY_PATH=tools/lib64 tools/emulator64-arm 
-avd test2 -verbose
[hyc@gamba android-sdk-linux]$ kill -9 %1

[1]+  Stopped                 LD_LIBRARY_PATH=tools/lib64 tools/emulator64-arm 
-avd test2 -verbose
[hyc@gamba android-sdk-linux]$ 
[1]+  Killed                  LD_LIBRARY_PATH=tools/lib64 tools/emulator64-arm 
-avd test2 -verbose
[hyc@gamba android-sdk-linux]$ DRI_PRIME=1 LD_LIBRARY_PATH=tools/lib64 
tools/emulator64-arm -avd test2 -verbose
emulator: found SDK root at /home/software/android-sdk-linux
emulator: Android virtual device file at: /home/hyc/.android/avd/test2.ini
emulator: virtual device content at /home/hyc/.android/avd/test2.avd
emulator: virtual device config file: 
/home/hyc/.android/avd/test2.avd/config.ini
emulator: using core hw config path: 
/home/hyc/.android/avd/test2.avd/hardware-qemu.ini
emulator: Found AVD target API level: 23
emulator: Read property file at 
/home/software/android-sdk-linux/system-images/android-23/google_apis/armeabi-v7a//build.prop
emulator: No boot.prop property file found.
emulator: 'magic' skin format detected: 480x800
emulator: autoconfig: -skin 480x800
emulator: autoconfig: -skindir (null)
emulator: keyset loaded from: /home/hyc/.android/default.keyset
emulator: trying to load skin file 
'/home/software/android-sdk-linux/tools/lib/emulator/skins/dynamic//layout'
emulator: loaded dynamic skin width=480 height=800 bpp=16

emulator: autoconfig: -kernel 
/home/software/android-sdk-linux/system-images/android-23/google_apis/armeabi-v7a//kernel-qemu
emulator: Auto-detect: Kernel image requires legacy device naming scheme.
emulator: Auto-detect: Kernel does not support YAFFS2 partitions.
emulator: autoconfig: -ramdisk 
/home/software/android-sdk-linux/system-images/android-23/google_apis/armeabi-v7a//ramdisk.img
emulator: Using initial system image: 
/home/software/android-sdk-linux/system-images/android-23/google_apis/armeabi-v7a//system.img
emulator: autoconfig: -data /home/hyc/.android/avd/test2.avd/userdata-qemu.img
emulator: autoconfig: -initdata /home/hyc/.android/avd/test2.avd/userdata.img
emulator: autoconfig: -cache /home/hyc/.android/avd/test2.avd/cache.img
emulator: autoconfig: -sdcard /home/hyc/.android/avd/test2.avd/sdcard.img
emulator: Physical RAM size: 1024MB

emulator: GPU emulation enabled using 'host' mode
emulator: WARNING: CPU acceleration only works with x86/x86_64 system images.
Content of hardware configuration file:
  hw.cpu.arch = arm
  hw.cpu.model = cortex-a8
  hw.ramSize = 1024
  hw.screen = touch
  hw.mainKeys = yes
  hw.trackBall = yes
  hw.keyboard = yes
  hw.keyboard.lid = no
  hw.keyboard.charmap = qwerty2
  hw.dPad = no
  hw.gsmModem = yes
  hw.gps = yes
  hw.battery = yes
  hw.accelerometer = yes
  hw.audioInput = yes
  hw.audioOutput = yes
  hw.sdCard = yes
  hw.sdCard.path = /home/hyc/.android/avd/test2.avd/sdcard.img
  disk.cachePartition = yes
  disk.cachePartition.path = /home/hyc/.android/avd/test2.avd/cache.img
  disk.cachePartition.size = 66m
  hw.lcd.width = 480
  hw.lcd.height = 800
  hw.lcd.depth = 16
  hw.lcd.density = 240
  hw.lcd.backlight = yes
  hw.gpu.enabled = yes
  hw.gpu.mode = host
  hw.initialOrientation = portrait
  hw.camera.back = none
  hw.camera.front = none
  vm.heapSize = 32
  hw.sensors.proximity = yes
  hw.sensors.magnetic_field = yes
  hw.sensors.orientation = no
  hw.sensors.temperature = yes
  hw.useext4 = yes
  kernel.path = 
/home/software/android-sdk-linux/system-images/android-23/google_apis/armeabi-v7a//kernel-qemu
  kernel.parameters =  androidboot.hardware=goldfish android.checkjni=1
  kernel.newDeviceNaming = no
  kernel.supportsYaffs2 = no
  disk.ramdisk.path = 
/home/software/android-sdk-linux/system-images/android-23/google_apis/armeabi-v7a//ramdisk.img
  disk.systemPartition.initPath = 
/home/software/android-sdk-linux/system-images/android-23/google_apis/armeabi-v7a//system.img
  disk.systemPartition.size = 1536m
  disk.dataPartition.path = /home/hyc/.android/avd/test2.avd/userdata-qemu.img
  disk.dataPartition.size = 550m
  avd.name = test2
.
QEMU options list:
emulator: argv[00] = "tools/emulator64-arm"
emulator: argv[01] = "-android-hw"
emulator: argv[02] = "/home/hyc/.android/avd/test2.avd/hardware-qemu.ini"
Concatenated QEMU options:
 tools/emulator64-arm -android-hw 
/home/hyc/.android/avd/test2.avd/hardware-qemu.ini
emulator: registered 'boot-properties' qemud service
emulator: Using kernel serial device prefix: ttyS
emulator: Ramdisk image contains fstab.goldfish file
emulator: Found format of system partition: 'ext4'
emulator: Found format of userdata partition: 'ext4'
emulator: Found format of cache partition: 'ext4'
emulator: system partition format: ext4
emulator: Mapping 'system' partition image to /tmp/android-hyc/emulator-U3HPAQ
emulator: nand_add_dev: 
system,size=0x60000000,file=/tmp/android-hyc/emulator-U3HPAQ,initfile=/home/software/android-sdk-linux/system-images/android-23/google_apis/armeabi-v7a//system.img,pagesize=512,extrasize=0
emulator: userdata partition format: ext4
emulator: nand_add_dev: 
userdata,size=0x22600000,file=/home/hyc/.android/avd/test2.avd/userdata-qemu.img,pagesize=512,extrasize=0
emulator: cache partition format: ext4
emulator: nand_add_dev: 
cache,size=0x4200000,file=/home/hyc/.android/avd/test2.avd/cache.img,pagesize=512,extrasize=0
emulator: registered 'boot-properties' qemud service
emulator: Adding boot property: 'dalvik.vm.heapsize' = '32m'
emulator: Adding boot property: 'qemu.sf.lcd_density' = '240'
emulator: Adding boot property: 'qemu.hw.mainkeys' = '1'
emulator: Adding boot property: 'qemu.sf.fake_camera' = 'none'
emulator: Initializing hardware OpenGLES emulation support
emulator: OpenGL Vendor=[Google (X.Org)]
emulator: OpenGL Renderer=[Android Emulator OpenGL ES Translator (Gallium 0.4 
on AMD CAPE VERDE)]
emulator: OpenGL Version=[OpenGL ES 2.0 (3.0 Mesa 10.6.4)]
emulator: Adding boot property: 'ro.opengles.version' = '131072'
emulator: Kernel parameters: qemu.gles=1 qemu=1 console=ttyS0 
android.qemud=ttyS1 androidboot.hardware=goldfish android.checkjni=1 ndns=1
^Z
[1]+  Stopped                 DRI_PRIME=1 LD_LIBRARY_PATH=tools/lib64 
tools/emulator64-arm -avd test2 -verbose
[hyc@gamba android-sdk-linux]$ kill -9 %

[1]+  Stopped                 DRI_PRIME=1 LD_LIBRARY_PATH=tools/lib64 
tools/emulator64-arm -avd test2 -verbose
[hyc@gamba android-sdk-linux]$ 
 [1]+  Killed                  DRI_PRIME=1 LD_LIBRARY_PATH=tools/lib64 
tools/emulator64-arm -avd test2 -verbose
[hyc@gamba android-sdk-linux]$ 
[hyc@gamba android-sdk-linux]$ 
[hyc@gamba android-sdk-linux]$  tools/emulator64-arm -avd test1 -gpu off

Reply via email to