This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Very slow shader compilation (Galaxy S3 mini)

Hi!

I have a game in Google Play and I'm having problems with (at least) one of the devices, the Galaxy S3 mini with a Mali-400MP.

There's a shader which takes 20 to 30 seconds to be compiled, leading to users thinking that the device just crashed. The shader is this

#ifdef GL_ES precision highp float; precision mediump int; #endif uniform - Pastebin.com  (nothing specially complex, I think)

and the issue with more information is here:

Weird freeze compiling shader on Galaxy S3 Mini · Issue #2496 · mono/MonoGame · GitHub

Any ideas?

Thanks!

p.s. Can I use Mali graphics debugger with 4.1.2? Instructions to install only refer to 4.2+

Parents
  • Hi Katcat,

    MGD should work with that version, give it a try and let us know if you have any issues, we tend to say 4.2+ because that's what we test on the most.

    Thanks for the report, not the first we've had recently so good to get another reproducer . It's not clear from the github issue if you're recompiling this each time you draw with it?

    Can you let me know the output of the command adb pull /system/lib/libMali.so && strings libMali.so | grep VARIANT && md5sum libMali.so ? This will let me know the driver version on the device and help me solve this. Also can I ask for the build ID of Android on your phone? For example I'm testing with I8190XXANC2.

    Thanks,

    Chris

Reply
  • Hi Katcat,

    MGD should work with that version, give it a try and let us know if you have any issues, we tend to say 4.2+ because that's what we test on the most.

    Thanks for the report, not the first we've had recently so good to get another reproducer . It's not clear from the github issue if you're recompiling this each time you draw with it?

    Can you let me know the output of the command adb pull /system/lib/libMali.so && strings libMali.so | grep VARIANT && md5sum libMali.so ? This will let me know the driver version on the device and help me solve this. Also can I ask for the build ID of Android on your phone? For example I'm testing with I8190XXANC2.

    Thanks,

    Chris

Children