135
« on: September 26, 2018, 02:24:32 pm »
When Config.byteBufferLimit = 0:
09-26 12:02:52.714 5293-5313/com.aeroshark333.artofearthify E/emuglGLESv2_enc: a vertex attribute index out of boundary is detected. Skipping corresponding vertex attribute. buf=0xd5a0f240
Out of bounds vertex attribute info: clientArray? 0 attribute 2 vbo 56 allocedBufferSize 2064 bufferDataSpecified? 1 wantedStart 0 wantedEnd 33280
a vertex attribute index out of boundary is detected. Skipping corresponding vertex attribute. buf=0xebe0fe90
Out of bounds vertex attribute info: clientArray? 0 attribute 3 vbo 18 allocedBufferSize 2064 bufferDataSpecified? 1 wantedStart 0 wantedEnd 33280
a vertex attribute index out of boundary is detected. Skipping corresponding vertex attribute. buf=0xebe0fe90
Out of bounds vertex attribute info: clientArray? 0 attribute 3 vbo 18 allocedBufferSize 2064 bufferDataSpecified? 1 wantedStart 0 wantedEnd 33784
a vertex attribute index out of boundary is detected. Skipping corresponding vertex attribute. buf=0xebe0fe90
Out of bounds vertex attribute info: clientArray? 0 attribute 3 vbo 18 allocedBufferSize 2064 bufferDataSpecified? 1 wantedStart 0 wantedEnd 33280
09-26 12:02:52.715 5293-5313/com.aeroshark333.artofearthify I/System.out: 2b
09-26 12:02:52.715 5293-5313/com.aeroshark333.artofearthify I/ArtOfEarthify: 3
09-26 12:02:52.741 5293-5313/com.aeroshark333.artofearthify I/3.artofearthif: Explicit concurrent copying GC freed 49894(2042KB) AllocSpace objects, 38(3MB) LOS objects, 23% free, 20MB/26MB, paused 862us total 24.748ms
09-26 12:02:52.765 5293-5313/com.aeroshark333.artofearthify I/3.artofearthif: Explicit concurrent copying GC freed 139(36KB) AllocSpace objects, 0(0B) LOS objects, 23% free, 20MB/26MB, paused 720us total 22.994ms
09-26 12:02:52.917 5293-5313/com.aeroshark333.artofearthify I/ArtOfEarthify: Done loading models
09-26 12:02:52.946 5293-5313/com.aeroshark333.artofearthify I/3.artofearthif: Explicit concurrent copying GC freed 27(31KB) AllocSpace objects, 0(0B) LOS objects, 23% free, 20MB/26MB, paused 579us total 28.449ms
09-26 12:02:52.980 5293-5313/com.aeroshark333.artofearthify I/3.artofearthif: Explicit concurrent copying GC freed 5(32KB) AllocSpace objects, 0(0B) LOS objects, 23% free, 20MB/26MB, paused 576us total 30.571ms
09-26 12:02:53.155 5293-5313/com.aeroshark333.artofearthify E/emuglGLESv2_enc: a vertex attribute index out of boundary is detected. Skipping corresponding vertex attribute. buf=0xebe0fe90
Out of bounds vertex attribute info: clientArray? 1 attribute 3 vbo 18 allocedBufferSize 2064 bufferDataSpecified? 1 wantedStart 0 wantedEnd 3168
09-26 12:02:53.164 5293-5313/com.aeroshark333.artofearthify E/emuglGLESv2_enc: a vertex attribute index out of boundary is detected. Skipping corresponding vertex attribute. buf=0xebe0fe90
09-26 12:02:53.165 5293-5313/com.aeroshark333.artofearthify E/emuglGLESv2_enc: Out of bounds vertex attribute info: clientArray? 1 attribute 3 vbo 18 allocedBufferSize 2064 bufferDataSpecified? 1 wantedStart 0 wantedEnd 2208
09-26 12:02:53.330 5293-5313/com.aeroshark333.artofearthify I/ArtOfEarthify: Loaded textures: 2
09-26 12:02:53.333 5293-5313/com.aeroshark333.artofearthify E/emuglGLESv2_enc: a vertex attribute index out of boundary is detected. Skipping corresponding vertex attribute. buf=0xebe0fe90
Out of bounds vertex attribute info: clientArray? 1 attribute 3 vbo 18 allocedBufferSize 2064 bufferDataSpecified? 1 wantedStart 0 wantedEnd 3168
09-26 12:02:53.335 5293-5313/com.aeroshark333.artofearthify E/emuglGLESv2_enc: a vertex attribute index out of boundary is detected. Skipping corresponding vertex attribute. buf=0xebe0fe90
Out of bounds vertex attribute info: clientArray? 1 attribute 3 vbo 18 allocedBufferSize 2064 bufferDataSpecified? 1 wantedStart 0 wantedEnd 2272
09-26 12:02:53.402 5293-5313/com.aeroshark333.artofearthify I/3.artofearthif: Explicit concurrent copying GC freed 575(75KB) AllocSpace objects, 0(0B) LOS objects, 22% free, 20MB/26MB, paused 579us total 30.227ms
09-26 12:02:53.437 5293-5313/com.aeroshark333.artofearthify I/3.artofearthif: Explicit concurrent copying GC freed 12(32KB) AllocSpace objects, 0(0B) LOS objects, 22% free, 20MB/26MB, paused 590us total 32.737ms
09-26 12:02:53.592 5293-5313/com.aeroshark333.artofearthify W/jPCT-AE: [ 1537963373592 ] - WARNING: Texture's size is 2/1, but textures should be square for OpenGL ES2.0! This may result in a black texture!
It will print a similar stacktrace for
Config.byteBufferLimit = 16;
Config.byteBufferLimit *= 64;
But maybe it's just an issue with the emulator..?
Since even when these 'out of boundary' messages get spammed, the application might still work (randomly...)
The crashing error does happen on real physical devices though (the SIGSEGV's)
I wondered, is it bad practice to pre-load the Object3D's by calling world.renderScene() and world.draw() often after each other when the camera is looking at all the Object3D's?
Because I currently do this but I have a feeling that a lot of draw calls at once isn't good for memory or something..?
Also, when using Config.useVBO = false the application would already crash before any texture loading happens (so when the geometry's are drawn with dummy textures)
It seems to be able to make some world draws but it crashes after a few, while Config.useVBO = true has no issues to load geometries here