View Issue Details

IDProjectCategoryView StatusLast Update
0002450NoesisGUIC++ SDKpublic2022-10-31 11:56
Reporterjsantos Assigned Tojsantos  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.1.5 
Target Version3.1.6Fixed in Version3.1.6 
Summary0002450: Crashes on Pixel 6/7-family devices running Android 13
DescriptionOur customers using Google Pixel 6- and 7-family devices (e.g. Pixel 6, 6a, 6 Pro, etc.) are experiencing game crashes related to Noesis specifically when running Android OS version 13. These crashes did not appear to occur on Android 12, but if a Pixel 6 user upgrades to Android 13, they see the crashes, and Pixel 7 devices come with Android 13 out-of-the-box, and they are also experiencing crashes. The crashes occur 100% of the time with these devices on Android 13.
TagsNo tags attached.
PlatformAny

Activities

jsantos

jsantos

2022-10-31 11:55

manager   ~0008108

We detected this issue on Mali driver v1.r36, so, potentially more devices could be affected.
jsantos

jsantos

2022-10-31 11:56

manager   ~0008109

Last edited: 2022-10-31 11:56

Fixed in r11677 with the following patch:

Index: GLRenderDevice.cpp
===================================================================
--- GLRenderDevice.cpp	(revision 11676)
+++ GLRenderDevice.cpp	(working copy)
@@ -1654,6 +1654,12 @@
     NS_ASSERT(glCheckFramebufferStatus(GL_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE);
     GL_OBJECT_LABEL(GL_FRAMEBUFFER, fbo, "Noesis_%s_FBO", label);
 
+    // Clear surface to always start with #0000 color
+    // This is also needed to avoid crashes on Google Pixel 6 & 7 devices (0002450)
+    V(glDisable(GL_SCISSOR_TEST));
+    V(glClearColor(0.0f, 0.0f, 0.0f, 0.0f));
+    V(glClear(GL_COLOR_BUFFER_BIT));
+
     // Resolve framebuffer
     if (colorAA != 0)
     {


Issue History

Date Modified Username Field Change
2022-10-31 11:39 jsantos New Issue
2022-10-31 11:39 jsantos Assigned To => jsantos
2022-10-31 11:39 jsantos Status new => assigned
2022-10-31 11:39 jsantos Target Version => 3.1.6
2022-10-31 11:55 jsantos Note Added: 0008108
2022-10-31 11:56 jsantos Status assigned => resolved
2022-10-31 11:56 jsantos Resolution open => fixed
2022-10-31 11:56 jsantos Note Added: 0008109
2022-10-31 11:56 jsantos Fixed in Version => 3.1.6
2022-10-31 11:56 jsantos Note Edited: 0008109