linux - Lossy picture with Android emulator "-scale" option -



linux - Lossy picture with Android emulator "-scale" option -

i have problem starting emulator scale alternative between 0.4 , 1, not including.

$ emulator -avd avd10 -verbose -scale 0.8

and emulator looks http://img225.imageshack.us/i/avdm.png/

it seems working (i can unlock screen, phone call menu, etc.), not usable due lossy picture. other scale options, not between 0.4 , 1 looks fine.

technical info: android-sdk_r12 x.org x server 1.10.2

$ uname -a linux laptop 2.6.39-arch #1 smp preempt mon jun 27 21:26:22 cest 2011 x86_64 intel(r) core(tm)2 duo cpu p8600 @ 2.40ghz genuineintel gnu/linux

emulator output same, scale alternative , without it.

emulator: found sdk root @ /opt/android-sdk emulator: android virtual device file at: /home/a4e6/.android/avd/avd10.ini emulator: virtual device content @ /home/a4e6/.android/avd/avd10.avd emulator: virtual device config file: /home/a4e6/.android/avd/avd10.avd/config.ini emulator: using core hw config path: /home/a4e6/.android/avd/avd10.avd/hardware-qemu.ini emulator: found avd target api level: 10 emulator: found skin 'wvga800' in directory: /opt/android-sdk/platforms/android-10/skins emulator: autoconfig: -skin wvga800 emulator: autoconfig: -skindir /opt/android-sdk/platforms/android-10/skins emulator: keyset loaded from: /home/a4e6/.android/default.keyset emulator: trying load skin file '/opt/android-sdk/platforms/android-10/skins/wvga800/layout' emulator: skin network speed: 'full' emulator: skin network delay: 'none' emulator: autoconfig: -kernel /opt/android-sdk/platforms/android-10/images//kernel-qemu emulator: autoconfig: -ramdisk /opt/android-sdk/platforms/android-10/images//ramdisk.img emulator: using initial scheme image: /opt/android-sdk/platforms/android-10/images//system.img emulator: autoconfig: -data /home/a4e6/.android/avd/avd10.avd/userdata-qemu.img emulator: autoconfig: -initdata /home/a4e6/.android/avd/avd10.avd/userdata.img emulator: autoconfig: -cache /home/a4e6/.android/avd/avd10.avd/cache.img emulator: autoconfig: -sdcard /home/a4e6/.android/avd/avd10.avd/sdcard.img emulator: physical ram size: 256mb content of hardware configuration file: hw.cpu.arch = arm hw.cpu.model = hw.ramsize = 256 hw.touchscreen = yes hw.trackball = yes hw.keyboard = yes hw.keyboard.lid = yes hw.dpad = yes hw.gsmmodem = yes hw.camera = no hw.camera.maxhorizontalpixels = 640 hw.camera.maxverticalpixels = 480 hw.gps = yes hw.battery = yes hw.accelerometer = yes hw.audioinput = yes hw.audiooutput = yes hw.sdcard = yes hw.sdcard.path = /home/a4e6/.android/avd/avd10.avd/sdcard.img disk.cachepartition = yes disk.cachepartition.path = /home/a4e6/.android/avd/avd10.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 vm.heapsize = 24 hw.sensors.proximity = yes kernel.path = /opt/android-sdk/platforms/android-10/images//kernel-qemu kernel.parameters = android.checkjni=1 disk.ramdisk.path = /opt/android-sdk/platforms/android-10/images//ramdisk.img disk.systempartition.initpath = /opt/android-sdk/platforms/android-10/images//system.img disk.systempartition.size = 89m disk.datapartition.path = /home/a4e6/.android/avd/avd10.avd/userdata-qemu.img disk.datapartition.size = 66m disk.snapstorage.path = avd.name = avd10 . qemu options list: emulator: argv[00] = "./emulator-arm" emulator: argv[01] = "-android-hw" emulator: argv[02] = "/home/a4e6/.android/avd/avd10.avd/hardware-qemu.ini" concatenated qemu options: ./emulator-arm -android-hw /home/a4e6/.android/avd/avd10.avd/hardware-qemu.ini emulator: registered 'boot-properties' qemud service emulator: nand_add_dev: system,size=0x5900000,initfile=/opt/android-sdk/platforms/android-10/images//system.img emulator: mapping 'system' nand image /tmp/android-a4e6/emulator-cd8tvy emulator: rounding devsize total eraseunit, 5913000 emulator: nand_add_dev: userdata,size=0x4200000,file=/home/a4e6/.android/avd/avd10.avd/userdata-qemu.img emulator: registered 'boot-properties' qemud service emulator: adding boot property: 'dalvik.vm.heapsize' = '24m' emulator: adding boot property: 'qemu.sf.lcd_density' = '240' emulator: nand_add_dev: cache,size=0x4200000,file=/home/a4e6/.android/avd/avd10.avd/cache.img emulator: kernel parameters: qemu=1 console=ttys0 android.qemud=ttys1 android.checkjni=1 ndns=2 emulator: trace file name not set emulator: command console listening on port 5554, adb on port 5555 emulator: sent '0012host:emulator:5555' adb server emulator: ping program: /opt/android-sdk/tools/ddms emulator: ping command: /opt/android-sdk/tools/ddms ping emulator 12.0 goldfish_fb_get_pixel_format:167: display surface,pixel format: bits/pixel: 16 bytes/pixel: 2 depth: 16 red: bits=5 mask=0xf800 shift=11 max=0x1f green: bits=6 mask=0x7e0 shift=5 max=0x3f blue: bits=5 mask=0x1f shift=0 max=0x1f alpha: bits=0 mask=0x0 shift=0 max=0x0

someone's raised google , prepare in works.

http://code.google.com/p/android/issues/detail?id=18299

thanks mark murphy (commonsware) tweeting earlier!

android linux android-emulator qemu

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -