gl4es icon indicating copy to clipboard operation
gl4es copied to clipboard

Crashes with gl4es

Open klaxons1 opened this issue 3 years ago • 14 comments

DEBUG : #00 pc 00060b12 /data/app/com.valvesoftware.source-eRZ56_NaIxgEeMkor7x8gg==/lib/arm/libgl4es.so (copy_gl_array_texcoord+1906) 10-14 22:29:58.461 12749 12749 F DEBUG : #01 pc 00066c8f /data/app/com.valvesoftware.source-eRZ56_NaIxgEeMkor7x8gg==/lib/arm/libgl4es.so (copy_gl_pointer_color+58) 10-14 22:29:58.461 12749 12749 F DEBUG : #02 pc 00072d77 /data/app/com.valvesoftware.source-eRZ56_NaIxgEeMkor7x8gg==/lib/arm/libgl4es.so (arrays_to_renderlist+1782) 10-14 22:29:58.461 12749 12749 F DEBUG : #03 pc 00073f63 /data/app/com.valvesoftware.source-eRZ56_NaIxgEeMkor7x8gg==/lib/arm/libgl4es.so (gl4es_glDrawRangeElements+990)

klaxons1 avatar Oct 15 '21 20:10 klaxons1

Thanks for the back trace, not sure I can do much with it, but I'll check. You are using latest gl4es sources right? (Note that gl4es doesn't support sRGB texture for now, so your source game may be too dark)

ptitSeb avatar Oct 16 '21 07:10 ptitSeb

We're using old version of gl4es, because the latest version gives us a black screen

klaxons1 avatar Oct 16 '21 13:10 klaxons1

ERROR: 0:4: '' : GLSL compile error: Extension directives must occur before any non-preprocessor tokens. This can be reason of black screen?

klaxons1 avatar Oct 16 '21 15:10 klaxons1

Yes, that can be the reason. Use "LIBGL_LOGSHADERERROR=1" to get detail on the shader compile error.

ptitSeb avatar Oct 16 '21 15:10 ptitSeb

I think I fixed an error happening in glDrawRangeElements not long ago.

ptitSeb avatar Oct 16 '21 15:10 ptitSeb

https://pastebin.com/4s0we8k5 One of them

klaxons1 avatar Oct 16 '21 15:10 klaxons1

@ptitSeb Black screen probably caused by f10c86b2941650cffbd0c1c2e383284184506c66

JusicP avatar Oct 16 '21 16:10 JusicP

Yes,this commit cause black screen.

klaxons1 avatar Oct 16 '21 17:10 klaxons1

Are you sure? I don't seen any link between that commit and the logs you put on pastbin. Also, are the logs full? The converted shader seems clearly truncated in the log.

ptitSeb avatar Oct 16 '21 18:10 ptitSeb

log.txt This is full log.I really don't know what I should find in the log.

klaxons1 avatar Oct 16 '21 18:10 klaxons1

Any progress? Also, I have a question.Does gl4es handle rgba16161616F?

klaxons1 avatar Oct 18 '21 17:10 klaxons1

Hm,is gl4es get abandoned?

klaxons1 avatar Oct 23 '21 21:10 klaxons1

not abandoned. Just going slow.

ptitSeb avatar Mar 16 '22 14:03 ptitSeb

Also, I have a question.Does gl4es handle rgba16161616F?

Nope. 16F float are barely handled (there is code in gl4es, but not much tested)

ptitSeb avatar Mar 16 '22 14:03 ptitSeb