cocos2d-x3.0 Development Game Partial model (video card type) flash back problem

Source: Internet
Author: User
Tags lenovo
Expand the cocos2d-x3.0 bottom support etc image format, the game in the model using etc format Picture replacement. It could have been run on a machine with Lenovo S880, the graphics card type POWERVP SG X 531, but had to go back to the game loading model after switching to the ETC picture.
At present, most of the other models do not have this problem, only some of the machines will flash back. Preliminary judgment may be a problem with the graphics card, the machine's graphics card type is PowerVR SGX 531. I do not know that you have encountered the same or similar problems.

Post an error message on Eclipse DDMS:

12-20 15:11:48.559:a/libc (2909): Fatal signal (SIGSEGV) at 0x53f47000 (code=1)
12-20 15:11:48.992:d/networkcontrollergemini (309): Updatetelephonysignalstrength (0) MOldSignalLevel = 4, msg.arg1 = 4, Msignallevelmsg = True
12-20 15:11:48.993:d/networkcontrollergemini (309): issiminserted (0), siminserted=true
12-20 15:11:48.993:d/networkcontrollergemini (309): Updatesignalbackgroundbyslotid (0), simInserted=true
12-20 15:11:48.993:d/networkcontrollergemini (309): issiminserted (0), siminserted=true
12-20 15:11:48.994:d/networkcontrollergemini (309): issiminserted (1), siminserted=true
12-20 15:11:48.994:d/networkcontrollergemini (309): Updateoperatorinfo, sim1inserted is true, sim2Inserted is true.
12-20 15:11:48.994:d/networkcontrollergemini (309): Updatesignalbackgroundbyslotid (0), MobileVisible=true, ResId= 2130837922
12-20 15:11:48.994:d/networkcontrollergemini (309): Refreshviews (0), dataconnected=true
12-20 15:11:48.994:d/networkcontrollergemini (309): Refreshviews (0), mmobileactivityiconid=2130837889, Mmobileactivityiconidgemini=-1
12-20 15:11:48.994:d/signalclusterviewgemini (309): setdataconnected (0), dataconnected=true
12-20 15:11:48.994:d/signalclusterviewgemini (309): Apply, Mmobilevisible=true mmobileactivityid=2130837889 mmobiletypeid=2130837775
12-20 15:11:48.994:d/signalclusterviewgemini (309): issiminserted (0), siminserted=true
12-20 15:11:48.995:d/signalclusterviewgemini (309): Apply, msimbackground=2130837922
12-20 15:11:48.995:d/signalclusterviewgemini (309): Apply, Mmobilevisiblegemini=true mmobileactivityidgemini=0 Mmobiletypeidgemini=0
12-20 15:11:48.996:d/signalclusterviewgemini (309): issiminserted (1), siminserted=true
12-20 15:11:48.996:d/signalclusterviewgemini (309): Apply, msimbackgroundgemini=2130837924
12-20 15:11:48.996:d/signalclusterviewgemini (309): Apply, Mdataconnected=true mmobileactivityid=2130837889 mmobiletypeid=2130837775; Mdataconnectedgemini=false mmobileactivityidgemini=0 mmobiletypeidgemini=0
12-20 15:11:48.996:d/signalclusterviewgemini (309): setdatanettype3g (0), datanettype3g=true
12-20 15:11:48.996:d/signalclusterviewgemini (309): Apply, Mmobilevisible=true mmobileactivityid=2130837889 mmobiletypeid=2130837775
12-20 15:11:48.997:d/signalclusterviewgemini (309): issiminserted (0), siminserted=true
12-20 15:11:48.997:d/signalclusterviewgemini (309): Apply, msimbackground=2130837922
12-20 15:11:48.997:d/signalclusterviewgemini (309): Apply, Mmobilevisiblegemini=true mmobileactivityidgemini=0 Mmobiletypeidgemini=0
12-20 15:11:48.998:d/signalclusterviewgemini (309): issiminserted (1), siminserted=true
12-20 15:11:48.998:d/signalclusterviewgemini (309): Apply, msimbackgroundgemini=2130837924
12-20 15:11:48.998:d/signalclusterviewgemini (309): Apply, Mdataconnected=true mmobileactivityid=2130837889 mmobiletypeid=2130837775; Mdataconnectedgemini=false mmobileactivityidgemini=0 mmobiletypeidgemini=0
12-20 15:11:48.998:d/networkcontrollergemini (309): Updatetelephonysignalstrength (0) checkNeedtoSmoothSignal (real_ ASU = 25, New_asu =
12-20 15:11:49.164:i/debug: DEBUGGERD:TMB file path: '/data/tombstones/tombstone_03 '
12-20 15:11:49.164:i/debug (92): * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
12-20 15:11:49.164:i/debug: Build fingerprint: ' lenovo/s880/s880:4.0.3/iml74k/lenovo_s880_s140_120721:user/ Release-keys '
12-20 15:11:49.164:i/debug: pid:2909, tid:2929 >>> com.test <<<
12-20 15:11:49.164:i/debug: Signal (SIGSEGV), Code 1 (segv_maperr), fault addr 53f47000
12-20 15:11:49.165:i/debug: r0 5a1ee720 R1 53f46ff8 R2 000000c0 R3 00000000
12-20 15:11:49.165:i/debug: R4 00000000 R5 00000000 R6 00000000 R7 00000000
12-20 15:11:49.165:i/debug: R8 00000000 R9 000697d0 5a1f0700 FP 00000008
12-20 15:11:49.165:i/debug: IP 00000000 SP 520cf734 lr 00000007 pc 400d4ce8 CPSR 20000010
12-20 15:11:49.287:i/debug: #00 pc 0000dce8/system/lib/libc.so
12-20 15:11:49.287:d/aee/debuggerd (): stack_depth:1
12-20 15:11:49.287:i/debug: #01 lr 00000007 <unknown>
12-20 15:11:49.287:i/debug: Code around PC:
12-20 15:11:49.288:i/debug: 400d4cc8 24d15001 44c03001 24c04001 24c05001. p.$.0.d.@.$. p.$
12-20 15:11:49.288:i/debug (): 400d4cd8 e2522020 ba000005 f5d1f060 f5d1f080 R ......
12-20 15:11:49.288:i/debug: 400d4ce8 e8b151f8 e2522020 e8a051f8 Aafffffa. Q.. R.. Q......
12-20 15:11:49.288:i/debug: 400d4cf8 e2922020 0a00000c e1b0ce02 28b10078 ..... x.. (
12-20 15:11:49.288:i/debug: 400d4d08 48b10180 28a00078 48a00180 e1b0cf02 ... Hx.. (... H....
12-20 15:11:49.288:i/debug: Code around LR:
12-20 15:11:49.288:i/debug (): 00000000 ffffffff ffffffff ffffffff ffffffff ...... .....
12-20 15:11:49.288:i/debug (): 00000010 ffffffff ffffffff ffffffff ffffffff ...... .....
12-20 15:11:49.288:i/debug (): 00000020 ffffffff ffffffff ffffffff ffffffff ...... .....
12-20 15:11:49.288:i/debug (): 00000030 ffffffff ffffffff ffffffff ffffffff ...... .....
12-20 15:11:49.288:i/debug (): 00000040 ffffffff ffffffff ffffffff ffffffff ...... .....
12-20 15:11:49.288:i/debug: Memory map around addr 53f47000:
12-20 15:11:49.288:i/debug (): 53edd000-53f47000
12-20 15:11:49.288:i/debug: (No map for address)
12-20 15:11:49.288:i/debug (): 53f73000-53f74000/dev/pvrsrvkm
12-20 15:11:49.288:i/debug (): Stack:
12-20 15:11:49.288:i/debug: 520cf6f4 00000000
12-20 15:11:49.288:i/debug: 520cf6f8 00000000
12-20 15:11:49.288:i/debug: 520cf6fc 00000000
12-20 15:11:49.288:i/debug: 520cf700 00000000
12-20 15:11:49.288:i/debug: 520cf704 00000008
12-20 15:11:49.288:i/debug: 520cf708 00000000
12-20 15:11:49.288:i/debug: 520cf70c 00000000
12-20 15:11:49.289:i/debug: 520cf710 00000000
12-20 15:11:49.289:i/debug: 520cf714 00000000
12-20 15:11:49.289:i/debug: 520cf718 00000000
12-20 15:11:49.289:i/debug: 520cf71c 00000000
12-20 15:11:49.289:i/debug: 520cf720 00000000
12-20 15:11:49.289:i/debug: 520cf724 00000000
12-20 15:11:49.289:i/debug (): 520cf728 DF0027AD
12-20 15:11:49.289:i/debug: 520cf72c 00000000
12-20 15:11:49.289:i/debug: 520cf730 020a8108 [Heap]
12-20 15:11:49.289:i/debug: #00 520cf734 53f470d8
12-20 15:11:49.289:i/debug: 520cf738 00000100
12-20 15:11:49.289:i/debug: 520cf73c 00000009
12-20 15:11:49.289:i/debug: 520cf740 020a8108 [Heap]
12-20 15:11:49.289:i/debug (): 520cf744 53edd008
12-20 15:11:49.289:i/debug (): 520cf748 5a1ee700/dev/pvrsrvkm
12-20 15:11:49.289:i/debug (): 520cf74c 4ccafff4/system/vendor/lib/egl/libglesv2_mtk.so
12-20 15:11:49.289:i/debug: 520cf750 00000000
12-20 15:11:49.289:i/debug: 520cf754 00000000
12-20 15:11:49.289:i/debug: 520cf758 00000000
12-20 15:11:49.289:i/debug: 520cf75c 00000000
12-20 15:11:49.289:i/debug (): 520cf760 520CF7BC
12-20 15:11:49.290:i/debug: 520cf764 00000000
12-20 15:11:49.290:i/debug: 520cf768 00000000
12-20 15:11:49.290:i/debug (): 520cf76c 5a1de700/dev/pvrsrvkm
12-20 15:11:49.290:i/debug: 520cf770 00000000
12-20 15:11:49.290:i/debug: 520cf774 00000000
12-20 15:11:49.290:i/debug: 520cf778 00000037
12-20 15:11:49.445:d/aee/debuggerd (): stack_depth:19


Summarize the reasons that may cause the game to flash: 1. Resources are not optimized, resulting in the use of too much memory, the system is forced to quit; 2. The resource is too large to burst memory to cause a flashback; 3. The picture is too large (some low-end models only support the maximum picture size is 1024, then this time will be noted); The picture is not the power of 2, some graphics card is not supported by the power of the non-2 side of the picture (the reason for this flashback is because the use of etc material, the graphics card does not support etc picture is not 2 power to cause, but the support of PNG is not 2 power, so look for a long time to find this problem). Attach my link to the question above Cocoschina

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.