Hi, this is a follow up to the S4 question I posted a while ago, but got no answers.
I managed to create an isolated reproducible case that demonstrates the problem.
If you run the attached APK on a Galaxy S4 with Android 4.2.2, you will see the following in the android log:
W/Adreno200-GSL(16593): <gsl_ldd_control:357>: ioctl fd 58 code 0xc0140910 (IOCTL_KGSL_RINGBUFFER_ISSUEIBCMDS) failed: errno 71 Protocol error
E/Adreno200-GSL(16593): <log_gpu_snapshot:293>: panel.gpuSnapshotPath is not set.not generating user snapshot
W/Adreno200-GSL(16593): <gsl_ldd_control:357>: ioctl fd 58 code 0xc0140910 (IOCTL_KGSL_RINGBUFFER_ISSUEIBCMDS) failed: errno 71 Protocol error
E/Adreno200-GSL(16593): <log_gpu_snapshot:293>: panel.gpuSnapshotPath is not set.not generating user snapshot
It can take some time to start appearing (generally within 2-5 minutes). At some point after that, it may crash with a resource deadlock error, although this is less common in this isolated test case than I see in our real app.
We are seeing this issue on all Adreno 320 devices we have tested with (S4, Nexus4, Xperia Z) but no problems on any other device.
Are you able to debug the driver with the provided APK and let us know how to work around this?
I am also able to provide the full source code for this demo if it would be useful to track down the bug.
Thanks
PS: The attached file is an APK, but the attachment would only accept .txt extensions.
The error 71 is an error indicating that the GPU has hung, but has been recovered. It shouldn't be a fatal error.
We've tried the apk on a Nexus 4 (4.2.2 with build JDQ39, kernel version dated 1/29/2013), but it didn't seem to crash. We let it run for several hours.
Unfortunately we don't have a S4 or Xperia Z