poetaster | mal, I tested the sdk sdl app on the xperia 10ii and it also doesn't render anymore. Touch input is handled correctly, but nothing is drawn. | 13:59 |
---|---|---|
poetaster | That happens to be : #include <GLES2/gl2.h> with shaders which is my general problem domain. | 13:59 |
mal | I need to check the test app | 14:07 |
mal | poetaster: interesting that the test app is almost the same as the glesv2 test of the repo I linked | 14:13 |
poetaster | mal, I think it's a good test ;) Also, the way the input handling is done will always yeild proper results. but something is odd in glesv2 land. | 14:22 |
poetaster | mal, on 10ii the screen wa colored brown with a blue 'thing' in the top left corner. on the volla, all was black. | 14:27 |
poetaster | mal, mb2 build? | 14:30 |
mal | it should only be single color in the test, the blue thing is the touch point | 14:50 |
mal | which show where you touched | 14:51 |
mal | poetaster: btw, quite sure that sdk sdl example hasn't been fixed for new sdl | 14:51 |
mal | maybe I should | 14:51 |
mal | touch handling changed so the coordinates will be wrong | 14:51 |
mal | poetaster: I would suggest trying the programs from the link I gave | 14:52 |
mal | poetaster: you can grab it from here once it has built https://build.merproject.org/package/show/home:mal:apps/sdl2-opengles-test | 14:54 |
mal | poetaster: one question, have you tried the test app from both terminal and app grid? | 14:57 |
poetaster | mal, yes I tried from terminal on both devices. that gave me accurate print statements of touch imput ;) | 15:16 |
poetaster | mal, downloads are failing for me? trying with merproject instead of sailfishos fails with permissions. | 15:18 |
poetaster | mal, sorry, found another way. | 15:18 |
mal | you can get those from here https://repo.sailfishos.org/obs/home:/mal:/apps/sailfishos_latest_aarch64/aarch64/ | 15:20 |
poetaster | mal, got em. the desktop launcher doesn't work but .... /usr/bin/sdl2_opengles2_test for instance does | 15:24 |
mal | poetaster: on which device? both? | 15:25 |
poetaster | /usr/bin/sdl2_opengles1_test does not (volla) 10ii coming up. | 15:26 |
mal | gles1 doesn't work at all or just not from launcher? | 15:27 |
poetaster | renders black. on the 10ii, just renders brown. | 15:28 |
mal | do you see on x10 ii the moving blue dot then you touch the screen, it should draw it to the place you touch | 15:29 |
poetaster | in the gles2 examples it works for both volla and x10 ii | 15:30 |
poetaster | sdl2 image works on x10 ii, not not volla (image renders, touch to move logo around). | 15:31 |
mal | poetaster: does it fail on volla even if you launch the program from terminal? | 15:31 |
poetaster | sdl mixer works on both. | 15:31 |
mal | any situation where you have a failure it's very important to know if it works when launched from terminal | 15:32 |
poetaster | on the volla sd2_image shows that input is working but it's not rendering the images | 15:32 |
poetaster | ttf tests works on the x10 ii but not on volla (cli or desktop) | 15:34 |
mal | anything in logcat? | 15:34 |
mal | or other logs | 15:34 |
mal | can you strace one of the failing tests? | 15:37 |
poetaster | /usr/bin/sdl2_gles2_procaddr_test seems identical on both devices (glClearColor(0.3f, 0.3f, 0.6f, 1.0f)) | 15:37 |
poetaster | yes. | 15:37 |
poetaster | volla, sdl2_image_test https://paste.opensuse.org/38752229 | 15:42 |
mal | can you get one from a working test like one of those gles2 tests you said was working | 15:45 |
poetaster | yo. | 15:45 |
poetaster | https://paste.opensuse.org/15374701 sdl2_opengles2_test which works correctly on both devices. | 15:47 |
mal | was there anything in dmesg or logcat when test failed? | 15:53 |
poetaster | logcat : | 15:56 |
poetaster | 11-17 15:50:44.957 1003 1003 W MTK_FG : fd < 0, init first! | 15:56 |
poetaster | 11-17 15:50:44.958 1003 1003 E MTK_FG : init failed, return! | 15:56 |
poetaster | sec, I'll do that properly. | 15:56 |
mal | make sure the same messges don't happen with a working test | 15:57 |
poetaster | I need a break. I'll get back to this and try to filter. logcat is so noisy. | 16:00 |
poetaster | \/system/bin/logcat *:E ? | 16:01 |
poetaster | 11-17 15:52:41.510 28270 28270 E mali : ==>[INIT] (sdl2_renderer_t) CDBG: In file: vendor/mediatek/proprietary/hardware/gpu_mali/mali_bifrost/r20p0-01rel0/product/cdbg/src/mali_cdbg_env.c line: 713 cdbgp_populate_from_system_environment | 16:04 |
poetaster | 11-17 15:52:41.510 28270 28270 E mali : Initialization of a handle to the system environment failed (3) | 16:04 |
poetaster | biab | 16:04 |
piggz | mal: can sfos run an fsck on / ? | 17:08 |
piggz | i mean, can it be scheduled to run from initrd | 17:12 |
piggz | seems like i could do it by remounting ro | 17:23 |
poetaster | piggz, doesn't fsck run periodically/ | 17:33 |
poetaster | piggz, does that mali init error suggest anything to you? | 17:34 |
piggz_ | poetaster: ping | 19:56 |
poetaster | poing | 20:01 |
piggz_ | what problem do you have with the sdk tests? which phone? | 20:01 |
poetaster | on the volla/gs5/gs290 the /usr/bin/sdl2_ttf_test and /usr/bin/sdl2_image_test don't work | 20:19 |
poetaster | those 'do' work on the x 10ii | 20:21 |
piggz_ | poetaster: but, all those -do- work on my v22 | 20:30 |
piggz_ | which is gs5 right? | 20:30 |
poetaster | yeah v22. I may have mixed them. too many tests. I'll re run them on the gs5 tomorrow. | 20:35 |
poetaster | ah, compile delay ... sec .... | 20:38 |
poetaster | I did get a 3d platform test with proper physcis working on the GS5 so, who knows. | 20:39 |
poetaster | nope, don't work on gs5/gs290/volla | 20:42 |
poetaster | but sdl2_opengles2_test does. and as I said, gles2 works for some number of cases of works. | 20:42 |
poetaster | but this does ;) https://github.com/miskatonicstudio/molecules | 20:46 |
poetaster | piggz_, I'll build a couple of test builds with godot 3.5 for you and post them. probably next week. | 20:53 |
poetaster | maybe the android base on the gs5 just needs to be reflashed. | 20:54 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!