Check if Mesa library is set properly or not..

Keep Winning
Vivek Garg

On 09-May-2013, at 2:08 AM, "Garner Lee" <[email protected]> wrote:

> Hi,
>
> I have built the FirefoxOS emulator build, and while the device is created
> without error it seems, when launched, only the emulator skin comes up. The
> display is black, and remains blank.
>
> Adb logcat drops back the shell without output or error, as does adb shell.
>
> How can I debug this? Is this a known issue?
>
> I'm on Ubuntu 12.10 (x64), and build with these parameters:
>
>   CC=gcc-4.6 CXX=g++-4.6 ./build.sh
>
> in gaia, "make reset-gaia" returns:
>
> python build/install-gaia.py "adb" "/data/local"
> push: profile/webapps/browser.gaiamobile.org/manifest.webapp ->
> /data/local/webapps/browser.gaiamobile.org/manifest.webapp
> failed to copy 'profile/webapps/browser.gaiamobile.org/manifest.webapp' to
> '/data/local/webapps/browser.gaiamobile.org/manifest.webapp': Read-only
> file system
>
>
> Emulator launch output:
> $ ./run-emulator.sh
> emulator: autoconfig: -system
> /home/garner/FirefoxOS/emulator/out/target/product/generic//system.img
> emulator: autoconfig: -ramdisk
> /home/garner/FirefoxOS/emulator/out/target/product/generic//ramdisk.img
> emulator: autoconfig: -datadir
> /home/garner/FirefoxOS/emulator/out/target/product/generic/
> emulator: Found target ABI=armeabi-v7a, architecture=arm
> emulator: Found target API level: 15
> emulator: using core hw config path:
> /home/garner/FirefoxOS/emulator/out/target/product/generic//hardware-qemu.ini
> emulator: keyset loaded from: /home/garner/.android/default.keyset
> emulator: trying to load skin file
> '/home/garner/FirefoxOS/emulator/development/tools/emulator/skins/HVGA/layout'
> emulator: skin network speed: 'full'
> emulator: skin network delay: 'none'
> emulator: Using initial system image:
> /home/garner/FirefoxOS/emulator/out/target/product/generic//system.img
> emulator: autoconfig: -initdata
> /home/garner/FirefoxOS/emulator/out/target/product/generic//userdata.img
> emulator: Physical RAM size: 512MB
>
> emulator: Auto-config: -qemu -cpu cortex-a8
> Content of hardware configuration file:
>  hw.cpu.arch = arm
>  hw.cpu.model = cortex-a8
>  hw.ramSize = 512
>  hw.screen = touch
>  hw.mainKeys = yes
>  hw.trackBall = yes
>  hw.keyboard = no
>  hw.keyboard.lid = no
>  hw.keyboard.charmap = qwerty2
>  hw.dPad = yes
>  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/garner/FirefoxOS/emulator/out/target/product/generic/sdcard.img
>  disk.cachePartition = yes
>  disk.cachePartition.size = 66m
>  hw.lcd.width = 320
>  hw.lcd.height = 480
>  hw.lcd.depth = 16
>  hw.lcd.density = 160
>  hw.lcd.backlight = yes
>  hw.gpu.enabled = yes
>  hw.camera.back = webcam0
>  hw.camera.front = none
>  vm.heapSize = 48
>  hw.sensors.proximity = yes
>  hw.sensors.magnetic_field = yes
>  hw.sensors.orientation = yes
>  hw.sensors.temperature = yes
>  kernel.path =
> /home/garner/FirefoxOS/emulator/prebuilts/qemu-kernel/arm/kernel-qemu-armv7
>  kernel.parameters =  android.checkjni=1
>  disk.ramdisk.path =
> /home/garner/FirefoxOS/emulator/out/target/product/generic//ramdisk.img
>  disk.systemPartition.initPath =
> /home/garner/FirefoxOS/emulator/out/target/product/generic//system.img
>  disk.systemPartition.size = 512m
>  disk.dataPartition.path =
> /home/garner/FirefoxOS/emulator/out/target/product/generic/userdata.img
>  disk.dataPartition.size = 512m
>  avd.name = <build>
> .
> QEMU options list:
> emulator: argv[00] =
> "/home/garner/FirefoxOS/emulator/out/host/linux-x86/bin/emulator64-arm"
> emulator: argv[01] = "-cpu"
> emulator: argv[02] = "cortex-a8"
> emulator: argv[03] = "-android-hw"
> emulator: argv[04] = "/tmp/android-garner/emulator-llIlDk"
> Concatenated QEMU options:
> /home/garner/FirefoxOS/emulator/out/host/linux-x86/bin/emulator64-arm -cpu
> cortex-a8 -android-hw /tmp/android-garner/emulator-llIlDk
> emulator: registered 'boot-properties' qemud service
> emulator: nand_add_dev:
> system,size=0x20000000,initfile=/home/garner/FirefoxOS/emulator/out/target/product/generic//system.img
> emulator: mapping 'system' NAND image to /tmp/android-garner/emulator-vIUp0X
> emulator: rounding devsize up to a full eraseunit, now 20004000
>
> WARNING: Data partition already in use. Changes will not persist!
> emulator: nand_add_dev: userdata,size=0x20000000
> emulator: mapping 'userdata' NAND image to
> /tmp/android-garner/emulator-xkhKqi
> emulator: rounding devsize up to a full eraseunit, now 20004000
>
> WARNING: SD Card image already in use:
> /home/garner/FirefoxOS/emulator/out/target/product/generic/sdcard.img
> emulator: registered 'boot-properties' qemud service
> emulator: Adding boot property: 'dalvik.vm.heapsize' = '48m'
> emulator: Adding boot property: 'qemu.sf.lcd_density' = '160'
> emulator: Adding boot property: 'qemu.hw.mainkeys' = '1'
> emulator: Adding boot property: 'qemu.sf.fake_camera' = 'none'
> emulator: nand_add_dev: cache,size=0x4200000
> emulator: mapping 'cache' NAND image to /tmp/android-garner/emulator-bINkHJ
> emulator: Initializing hardware OpenGLES emulation support
> emulator: Kernel parameters: qemu.gles=1 qemu=1 console=ttyS0
> android.qemud=ttyS1 android.checkjni=1 ndns=1
> emulator: Trace file name is not set
>
> emulator: autoconfig: -scale 1
> emulator: Found ro.adb.qemud build property: 1
> emulator: ERROR: Unable to create ADB server socket: Address already in use
> emulator: control console listening on port 5556, ADB on port 5557
> emulator: sent '0012host:emulator:5557' to ADB server
> emulator: ping program:
> /home/garner/FirefoxOS/emulator/out/host/linux-x86/bin/ddms
> emulator: ping command:
> /home/garner/FirefoxOS/emulator/out/host/linux-x86/bin/ddms ping emulator
> 20.0 "Intel Open Source Technology Center" "Mesa DRI Intel(R) Ivybridge
> Mobile " "3.0 Mesa 9.0.3"
> 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
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g

________________________________

SASKEN BUSINESS DISCLAIMER: This message may contain confidential, proprietary 
or legally privileged information. In case you are not the original intended 
Recipient of the message, you must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message and you are requested to 
delete it and inform the sender. Any views expressed in this message are those 
of the individual sender unless otherwise stated. Nothing contained in this 
message shall be construed as an offer or acceptance of any offer by Sasken 
Communication Technologies Limited ("Sasken") unless sent with that express 
intent and with due authority of Sasken. Sasken has taken enough precautions to 
prevent the spread of viruses. However the company accepts no liability for any 
damage caused by any virus transmitted by this email.
Read Disclaimer at http://www.sasken.com/extras/mail_disclaimer.html
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to